glamor: Move glamor_egl_screen_init() prototype to glamor.h
A DDX that implements the glamor EGL functions need to pull in this prototype but shouldn't need to pull in glamor_priv.h Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
9ba2084321
commit
fe204185bc
|
@ -310,6 +310,8 @@ extern _X_EXPORT Bool
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern _X_EXPORT void glamor_egl_screen_init(ScreenPtr screen,
|
||||||
|
struct glamor_context *glamor_ctx);
|
||||||
extern _X_EXPORT void glamor_egl_destroy_textured_pixmap(PixmapPtr pixmap);
|
extern _X_EXPORT void glamor_egl_destroy_textured_pixmap(PixmapPtr pixmap);
|
||||||
|
|
||||||
extern _X_EXPORT int glamor_create_gc(GCPtr gc);
|
extern _X_EXPORT int glamor_create_gc(GCPtr gc);
|
||||||
|
|
|
@ -26,7 +26,9 @@
|
||||||
* Stubbed out glamor_egl.c functions for servers other than Xorg.
|
* Stubbed out glamor_egl.c functions for servers other than Xorg.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "glamor_priv.h"
|
#include "dix-config.h"
|
||||||
|
|
||||||
|
#include "glamor.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
glamor_egl_screen_init(ScreenPtr screen, struct glamor_context *glamor_ctx)
|
glamor_egl_screen_init(ScreenPtr screen, struct glamor_context *glamor_ctx)
|
||||||
|
|
|
@ -992,9 +992,6 @@ void glamor_composite_rectangles(CARD8 op,
|
||||||
xRenderColor *color,
|
xRenderColor *color,
|
||||||
int num_rects, xRectangle *rects);
|
int num_rects, xRectangle *rects);
|
||||||
|
|
||||||
extern _X_EXPORT void glamor_egl_screen_init(ScreenPtr screen,
|
|
||||||
struct glamor_context *glamor_ctx);
|
|
||||||
|
|
||||||
/* glamor_xv */
|
/* glamor_xv */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint32_t transform_index;
|
uint32_t transform_index;
|
||||||
|
|
Loading…
Reference in New Issue