diff options
author | Mathias Agopian <mathias@google.com> | 2009-06-10 16:01:54 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-06-10 16:15:32 -0700 |
commit | 350d651706d8f484d9aeb539d491526f822fa84a (patch) | |
tree | 9018d81b9a591ff6fe71dec5f93c19018991c96b /include/private/opengles | |
parent | 07fcf4c3a91e421dc6f3d17f28264d18e8b2bfdb (diff) | |
download | frameworks_base-350d651706d8f484d9aeb539d491526f822fa84a.zip frameworks_base-350d651706d8f484d9aeb539d491526f822fa84a.tar.gz frameworks_base-350d651706d8f484d9aeb539d491526f822fa84a.tar.bz2 |
fix a bug where copybit only renders in the first buffer when used with s/w GL
Diffstat (limited to 'include/private/opengles')
-rw-r--r-- | include/private/opengles/gl_context.h | 5 |
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 { |