OSDN Git Service

SurfaceTexture: add getTransformMatrix tests.
authorJamie Gennis <jgennis@google.com>
Tue, 7 Jun 2011 22:23:23 +0000 (15:23 -0700)
committerJamie Gennis <jgennis@google.com>
Mon, 13 Jun 2011 17:50:13 +0000 (10:50 -0700)
commit52226048095c2eb27ede0c3389626df270a0abff
treed6c0a5338907941ffaf401957ff99c87937019c8
parent736aa9573bb7b78f9c315f396c104491b3639426
SurfaceTexture: add getTransformMatrix tests.

This change adds a test verifying that with no transform set on the
SurfaceTextureClient, the SurfaceTexture will return an identity
transform matrix.  It also verifies this same effect in the presence of
an additional call to native_window_set_buffer_count just before the
call to getTransformMatrix.

Bug: 4490420
Change-Id: Ic5adfa29b5696cc2b451433834e3758ef20c5edd
libs/gui/tests/SurfaceTextureClient_test.cpp