diff options
author | Zhigang Gong <zhigang.gong@linux.intel.com> | 2011-12-27 16:42:32 +0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-18 11:23:46 -0800 |
commit | c65dc686228262894e0afc9fbe9fe6635d420e2f (patch) | |
tree | 7114bc33507ac05bceb5ad922617a47ac5a06bb1 /glamor/glamor.h | |
parent | f2809745fb641239be5b0281eac569c5b371e55e (diff) |
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 <zhigang.gong@linux.intel.com>
Diffstat (limited to 'glamor/glamor.h')
-rw-r--r-- | glamor/glamor.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |