summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_manager.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-02-25 23:10:47 +0800
committerChia-I Wu <[email protected]>2010-04-04 21:58:32 +0800
commita1aa53b2a934ca026bb115aca18a46fd920f9e8d (patch)
tree8a2f4e62b29529d2e3a50d85346e3dd2d0e085e0 /src/mesa/state_tracker/st_manager.h
parent776dc53f62c46e235ff8ef2e1eec1a308a036987 (diff)
st/mesa: Implement GL_OES_EGL_image driver hooks.
Use st_manager::get_egl_image to look up GLeglImageOES and implement EGLImageTargetTexture2D and EGLImageTargetRenderbufferStorage.
Diffstat (limited to 'src/mesa/state_tracker/st_manager.h')
-rw-r--r--src/mesa/state_tracker/st_manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_manager.h b/src/mesa/state_tracker/st_manager.h
index a3f51992237..0d3f8f7de4f 100644
--- a/src/mesa/state_tracker/st_manager.h
+++ b/src/mesa/state_tracker/st_manager.h
@@ -31,6 +31,10 @@
#include "state_tracker/st_api.h"
#include "st_context.h"
+struct pipe_surface *
+st_manager_get_egl_image_surface(struct st_context *st,
+ void *eglimg, unsigned usage);
+
void
st_manager_flush_frontbuffer(struct st_context *st);