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:
b6e1fa0
)
hwc: set gscaler output to BGR32
author
Greg Hackmann
<ghackmann@google.com>
Tue, 31 Jul 2012 22:20:00 +0000
(15:20 -0700)
committer
Greg Hackmann
<ghackmann@google.com>
Tue, 31 Jul 2012 22:34:12 +0000
(15:34 -0700)
Fixes swapped R/B colors on display
Change-Id: I030a653325ac1045efb13b07bb330a024317e994
Signed-off-by: Greg Hackmann <ghackmann@google.com>
libhwc/hwc.cpp
patch
|
blob
|
blame
|
history
diff --git
a/libhwc/hwc.cpp
b/libhwc/hwc.cpp
index f7db5817862c49da1f80a23b0853df45d4b494f8..263bc852dabe00fe8516105ad8ae0392bc021b14 100644
(file)
--- a/
libhwc/hwc.cpp
+++ b/
libhwc/hwc.cpp
@@
-668,7
+668,7
@@
static int exynos5_config_gsc_m2m(hwc_layer_1_t &layer,
dst_cfg.y = 0;
dst_cfg.w = WIDTH(layer.displayFrame);
dst_cfg.h = HEIGHT(layer.displayFrame);
- dst_cfg.format = HAL_PIXEL_FORMAT_
RGBX
_8888;
+ dst_cfg.format = HAL_PIXEL_FORMAT_
BGRA
_8888;
dst_cfg.rot = layer.transform;
ALOGV("source configuration:");