[PATCH 0/7] Option to start faster by doing a renderer switch

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Fri Oct 25 15:26:30 CEST 2013


Hi,

This series adds an option to the drm backend that causes it to
initialize using the pixman renderer and at a later point switch to
the GL one. This is useful during cold boot from slow storage. The
--fast-start can save hundreds of milliseconds on the first run on
some devices.

The first patch fixes a crash that happens regardless of the use of
this feature.



Ander Conselvan de Oliveira (7):
  pixman-renderer: Initialize pixman-renderer struct with zeros
  pixman-renderer, gl-renderer: Destroy debug bindings on clean up
  compositor: Let renderers create and destroy surface state on their
    own
  pixman-renderer, gl-renderer: Destroy surface state with the renderer
  compositor-drm: Add option to start with pixman and switch to GL
    later
  gl-renderer: Attach buffer during surface state creation if possible
  compositor-drm: Add option to delay the loading of the gl-renderer

 man/weston-drm.man     |   12 +++
 src/compositor-drm.c   |  191 ++++++++++++++++++++++++++++++++++++++++++------
 src/compositor-fbdev.c |    3 +-
 src/compositor-rpi.c   |    3 +-
 src/compositor-x11.c   |    4 +-
 src/compositor.c       |   10 +--
 src/compositor.h       |    2 -
 src/gl-renderer.c      |  124 +++++++++++++++++++++++++------
 src/noop-renderer.c    |   13 ----
 src/pixman-renderer.c  |   96 +++++++++++++++++++-----
 src/rpi-renderer.c     |   54 +++++++++-----
 11 files changed, 405 insertions(+), 107 deletions(-)

-- 
1.7.9.5



More information about the wayland-devel mailing list