微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > 浏览器缓慢移动tab会出现白线

浏览器缓慢移动tab会出现白线

时间:10-02 整理:3721RD 点击:
[DESCRIPTION]

1.browser->add some tabs->then enter tabs interface
2.slide one tab->there occurs one flashing strip

[SOLUTION]

请做如下修改
File Path:
alps/php?mod=tag&id=6090" target="_blank" class="relatedlink">Frameworks/base/libs/hwui/OpenGLRenderer.cpp
Functhon:
bool OpenGLRenderer::createFboLayer(Layer* layer, Rect& bounds, Rect& CLIp
Orignal Code:
===================================================
if (CC_LIKELY(g_HWUI_debug_enhancement)) {
/// M: [ALPS01846243] Don't expand the clear region by 1 due to fragment shader
precision issue,
/// current gFS_Header is using precision mediump not highp, it leADS to the alpha
blending artifacts
mCaches.setScissor(clip.left, bounds.getHeight() - clip.bottom,
clip.getWidth(), clip.getHeight());
} else {
mCaches.setScissor(clip.left - 1.0f, bounds.getHeight() - clip.bottom - 1.0f,
clip.getWidth() + 2.0f, clip.getHeight() + 2.0f);
}
===================================
Target Code:
======================================
mCaches.setScissor(clip.left - 1.0f, bounds.getHeight() - clip.bottom - 1.0f,
clip.getWidth() + 2.0f, clip.getHeight() + 2.0f);
=======================================

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top