Commit 9f53cc1c authored by Zhigang Gong's avatar Zhigang Gong Committed by Eric Anholt

glamor_render.c: Fixed repeatPad and repeatRelect.

We should use difference calculation for these two repeat mode
when we are a sub region within one texture.
Signed-off-by: default avatarZhigang Gong <>
parent 67cf3838
......@@ -80,6 +80,8 @@ typedef struct glamor_composite_shader {
GLint mask_uniform_location;
GLint source_wh;
GLint mask_wh;
GLint source_repeat_mode;
GLint mask_repeat_mode;
} glamor_composite_shader;
typedef struct {
......@@ -742,7 +744,7 @@ glamor_poly_line(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt,
#ifndef GLAMOR_GLES2
#endif /* GLAMOR_PRIV_H */
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment