11. Creating Advanced Graphics
The Android view framework is convenient for creating complex layouts. However, this convenience comes at the cost of performance. When performance is critical, Android provides several more-robust graphics capabilities with increasing levels of difficulty. In this chapter, you will learn that the
TextureView classes use the standard
Canvas object combined with a separate rendering thread to achieve better performance than standard views; that the new RenderScript framework can be used to create architecture-independent graphics rendering; and that OpenGL is available for serious graphics work and games.
The easiest way to increase drawing performance is by moving your performance-critical ...