In MirroringFrameLayout
, the canvas passed to draw
method is hardware accelerated but bmpBackedCanvas
is not hardware accelerated.
Also it keep on calling draw
method using preDrawListener, which forces redraw though nothing is changed on screen.
1.Is there any other way to invalidate the view when it changes instead of repeatedly posting invalidte() ?
2.Can bmpBackedCanvas
be created as hardware accelerated (Layer type hardware)?