summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-06-15 07:49:05 -0700
committerAndroid Code Review <code-review@android.com>2010-06-15 07:49:05 -0700
commit77dcdc9cda8ce572cc8bfdb0490985fafbec6473 (patch)
treeeed4b8198891b9c3e8bc7f772d17453fa414bc27 /opengl
parent8942a31f133371fb165eefbcdd39c1974d5525b8 (diff)
parent8999515f66df3c856af4e51bb26da1cb799b14f4 (diff)
downloadframeworks_base-77dcdc9cda8ce572cc8bfdb0490985fafbec6473.zip
frameworks_base-77dcdc9cda8ce572cc8bfdb0490985fafbec6473.tar.gz
frameworks_base-77dcdc9cda8ce572cc8bfdb0490985fafbec6473.tar.bz2
Merge "Use stride for source and target buffers when copybit is enabled."
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libagl/egl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp
index 81864bd..9d6de72 100644
--- a/opengl/libagl/egl.cpp
+++ b/opengl/libagl/egl.cpp
@@ -485,13 +485,13 @@ void egl_window_surface_v2_t::copyBlt(
copybit_device_t* const copybit = blitengine;
if (copybit) {
copybit_image_t simg;
- simg.w = src->width;
+ simg.w = src->stride;
simg.h = src->height;
simg.format = src->format;
simg.handle = const_cast<native_handle_t*>(src->handle);
copybit_image_t dimg;
- dimg.w = dst->width;
+ dimg.w = dst->stride;
dimg.h = dst->height;
dimg.format = dst->format;
dimg.handle = const_cast<native_handle_t*>(dst->handle);