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:
3c006f8
)
Revert "Double the memory in any blob allocations"
author
Rebecca Schultz Zavin
<rebecca@android.com>
Thu, 27 Sep 2012 23:45:04 +0000
(16:45 -0700)
committer
Rebecca Schultz Zavin
<rebecca@android.com>
Thu, 27 Sep 2012 23:45:04 +0000
(16:45 -0700)
This reverts commit
53efd24f292043771988c4715225a2bca32ad2a8
.
gralloc/gralloc.cpp
patch
|
blob
|
blame
|
history
diff --git
a/gralloc/gralloc.cpp
b/gralloc/gralloc.cpp
index 59c375939e3adeaa595b3cae86db558de9790219..a50fe27d94b7911acf86e757d8843b46e9a72c99 100644
(file)
--- a/
gralloc/gralloc.cpp
+++ b/
gralloc/gralloc.cpp
@@
-152,7
+152,7
@@
static int gralloc_alloc_rgb(int ionfd, int w, int h, int format, int usage,
case HAL_PIXEL_FORMAT_BLOB:
*stride = w;
vstride = h;
- size = w * h
* 2
;
+ size = w * h;
break;
default:
return -EINVAL;