projects
/
GitHub
/
LineageOS
/
android_hardware_samsung_slsi_exynos5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a947b
)
Use 64B alignment for RGB buffers
author
Bartosz Szatkowski
<barsza01@arm.com>
Tue, 19 Feb 2013 12:49:30 +0000
(12:49 +0000)
committer
Erik Gilling
<konkers@android.com>
Tue, 26 Feb 2013 20:43:25 +0000
(12:43 -0800)
Change-Id: Ia36c1638abfae19d988b026f193e6cd281db040f
gralloc/gralloc.cpp
patch
|
blob
|
blame
|
history
diff --git
a/gralloc/gralloc.cpp
b/gralloc/gralloc.cpp
index 83a240708b33ba1ff8bd2b9d1d44068952195a18..2c12bdadcf3738e4951afc2a499f5459dd932444 100644
(file)
--- a/
gralloc/gralloc.cpp
+++ b/
gralloc/gralloc.cpp
@@
-163,7
+163,7
@@
static int gralloc_alloc_rgb(int ionfd, int w, int h, int format, int usage,
}
if (format != HAL_PIXEL_FORMAT_BLOB) {
- bpr = ALIGN(w*bpp,
16
);
+ bpr = ALIGN(w*bpp,
64
);
vstride = ALIGN(h, 16);
if (vstride < h + 2)
size = bpr * (h + 2);