mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-10-31 23:37:35 +00:00
exynos4: hwc: disable FIMG for now
adds significant amounts of touch latency, and also causes the LCD to die :( Change-Id: Ie777d249d02def3863049528ab8437dcacc3faa1
This commit is contained in:
parent
60d6c48cca
commit
dfa35134f6
1 changed files with 4 additions and 4 deletions
|
@ -208,13 +208,13 @@ static enum gsc_map_t::mode layer_requires_process(hwc_layer_1_t &layer)
|
||||||
|
|
||||||
switch(mode) {
|
switch(mode) {
|
||||||
case gsc_map_t::NONE:
|
case gsc_map_t::NONE:
|
||||||
if (!is_scaled(layer) && is_transformed(layer) && is_contiguous(layer)) { // TODO: can FIMC handle non-x aligned buffers?
|
// FIMG adds noticable touch latency and also seems to break the panel.
|
||||||
mode = gsc_map_t::FIMC;
|
// Disable it for now
|
||||||
} else if (is_scaled(layer) || is_transformed(layer) || !is_x_aligned(layer) || !is_contiguous(layer)) {
|
/*if (is_scaled(layer) || is_transformed(layer) || !is_x_aligned(layer) || !is_contiguous(layer)) {
|
||||||
ALOGV("%s: direct render -> fimg because is_scaled(%d) is_transformed(%d) is_x_aligned(%d)",
|
ALOGV("%s: direct render -> fimg because is_scaled(%d) is_transformed(%d) is_x_aligned(%d)",
|
||||||
__FUNCTION__, is_scaled(layer), is_transformed(layer), is_x_aligned(layer));
|
__FUNCTION__, is_scaled(layer), is_transformed(layer), is_x_aligned(layer));
|
||||||
mode = gsc_map_t::FIMG;
|
mode = gsc_map_t::FIMG;
|
||||||
}
|
}*/
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gsc_map_t::FIMC:
|
case gsc_map_t::FIMC:
|
||||||
|
|
Loading…
Reference in a new issue