mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
glamor: Rename glamor_get/put_dispatch to glamor_get/put_context.
It used to be the thing that returned your dispatch table and happeend to set up the context, but now it just sets up the context. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
0373b3f4f7
commit
781c692cf9
13 changed files with 111 additions and 111 deletions
|
|
@ -219,11 +219,11 @@ glamor_block_handler(ScreenPtr screen)
|
|||
{
|
||||
glamor_screen_private *glamor_priv = glamor_get_screen_private(screen);
|
||||
|
||||
glamor_get_dispatch(glamor_priv);
|
||||
glamor_get_context(glamor_priv);
|
||||
glamor_priv->tick++;
|
||||
glFlush();
|
||||
glamor_fbo_expire(glamor_priv);
|
||||
glamor_put_dispatch(glamor_priv);
|
||||
glamor_put_context(glamor_priv);
|
||||
if (glamor_priv->state == RENDER_STATE
|
||||
&& glamor_priv->render_idle_cnt++ > RENDER_IDEL_MAX) {
|
||||
glamor_priv->state = IDLE_STATE;
|
||||
|
|
@ -236,9 +236,9 @@ _glamor_block_handler(void *data, OSTimePtr timeout, void *last_select_mask)
|
|||
{
|
||||
glamor_screen_private *glamor_priv = data;
|
||||
|
||||
glamor_get_dispatch(glamor_priv);
|
||||
glamor_get_context(glamor_priv);
|
||||
glFlush();
|
||||
glamor_put_dispatch(glamor_priv);
|
||||
glamor_put_context(glamor_priv);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue