summaryrefslogtreecommitdiff
path: root/opengl
diff options
context:
space:
mode:
authorPeter Kalauskas <peskal@google.com>2020-01-31 16:50:42 -0800
committerPeter Kalauskas <peskal@google.com>2020-02-24 21:01:03 +0000
commitfe0a413a609cda28740ab58e38d612206bd3dec9 (patch)
tree1a1748b95467cfae5f39a7255facb471e02b3b4b /opengl
parent27f83cdbcefd687632811996e25ece99f7e1ac69 (diff)
Store original task width and height instead of scale
Store the original task snapshot size instead of the scale from which the bitmap was saved. This simplifies the logic around restoring and saving from the proto, as both the reduced scale and full scale snapshots make use and share the same state. Also remove scale from TaskSnapshot, and remove and reducedScale from TaskSnapshot.Builder. Test: TaskSnapshotCacheTest Test: TaskSnapshotControllerTest Test: TaskSnapshotPersisterLoaderTest Test: TaskSnapshotSurfaceTest Bug: 148491788 Bug: 148617404 Bug: 142063079 Change-Id: I1dccaba87c3d8b95bf4156f41f9fd5d40019f675
Diffstat (limited to 'opengl')
0 files changed, 0 insertions, 0 deletions