Skip to content

liuwons/HwTextureView

Repository files navigation

HwTextureView

Android TextureView with hardware acceleration

Usage

implementation("io.github.liuwons:hwtextureview:1.0.2")

Get Canvas by HwTextureView.lockCanvas() and draw !

Performance Test

TextureView HwTextureView
frame render time 10ms 1ms
CPU 13ms 8ms

Test project: TextureViewPlayground

Render content: 30 stroked path

texture_view_benchmark

About

Android TextureView with hardware acceleration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages