summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-11-03 09:47:31 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2009-11-03 09:47:31 -0800
commitd1d744cdf4b08c8ef969790bae305c82ae783f4e (patch)
tree762ea10c48d0b35074c79b2074f5f916e47a2577 /include
parentc4bbb9144d1955340d69548e7245417cbe862d3c (diff)
parent07d38c66692b7d87415667010c0658202b5a7f39 (diff)
downloadframeworks_base-d1d744cdf4b08c8ef969790bae305c82ae783f4e.zip
frameworks_base-d1d744cdf4b08c8ef969790bae305c82ae783f4e.tar.gz
frameworks_base-d1d744cdf4b08c8ef969790bae305c82ae783f4e.tar.bz2
am 07d38c66: am 8637759a: Merge change I36d0184e into eclair
Merge commit '07d38c66692b7d87415667010c0658202b5a7f39' into eclair-mr2-plus-aosp * commit '07d38c66692b7d87415667010c0658202b5a7f39': fix[2228133] pixelflinger ignores the "vertical stride" leading to artifacts when playing back video
Diffstat (limited to 'include')
-rw-r--r--include/private/opengles/gl_context.h4
-rw-r--r--include/ui/GraphicBuffer.h2
2 files changed, 5 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 {
diff --git a/include/ui/GraphicBuffer.h b/include/ui/GraphicBuffer.h
index 2172536..b9c491b 100644
--- a/include/ui/GraphicBuffer.h
+++ b/include/ui/GraphicBuffer.h
@@ -93,6 +93,8 @@ public:
void setIndex(int index);
int getIndex() const;
+ void setVerticalStride(uint32_t vstride);
+ uint32_t getVerticalStride() const;
protected:
GraphicBuffer(const Parcel& reply);