OSDN Git Service

SurfaceTexture: enable RGB external textures
authorJamie Gennis <jgennis@google.com>
Wed, 20 Jul 2011 00:58:43 +0000 (17:58 -0700)
committerJamie Gennis <jgennis@google.com>
Fri, 22 Jul 2011 22:45:18 +0000 (15:45 -0700)
commit1f8e09f40d16ae377164d86e91385ad3d8e78e82
treed9cbe360f67b810cbebdcf8e4c31995892cf4fcc
parent1259e9d6ac474f3e9dec8569fb694c61eeeef4d3
SurfaceTexture: enable RGB external textures

This change removes support for conditionally using the GL_TEXTURE_2D
target for SurfaceTexture textures with RGB buffers.  It also enables
and fixes the RGB-based SurfaceTexture tests.

Change-Id: I9a251a981cf66af6b048b2e4c3fe7231e4774f4d
include/gui/SurfaceTexture.h
libs/gui/SurfaceTexture.cpp
libs/gui/tests/SurfaceTexture_test.cpp