OSDN Git Service

Fix TextureView OpenGL sample
authorRomain Guy <romainguy@google.com>
Thu, 17 May 2012 03:01:17 +0000 (20:01 -0700)
committerRomain Guy <romainguy@google.com>
Thu, 17 May 2012 03:01:17 +0000 (20:01 -0700)
commit4c43f66d06fe7f75ad6f9c860cf0936b8ee36082
treef69a76ff3c0686431b43c0d2600593a00ef59828
parentc1c140657633cc5b0ff26da1f122fab305d21e01
Fix TextureView OpenGL sample

The sample was doing something dumb: instead of binding the texture unit
to the shader's sampler, it was binding the texture name. Oops.

Change-Id: I13450dacbbd2dad362a2573aebb95e8eb87b25f0
tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java