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
commit9416be414bf104fb07a532a8d6d9f71150eb6595 (patch)
tree4b7691fed7765e54039b89c9b6c88bbac12d8c77 /include/private
parentdac6a31a33ba53fb93850670cdddd1e6515dadce (diff)
downloadframeworks_av-9416be414bf104fb07a532a8d6d9f71150eb6595.zip
frameworks_av-9416be414bf104fb07a532a8d6d9f71150eb6595.tar.gz
frameworks_av-9416be414bf104fb07a532a8d6d9f71150eb6595.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 {