summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-07-29 23:28:03 -0700
committerMathias Agopian <mathias@google.com>2010-07-29 23:28:03 -0700
commitbd2de0e42adc3fad30d86ed2c8d0488bc9501f36 (patch)
tree3e8d90e3aa44cbf12d8f1ac39bac703ed4487990 /opengl/libagl/TextureObjectManager.cpp
parent55a76dd8d9996c1e93762d7611789aea696d536c (diff)
remove copybit hack from software opengl (libagl)
h/w acceleration is not supported through software gl + copybit anylonger, instead, h/w opengl must be used. in the system compositor, a new h/w composition api will be introduced to allow h/w accelerated composition with overlays and/or 2D blocks. Change-Id: I04949cb074ba8c4d637319ace23497c16a58d5bf
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
-rw-r--r--opengl/libagl/TextureObjectManager.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/opengl/libagl/TextureObjectManager.cpp b/opengl/libagl/TextureObjectManager.cpp
index 255ccac3565b..bbb82fc48a9c 100644
--- a/opengl/libagl/TextureObjectManager.cpp
+++ b/opengl/libagl/TextureObjectManager.cpp
@@ -55,9 +55,6 @@ void EGLTextureObject::init()
memset(crop_rect, 0, sizeof(crop_rect));
generate_mipmap = GL_FALSE;
direct = GL_FALSE;
-#ifdef LIBAGL_USE_GRALLOC_COPYBITS
- try_copybit = false;
-#endif // LIBAGL_USE_GRALLOC_COPYBITS
buffer = 0;
}