diff options
author | Dave Airlie <airlied@redhat.com> | 2016-03-11 09:22:00 +1000 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-04-29 10:19:17 -0400 |
commit | aa4e757130010dd3202f10ec6cb0c306c1dbcfbc (patch) | |
tree | cfc4707020935abcbf75380e22d8815fc03fba7a /glamor/glamor.h | |
parent | f48b0534f110397246809d279225afedb28aa233 (diff) |
glamor: add glamor_finish API
Some drivers are calling glFinish, they really should be doing this.
This also is needed for some reverse prime scenarios.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'glamor/glamor.h')
-rw-r--r-- | glamor/glamor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glamor/glamor.h b/glamor/glamor.h index a73e9eff0..e27033a84 100644 --- a/glamor/glamor.h +++ b/glamor/glamor.h @@ -336,6 +336,7 @@ extern _X_EXPORT void glamor_destroy_gc(GCPtr gc); extern Bool _X_EXPORT glamor_change_window_attributes(WindowPtr pWin, unsigned long mask); extern void _X_EXPORT glamor_copy_window(WindowPtr window, DDXPointRec old_origin, RegionPtr src_region); +extern _X_EXPORT void glamor_finish(ScreenPtr screen); #define HAS_GLAMOR_TEXT 1 #ifdef GLAMOR_FOR_XORG |