The native handle was not freed which causes some devices to
run out of memory when executing the test. This change
creates a RAII wrapper around native_handle_t, which
automatically deallocates buffers when they go out of scope.
Bug: 188686850
Test: atest VtsHalGraphicsComposerV2_4TargetTest
Change-Id: I19a22a5a3202e048de77926ce4a116a31d9de906
Revert "Revert "Update WaylandRenderSurface to accomodate interf..."
Revert "Revert "Add ExternalTexture class into RenderEngine inte..."
Revert submission 14199598-revert-14086921-renderengine-external-tex-QJNBWQMQEU
Reason for revert: Prepare for relanding
Reverted Changes:
I01e65a7f4:Revert "Update WaylandRenderSurface to accomodate ...
I7d58118c1:Revert "Update Readback VTS to align with RenderEn...
I1501890f4:Revert "Add ExternalTexture class into RenderEngin...
Change-Id: Ic2ee9311d22658ac77c8a94f6070324cf07b601b
Revert "Update WaylandRenderSurface to accomodate interface change"
Revert "Add ExternalTexture class into RenderEngine interface"
Revert submission 14086921-renderengine-external-tex
Reason for revert: Potential culprit for b/185361988
Reverted Changes:
I7796764e2:Update WaylandRenderSurface to accomodate interfac...
I13904eec4:Update Readback VTS to align with RenderEngine int...
I222c71e6e:Add ExternalTexture class into RenderEngine interf...
Change-Id: I7d58118c1c2284a04eb52e992e901d82faaf5bb0
RenderEngine no longer directly takes in GraphicBuffer objects. Instead,
it takes in ExternalTexture types that manage resources associated with
a GraphicBuffer.
Bug: 180767535
Test: builds
Change-Id: I13904eec491fce223b6178fa5571589b67402865
The test's buffer is read by the GPU and therefore needs to be allocatted with
BufferUsage::GPU_TEXTURE
Fixes: 182935868
Change-Id: I7795e6a32acdf3ecf76003bd12715fcaf73a4e71
Test: VtsHalGraphicsComposerV2_2TargetTest
Fixing client composition behavior to match SF - dataspace of client
composition is determined by the color mode of the display
Bug: 135045017
Test: build, boot, VtsHalGraphicsComposerV2_2TargetTest
Change-Id: I88371d173501875b59bf40092943cebff3d22b06
Readback will be used in RenderEngine testing. Clean up test files and
extract common classes
Bug: 133411821
Test: build, boot, VtsHalGraphicsComposerV2_2TargetTest
Change-Id: I45b4666348ae0137dd2a7825b5cfd627a1e1aa58