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 diff --git a/glamor/glamor_core.c b/glamor/glamor_core.c index 54e110a37..9a1b770bd 100644 --- a/glamor/glamor_core.c +++ b/glamor/glamor_core.c @@ -366,7 +366,7 @@ GCOps glamor_gc_ops = { * uxa_validate_gc() sets the ops to glamor's implementations, which may be * accelerated or may sync the card and fall back to fb. */ -static void +void glamor_validate_gc(GCPtr gc, unsigned long changes, DrawablePtr drawable) { /* fbValidateGC will do direct access to pixmaps if the tiling has changed.