summaryrefslogtreecommitdiff
path: root/glamor/glamor_text.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-06-16 07:24:09 +0100
committerEric Anholt <eric@anholt.net>2014-07-17 17:35:48 -0700
commit9ddcb20f47b5e199989c8990512b0bca1354af86 (patch)
treeb023b18aa7bfb655f2380afc4851be3cb6e6ce65 /glamor/glamor_text.c
parentb03a581d8cbe3f29140935063b865285e2a00333 (diff)
glamor: Drop the "are we doing a series of blits or draws" logic.
It's unused since keithp's copy acceleration code completely replaced glamor_copyarea.c and removed the blit path. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glamor/glamor_text.c')
-rw-r--r--glamor/glamor_text.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/glamor/glamor_text.c b/glamor/glamor_text.c
index 6e02b9aa8..59cd0fdc8 100644
--- a/glamor/glamor_text.c
+++ b/glamor/glamor_text.c
@@ -293,9 +293,6 @@ glamor_poly_text(DrawablePtr drawable, GCPtr gc,
glDisable(GL_COLOR_LOGIC_OP);
- glamor_priv->state = RENDER_STATE;
- glamor_priv->render_idle_cnt = 0;
-
*final_pos = x;
return TRUE;
@@ -493,9 +490,6 @@ glamor_image_text(DrawablePtr drawable, GCPtr gc,
(void) glamor_text(drawable, gc, glamor_font, prog,
x, y, count, chars, charinfo, sixteen);
- glamor_priv->state = RENDER_STATE;
- glamor_priv->render_idle_cnt = 0;
-
return TRUE;
bail: