summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-11-02 17:48:33 -0800
committerMathias Agopian <mathias@google.com>2009-11-02 17:48:33 -0800
commit36d0184e089831b74de6005f01da9e7b26679bb9 (patch)
tree8a6cb7b2f9e5c53db29bc818a403b26add0c66fe /include/private
parent989b76aadd92538c7ab4ca00c34508b42fda8cef (diff)
downloadframeworks_base-36d0184e089831b74de6005f01da9e7b26679bb9.zip
frameworks_base-36d0184e089831b74de6005f01da9e7b26679bb9.tar.gz
frameworks_base-36d0184e089831b74de6005f01da9e7b26679bb9.tar.bz2
fix[2228133] pixelflinger ignores the "vertical stride" leading to artifacts when playing back video
we lost the concept of vertical stride when moving video playback to EGLImage. Here we bring it back in a somewhat hacky-way that will work only for the softgl/mdp backend.
Diffstat (limited to 'include/private')
-rw-r--r--include/private/opengles/gl_context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/private/opengles/gl_context.h b/include/private/opengles/gl_context.h
index 67c2dd8..26cde38 100644
--- a/include/private/opengles/gl_context.h
+++ b/include/private/opengles/gl_context.h
@@ -32,6 +32,8 @@
#include <GLES/gl.h>
#include <GLES/glext.h>
+struct android_native_buffer_t;
+
namespace android {
const unsigned int OGLES_NUM_COMPRESSED_TEXTURE_FORMATS = 10;
@@ -602,7 +604,7 @@ struct copybits_context_t {
copybit_device_t* blitEngine;
int32_t minScale;
int32_t maxScale;
- buffer_handle_t drawSurfaceBuffer;
+ android_native_buffer_t* drawSurfaceBuffer;
};
struct ogles_context_t {