- Initialize transform matrix with an identity matrix.
- Use matrix when mode map is empty.
- Do not reapply mode if it is the same as before.
- Do not reapply hint if it is the same as before.
Bug: 68721781
Change-Id: Iac6d76ceded65b8527abf0b0f26ffc76479e5db9
* Disable skip validation for solid fill during calibration.
* Require validation when the client changes the composition type
Bug: 77925367
CRs-Fixed: 2122072
Change-Id: I9ded200e5c15701f653c73d67c18c41de8278d52
Publicly visible headers of the lib uses other headers from liblog and
libhardware. Therefore, explicitly export the required headers so that
the client that is using this library doesn't need to add additional
dependency.
Bug: 69526027
Test: mma -j under libgralloc1
Change-Id: I532bc43e0d8ff428008709d95983ec98342017d8
When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.
Test: build libqservice with BOARD_VNDK_VERSION=current
Bug: 69526027
Change-Id: Id98bf5e2ecc6f514f1d4dd9580d25027f36e0d86
When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.
Test: build memtrack with BOARD_VNDK_VERSION=current
Bug: 69526027
Change-Id: Ie3cb9ffb72931fbb0cc816f5158a649e09f7bb43
When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.
Test: build light with BOARD_VNDK_VERSION=current
Bug: 69526027
Change-Id: I8ad1da8aa2802a93493c877644266995c59f18ab
Align the per layer buffer size instead of the total size.
Bug: 62299647
Test: Ran multiview test on Pixel XL, verified no visual artifacts
Change-Id: I114fe6b9e0b40ce6cf92fcb32559ed01b94527e4
* Separate buffer lock and descriptor lock
* Add lock for allocation as we touch the handles_map
Change-Id: I2baf7a65f55b04f1bbbfbf78a19c0e288040fab7
Bug: 64340340
* Require validate on power transitions
* Reset retire fence after programming the client with it.
Bug: 37474580
Bug: 62897896
Test: manual
Change-Id: I8fa48cc872edf92811b9d3f56e4787f485c42c10
1. SF skips ValidateDisplay call, when the layer geometry attributes
have not changed for any of the layer, as compared to last frame.
2. In case of Surface Damage update on a layer, SDM needs a Validate
call to program SDE driver for Partial Update feature.
3. SDM needs Validate call to enter in safe Mode for use cases like
Idle/Thermal fallback, HDMI and Virtual Connect/Disconnet, etc.
4. Set HWC2_CAPABILITY_SKIP_VALIDATE cap in GetCapabilities api.
b/37474580
b/62806392
Test: marlin, ryu
Change-Id: I68f0db3af16afa4ad4eb789cd1f6b12caf6381e4
Acked-by: Sushil Chauhan <sushilchauhan@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>
Avoid setting the geometry changed flag when the dataspace is the
same.
Bug: 38396128
Test: Manually checked systraces on Pixel
Change-Id: I80561ddf43356514616d1132a293b43a6138541d