summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-06-12 17:03:06 -0700
committerJamie Gennis <jgennis@google.com>2011-06-13 10:50:12 -0700
commit736aa9573bb7b78f9c315f396c104491b3639426 (patch)
tree28ce88f8fd3ebed9c62866a6c60a356f0c7daf7d /opengl/tests/gl_basic/gl_basic.cpp
parent9797ca463497d1e2d4de8680038c9cab98d15693 (diff)
SurfaceTexture: fix a getTransformMatrix crash.
This change moves the computation of the transform matrix out of getTransformMatrix and instead performs the computation when updateTexImage gets called. This is needed in order for getTransformMatrix to succeed even if the buffers have been freed (e.g. by changing the buffer count) because the computation depends upon the properties of the current GraphicBuffer. Change-Id: Ied541ab8747b7ad604f862717135f9a16a816be9 Bug: 4490420
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions