[Mesa-dev] [PATCH 2/3] init ps->context with util_surfaces_get and do_get
wallbraker at gmail.com
Sat Dec 4 16:30:05 PST 2010
On Sun, Dec 5, 2010 at 1:16 AM, Xavier Chantry <chantry.xavier at gmail.com> wrote:
> Pass pipe_context rather than pipe_screen to util_surfaces_get and
> util_surfaces_do_get so that they can check whether the saved pipe_surface
> have the current context, and init properly a new pipe_surface with the
> current context.
> pipe_context is also passed to pipe_surface_reset and pipe_surface_init so
> that context initialization is done in one central place.
Reviewed-by: Jakob Bornecrantz <wallbraker at gmail.com>
More information about the mesa-dev