OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abe6ed4
)
Use stride for source and target buffers when copybit is enabled.
author
Mathias Palmqvist
<mathias.palmqvist@sonyericsson.com>
Wed, 2 Jun 2010 14:03:04 +0000
(16:03 +0200)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 5 Aug 2011 08:05:33 +0000
(16:05 +0800)
Change-Id: Ie651013b3522f8e004685d74190da86433086307
opengl/libagl/egl.cpp
patch
|
blob
|
history
diff --git
a/opengl/libagl/egl.cpp
b/opengl/libagl/egl.cpp
index
662a1fa
..
5c09dcc
100644
(file)
--- a/
opengl/libagl/egl.cpp
+++ b/
opengl/libagl/egl.cpp
@@
-480,13
+480,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);