mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
exynos4: hwc: ignore alpha on window 0
Change-Id: I9bbeb8b2ec06f08b070a8eda02c0322ede1c62f7
This commit is contained in:
parent
08f414bb62
commit
e86377015e
1 changed files with 5 additions and 0 deletions
|
@ -1047,6 +1047,11 @@ static int post_fimd(hwc_context_t *ctx, hwc_display_contents_1_t* contents)
|
|||
config[window].blending = S3C_FB_BLENDING_NONE;
|
||||
}
|
||||
|
||||
if (window == 0 && config[window].plane_alpha != 255) {
|
||||
ALOGV("alpha not supported on window 0; forcing 255");
|
||||
config[window].plane_alpha = 255;
|
||||
}
|
||||
|
||||
hwc_rect_t crop = integerizeSourceCrop(layer.sourceCropf);
|
||||
if ( (WIDTH(crop) <= 15) ||
|
||||
(HEIGHT(crop) <= 7) ||
|
||||
|
|
Loading…
Reference in a new issue