/*
* Mesa 3-D graphics library
- * Version: 7.9
*
* Copyright (C) 2010 LunarG Inc.
*
#ifndef ST_MANAGER_H
#define ST_MANAGER_H
-#include "main/mtypes.h"
+#include "main/menums.h"
#include "pipe/p_compiler.h"
struct st_context;
-
-struct pipe_surface *
-st_manager_get_egl_image_surface(struct st_context *st,
- void *eglimg, unsigned usage);
+struct st_framebuffer;
+struct st_framebuffer_interface;
+struct st_renderbuffer;
+struct pipe_surface;
void
st_manager_flush_frontbuffer(struct st_context *st);
void
st_manager_validate_framebuffers(struct st_context *st);
-boolean
+bool
st_manager_add_color_renderbuffer(struct st_context *st, struct gl_framebuffer *fb,
gl_buffer_index idx);
+void
+st_framebuffer_reference(struct st_framebuffer **ptr,
+ struct st_framebuffer *stfb);
+
+void
+st_framebuffer_interface_destroy(struct st_framebuffer_interface *stfbi);
+
+void
+st_manager_flush_swapbuffers(void);
+
+void
+st_set_ws_renderbuffer_surface(struct st_renderbuffer *strb,
+ struct pipe_surface *surf);
+
#endif /* ST_MANAGER_H */