diff options
author | Zhigang Gong <zhigang.gong@linux.intel.com> | 2011-12-27 17:09:17 +0800 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-03 21:35:04 +0000 |
commit | f4ea732d7181d4ef7f97fb2585e87cdcaef99d46 (patch) | |
tree | 717815340e292b727e586173051b9c661c70520d /uxa/uxa-glamor.h | |
parent | e8aa9cedbfca09e22d46ec8882b9bebb3eb83022 (diff) |
uxa/glamor: Let glamor do the GC validation
If we are using GLAMOR, then a tile pixmap or stipple pixmap
may be pure glamor pixmap and thus UXA will not know how to
render to them, and we need to let glamor do the validation.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa/uxa-glamor.h')
-rw-r--r-- | uxa/uxa-glamor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/uxa/uxa-glamor.h b/uxa/uxa-glamor.h index 71a9c292..950a8781 100644 --- a/uxa/uxa-glamor.h +++ b/uxa/uxa-glamor.h @@ -45,12 +45,14 @@ #define glamor_set_spans_nf(...) FALSE #define glamor_get_image_nf(...) FALSE #define glamor_glyphs_nf(...) FALSE -#define glamor_glyph_unrealize(...) ; +#define glamor_glyph_unrealize(...) do { } while(0) #define glamor_composite_nf(...) FALSE #define glamor_composite_rects_nf(...) FALSE #define glamor_trapezoids_nf(...) FALSE #define glamor_triangles_nf(...) FALSE #define glamor_add_traps_nf(...) FALSE +#define glamor_create_gc(...) FALSE +#define glamor_validate_gc(...) do { } while(0) #endif #endif /* UXA_GLAMOR_H */ |