Is NinePatchDrawable+setColorFilter HW Accelerated in Honeycomb?

这一生的挚爱 提交于 2019-12-24 18:20:04

问题


I'm building compound controls (UI controls that consist of multiple standard UI controls) and I need HW acceleration (Honeycomb only app).

The typical control will look like this:

ViewGroup (some layout subclass) with a NinePatchDrawable background + setColorFilter on the background drawable.

Inside that, one or more Views with a NinePatchDrawable background + setColorFilter on the background drawable.

I'll build up my UI from compound controls like this.

Will this hierarchy be hardware accelerated?

Thank you!


回答1:


Yes this is supported by the hw accelerated pipeline.



来源:https://stackoverflow.com/questions/6108429/is-ninepatchdrawablesetcolorfilter-hw-accelerated-in-honeycomb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!