summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_manager.h
diff options
context:
space:
mode:
authorPhilipp Zabel <[email protected]>2017-03-29 09:44:20 +0200
committerNicolai Hähnle <[email protected]>2017-03-29 18:04:12 +0200
commitd10172d52791b1fc0b791dd10c823668ecb7a4f8 (patch)
tree9760aaa4786acda22389553da6ce42a239b7d7a9 /src/mesa/state_tracker/st_manager.h
parent2f8d6bd57844f86547b95d1381c82aaceb83c356 (diff)
st/mesa: move st_manager_get_egl_image_surface into st_cb_eglimage.c
The only callers are here, and we will add generation of GL errors in the following patch. Rename the function to st_egl_image_get_surface, pass the gl_context instead of st_context, and move the cast from GLeglImageOES to void* into st_egl_image_get_surface. Signed-off-by: Philipp Zabel <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_manager.h')
-rw-r--r--src/mesa/state_tracker/st_manager.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_manager.h b/src/mesa/state_tracker/st_manager.h
index bbb9b0f64d3..65874b00401 100644
--- a/src/mesa/state_tracker/st_manager.h
+++ b/src/mesa/state_tracker/st_manager.h
@@ -34,9 +34,6 @@
struct st_context;
-struct pipe_surface *
-st_manager_get_egl_image_surface(struct st_context *st, void *eglimg);
-
void
st_manager_flush_frontbuffer(struct st_context *st);