diff options
Diffstat (limited to 'src/intel_glamor.h')
-rw-r--r-- | src/intel_glamor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/intel_glamor.h b/src/intel_glamor.h index 1ba17c03..13745882 100644 --- a/src/intel_glamor.h +++ b/src/intel_glamor.h @@ -43,6 +43,8 @@ void intel_glamor_flush(intel_screen_private * intel); Bool intel_glamor_create_textured_pixmap(PixmapPtr pixmap); void intel_glamor_destroy_pixmap(PixmapPtr pixmap); +PixmapPtr intel_glamor_create_pixmap(ScreenPtr screen, int w, int h, + int depth, unsigned int usage); #else @@ -58,6 +60,9 @@ static inline void intel_glamor_flush(intel_screen_private * intel) { } static inline Bool intel_glamor_create_textured_pixmap(PixmapPtr pixmap) { return TRUE; } static inline void intel_glamor_destroy_pixmap(PixmapPtr pixmap) { } +static inline PixmapPtr intel_glamor_create_pixmap(ScreenPtr screen, int w, int h, + int depth, unsigned int usage) { return NULL; } + #endif #endif /* INTEL_GLAMOR_H */ |