Skip to content
Commit f4795f51 authored by Derek Sollenberger's avatar Derek Sollenberger
Browse files

Use kTopLeft_GrSurfaceOrigin when generating a GPU buffer for CPU readback.

When attempting to read back a buffer from the GPU, Skia will perform a
y-flip of the buffer in CPU memory if the buffer does not have a
top-left origin.

Test: CtsUiRenderingTestCases
Bug: 119366261
Change-Id: I93ec93cc31209cbdd9b886b0d1020fda3aac646e
parent 260d75ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment