diff options
author | Ted Bonkenburg <tedbo@google.com> | 2011-08-09 22:38:41 -0700 |
---|---|---|
committer | Ted Bonkenburg <tedbo@google.com> | 2011-08-09 22:45:38 -0700 |
commit | e5d6eb81e29e0fb914ce8fdaae17190b0dbae1a1 (patch) | |
tree | d036e08aa4b571033ff4e85caa37e897a84e01e7 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | eb64d41bb4e74e317168ff2d2be6712c18de8b00 (diff) |
Read leftover parcel data when a parceled Surface is found in the cache.
This fixes an issue where the Surface readFromParcel code was leaving
unread parcel data in the case where the Surface was re-used from the
sCachedSurfaces cache. On a cache miss the code is creating a new
Surface from the remainder of the parcel data. On a hit that data was
being left unread, so anything that parcels a Surface followed by
additional arguments may end up reading the wrong values.
Change-Id: I25365159d945c125bd1fcc9f17e39a4f00aece55
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions