From b36d264ec98440707ed3a94fab430e23d4a1582a Mon Sep 17 00:00:00 2001 From: Zhigang Gong Date: Fri, 23 Dec 2011 16:19:39 +0800 Subject: [PATCH] Add a new API glamor_create_gc. As at ValidateGC stage, it may need to touch the pixmap directly, for example the tile pixmap. We must export this interface to DDX driver and let the DDX driver to route the processing to us. As this pixmap may be a texture only pixmap, and DDX don't know how to handle it. Signed-off-by: Zhigang Gong --- glamor/glamor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/glamor/glamor.h b/glamor/glamor.h index 4c01623d0..a15cdc40f 100644 --- a/glamor/glamor.h +++ b/glamor/glamor.h @@ -182,6 +182,7 @@ extern _X_EXPORT void glamor_egl_free_screen(int scrnIndex, int flags); #endif +extern _X_EXPORT int glamor_create_gc(GCPtr gc); /* 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