From c65dc686228262894e0afc9fbe9fe6635d420e2f Mon Sep 17 00:00:00 2001 From: Zhigang Gong Date: Tue, 27 Dec 2011 16:42:32 +0800 Subject: Export glamor_validate_gc to DDX. This is also a function which may direct access pixmaps which may be a glamor only pixmap and DDX doesn't know how to access it. We have to export this API to DDX driver and let the DDX driver use it to do the validation. Signed-off-by: Zhigang Gong --- glamor/glamor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'glamor/glamor.h') diff --git a/glamor/glamor.h b/glamor/glamor.h index a15cdc40f..fc8c152bc 100644 --- a/glamor/glamor.h +++ b/glamor/glamor.h @@ -183,6 +183,8 @@ extern _X_EXPORT void glamor_egl_free_screen(int scrnIndex, int flags); #endif extern _X_EXPORT int glamor_create_gc(GCPtr gc); + +extern _X_EXPORT void glamor_validate_gc(GCPtr gc, unsigned long changes, DrawablePtr drawable); /* Glamor rendering/drawing functions with XXX_nf. * nf means no fallback within glamor internal if possible. If glamor * fail to accelerate the operation, glamor will return a false, and the -- cgit v1.2.3