OSDN Git Service
(root)
/
android-x86
/
external-drm_hwcomposer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f81ba37
)
drm_hwcomposer: fix missing assignment of premult flag
author
Haixia Shi
<hshi@chromium.org>
Fri, 16 Oct 2015 17:48:15 +0000
(10:48 -0700)
committer
Haixia Shi
<hshi@chromium.org>
Fri, 16 Oct 2015 17:48:15 +0000
(10:48 -0700)
This was somehow dropped due to the recent squash ground work CL.
BUG=
24791071
TEST=verify bug is fixed
Change-Id: If5f2b61104d47a2d70d3c3b34149c1d62ec82659
glworker.cpp
patch
|
blob
|
history
diff --git
a/glworker.cpp
b/glworker.cpp
index
7ea2a34
..
f72c0e1
100644
(file)
--- a/
glworker.cpp
+++ b/
glworker.cpp
@@
-406,6
+406,7
@@
static void ConstructCommand(const DrmHwcLayer *layers,
}
src.alpha = layer.alpha / 255.0f;
+ src.premult = (layer.blending == DrmHwcBlending::kPreMult) ? 1.0f : 0.0f;
}
}