~/talk

Introduction to Hardware Acceleration (en)

Talkat Droidcon Paris 2015 · 2015-11-09..11-10· [web-performance, android]
links:none on file
slides:none on file

Hardware acceleration lands in Android at API 11 and becomes default when targeting API 14 and up, replacing CPU bitmap drawing with opengl display list operations so the GPU renders recorded ops. Property animations like alpha avoid redrawing child views, but several canvas calls are simply ignored as unsupported canvas ops and produce graphical artifacts. Use setLayerType(LAYER_TYPE_HARDWARE) to upload a view as a GPU texture during animation then revert to save memory, because switching layer types and uploading bitmaps costs time. A planned demo fails. Slides linked above.

AI-written summary · about

  1. 0:00Start
  2. 7:17Display list
  3. 9:25What is supported?
  4. 13:06Check for Hardware acceleration
  5. 16:52Setting the LayerType
  6. 18:03LAYER TYPE SOFTWARE
  7. 21:02Bibliographic
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.