Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

4.2模拟器上运行时loading显示不全 #5

Closed
bailandi opened this issue Nov 6, 2019 · 3 comments
Closed

4.2模拟器上运行时loading显示不全 #5

bailandi opened this issue Nov 6, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@bailandi
Copy link

bailandi commented Nov 6, 2019

TIM图片20191106135935
如图 在AVD创建的4.2版本(x86)模拟器上运行时,loading的圆圈显示异常(感觉就像中间有一小块截面覆盖在上面一样),尝试在初始化时关闭硬件加速无效

@FlodCoding
Copy link
Owner

TIM图片20191106135935
如图 在AVD创建的4.2版本(x86)模拟器上运行时,loading的圆圈显示异常(感觉就像中间有一小块截面覆盖在上面一样),尝试在初始化时关闭硬件加速无效

看样子可能是硬件加速产生的问题,晚上回去再看看吧

@FlodCoding FlodCoding added the bug Something isn't working label Nov 6, 2019
@FlodCoding
Copy link
Owner

TIM图片20191106135935
如图 在AVD创建的4.2版本(x86)模拟器上运行时,loading的圆圈显示异常(感觉就像中间有一小块截面覆盖在上面一样),尝试在初始化时关闭硬件加速无效

感谢指出,问题已修复
615cc22#diff-d1c8df0988fa220cf4033ee4380a58a1L733

查阅了下文档
LAYER_TYPE_HARDWARE: The view is rendered in hardware into a hardware texture if the application is hardware accelerated. If the application is not hardware accelerated, this layer type behaves the same as LAYER_TYPE_SOFTWARE. LAYER_TYPE_SOFTWARE: The view is rendered in software into a bitma
关联文档

1、当关闭硬件加速后效果与LAYER_TYPE_SOFTWARE相同,但是使用LAYER_TYPE_SOFTWARE却正常显示
2、高于5.0的模拟器也显示正常

有可能是4.2以下的模拟器硬件加速有问题

@bailandi
Copy link
Author

bailandi commented Nov 7, 2019

؏؏☝ᖗ乛◡乛ᖘ☝؏؏完美

@bailandi bailandi closed this as completed Nov 7, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants