Which APIs are supported when hardware acceleration is enabled on Honeycomb?

后端 未结 1 543
渐次进展
渐次进展 2021-02-11 04:37

The Honeycomb docs are vague:

When the hardware-accelerated renderer is enabled, most operations in Canvas, Paint, Xfermode, ColorFilter, Shader, a

相关标签:
1条回答
  • 2021-02-11 05:09

    I'm working on getting a complete list published. The features not supported are:

    • clipPath
    • clipRegion
    • clipRect with XOR or Difference op
    • drawPicture
    • drawPoints
    • drawPosText
    • drawTextOnPath
    • drawTextPos
    • drawVertices
    • setMaskFilter
    • setRasterizer

    Edit: Read this article to know everything there is to know about hardware acceleration in Android 3.0.

    However, what you are describing should work just fine. All gradients are supported, as well as all blending modes. Please report bugs with reproducible test cases for any issue you encounter and I'll get them fixed.

    0 讨论(0)
提交回复
热议问题