diff options
author | Mathias Agopian <mathias@google.com> | 2010-07-29 23:28:03 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-07-29 23:28:03 -0700 |
commit | bd2de0e42adc3fad30d86ed2c8d0488bc9501f36 (patch) | |
tree | 3e8d90e3aa44cbf12d8f1ac39bac703ed4487990 /opengl/libagl/array.cpp | |
parent | 55a76dd8d9996c1e93762d7611789aea696d536c (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/array.cpp')
-rw-r--r-- | opengl/libagl/array.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/opengl/libagl/array.cpp b/opengl/libagl/array.cpp index 71825c502a03..4997dc8d5028 100644 --- a/opengl/libagl/array.cpp +++ b/opengl/libagl/array.cpp @@ -26,9 +26,6 @@ #include "primitives.h" #include "texture.h" #include "BufferObjectManager.h" -#ifdef LIBAGL_USE_GRALLOC_COPYBITS -#include "copybit.h" -#endif // LIBAGL_USE_GRALLOC_COPYBITS // ---------------------------------------------------------------------------- @@ -707,12 +704,6 @@ void drawPrimitivesTriangleStrip(ogles_context_t* c, void drawPrimitivesTriangleFan(ogles_context_t* c, GLint first, GLsizei count) { -#ifdef LIBAGL_USE_GRALLOC_COPYBITS - if (drawTriangleFanWithCopybit(c, first, count)) { - return; - } -#endif // LIBAGL_USE_GRALLOC_COPYBITS - drawPrimitivesTriangleFanOrStrip(c, first, count, 2); } |