From 36d0184e089831b74de6005f01da9e7b26679bb9 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 2 Nov 2009 17:48:33 -0800 Subject: 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. --- include/private/opengles/gl_context.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/private') 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 #include +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 { -- cgit v1.1