summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-06-10 16:01:54 -0700
committerMathias Agopian <mathias@google.com>2009-06-10 16:15:32 -0700
commit2ff585f4bdcce8a8db81956c2fba1c12db7f8a9d (patch)
treec7f43c11593feb1bb9bd3c6b526fabad6d6cd00f /include/private
parent79021f4b514a3847263586df8702a98af3a1d0d1 (diff)
downloadframeworks_av-2ff585f4bdcce8a8db81956c2fba1c12db7f8a9d.zip
frameworks_av-2ff585f4bdcce8a8db81956c2fba1c12db7f8a9d.tar.gz
frameworks_av-2ff585f4bdcce8a8db81956c2fba1c12db7f8a9d.tar.bz2
fix a bug where copybit only renders in the first buffer when used with s/w GL
Diffstat (limited to 'include/private')
-rw-r--r--include/private/opengles/gl_context.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/private/opengles/gl_context.h b/include/private/opengles/gl_context.h
index 641961f..3b40677 100644
--- a/include/private/opengles/gl_context.h
+++ b/include/private/opengles/gl_context.h
@@ -27,6 +27,7 @@
#include <private/pixelflinger/ggl_context.h>
#include <hardware/copybit.h>
+#include <hardware/gralloc.h>
#include <GLES/gl.h>
#include <GLES/glext.h>
@@ -600,9 +601,7 @@ struct copybits_context_t {
copybit_device_t* blitEngine;
int32_t minScale;
int32_t maxScale;
- // File descriptor of current drawing surface, if it's suitable for use as
- // a copybits destination, else -1.
- int drawSurfaceFd;
+ buffer_handle_t drawSurfaceBuffer;
};
struct ogles_context_t {