commit | f4795f51f0ac4b965d432cc4a86cccd2a223eba8 | [log] [tgz] |
---|---|---|
author | Derek Sollenberger <djsollen@google.com> | Wed Feb 06 13:54:12 2019 -0500 |
committer | Derek Sollenberger <djsollen@google.com> | Wed Feb 06 13:54:12 2019 -0500 |
tree | 02a8c0ce96be5a91b4cc4c1cda22d9699b78183e | |
parent | 260d75ff714066d4b3f09bd46a3ba6d5f95e4ab6 [diff] |
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