标签:
Fast UI Draw in a library that provides a higher performance Canvas interface. It is designed so that it always draws using a GPU.
In contrast to many common implementations of Canvas drawing, Fast UI Draw has that changes in clipping are very cheap and optimized for GPU‘s. In addition, Fast UI Draw has, with the GL backend, very few pipeline states. Indeed an API trace of an application using Fast UI Draw will see only a handful of draw calls per frame, even under high Canvas state trashing, and high clip state changes. Indeed, for the GL backend, only one Canvas state change invokes a pipeline state change: changing the Porter-Duff blend mode.
In addition, Fast UI Draw gives an application the ability to make their own shaders for custom drawing.
https://github.com/01org/fastuidraw
标签:
原文地址:http://www.cnblogs.com/findumars/p/5943482.html