diff --git a/gfx/context/androidegl_ctx.c b/gfx/context/androidegl_ctx.c index eb5df67061..ec631fa613 100644 --- a/gfx/context/androidegl_ctx.c +++ b/gfx/context/androidegl_ctx.c @@ -307,12 +307,12 @@ static bool gfx_ctx_has_focus(void) return true; } -bool gfx_ctx_can_egl_image_buffer(void) +static bool gfx_ctx_can_egl_image_buffer(void) { return false; } -bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) +static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) { return false; } diff --git a/gfx/context/drm_egl_ctx.c b/gfx/context/drm_egl_ctx.c index a5a7d457cd..614f7f00e5 100644 --- a/gfx/context/drm_egl_ctx.c +++ b/gfx/context/drm_egl_ctx.c @@ -625,12 +625,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api) } } -bool gfx_ctx_can_egl_image_buffer(void) +static bool gfx_ctx_can_egl_image_buffer(void) { return false; } -bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) +static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) { return false; } diff --git a/gfx/context/glx_ctx.c b/gfx/context/glx_ctx.c index 28d55235de..e1f452447b 100644 --- a/gfx/context/glx_ctx.c +++ b/gfx/context/glx_ctx.c @@ -462,12 +462,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api) return api == GFX_CTX_OPENGL_API; } -bool gfx_ctx_can_egl_image_buffer(void) +static bool gfx_ctx_can_egl_image_buffer(void) { return false; } -bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) +static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) { return false; } diff --git a/gfx/context/ps3_ctx.c b/gfx/context/ps3_ctx.c index 2a61b061d5..f6e7f97149 100644 --- a/gfx/context/ps3_ctx.c +++ b/gfx/context/ps3_ctx.c @@ -378,12 +378,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api) return api == GFX_CTX_OPENGL_API || GFX_CTX_OPENGL_ES_API; } -bool gfx_ctx_can_egl_image_buffer(void) +static bool gfx_ctx_can_egl_image_buffer(void) { return false; } -bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) +static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) { return false; } diff --git a/gfx/context/sdl_ctx.c b/gfx/context/sdl_ctx.c index c302235281..ca984b8ea6 100644 --- a/gfx/context/sdl_ctx.c +++ b/gfx/context/sdl_ctx.c @@ -316,12 +316,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api) return api == GFX_CTX_OPENGL_API; } -bool gfx_ctx_can_egl_image_buffer(void) +static bool gfx_ctx_can_egl_image_buffer(void) { return false; } -bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) +static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) { return false; } diff --git a/gfx/context/vc_egl_ctx.c b/gfx/context/vc_egl_ctx.c index 6bde808750..030cd2bdb0 100644 --- a/gfx/context/vc_egl_ctx.c +++ b/gfx/context/vc_egl_ctx.c @@ -300,7 +300,7 @@ static float gfx_ctx_translate_aspect(unsigned width, unsigned height) return (float)width / height; } -bool gfx_ctx_can_egl_image_buffer(void) +static bool gfx_ctx_can_egl_image_buffer(void) { /*peglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)gfx_ctx_get_proc_address("eglCreateImageKHR"); peglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)gfx_ctx_get_proc_address("eglDestroyImageKHR"); @@ -308,7 +308,7 @@ bool gfx_ctx_can_egl_image_buffer(void) return false; } -bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) +static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) { /*bool ret = false; if (!eglBuffer || !vcBuffer || (width != bufferLastWidth && height != bufferLastHeight && rgb32 != bufferLastRgb32)) diff --git a/gfx/context/wgl_ctx.c b/gfx/context/wgl_ctx.c index 55c20f5912..b458e7e835 100644 --- a/gfx/context/wgl_ctx.c +++ b/gfx/context/wgl_ctx.c @@ -404,12 +404,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api) return api == GFX_CTX_OPENGL_API; } -bool gfx_ctx_can_egl_image_buffer(void) +static bool gfx_ctx_can_egl_image_buffer(void) { return false; } -bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) +static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) { return false; } diff --git a/gfx/context/xdk_ctx.c b/gfx/context/xdk_ctx.c index be6282d57d..db268579fc 100644 --- a/gfx/context/xdk_ctx.c +++ b/gfx/context/xdk_ctx.c @@ -525,12 +525,12 @@ int gfx_ctx_xdk_check_resolution(unsigned resolution_id) return 0; } -bool gfx_ctx_can_egl_image_buffer(void) +static bool gfx_ctx_can_egl_image_buffer(void) { return false; } -bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) +static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) { return false; } diff --git a/gfx/context/xegl_ctx.c b/gfx/context/xegl_ctx.c index 80c1b81c79..ca03c981be 100644 --- a/gfx/context/xegl_ctx.c +++ b/gfx/context/xegl_ctx.c @@ -503,12 +503,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api) } } -bool gfx_ctx_can_egl_image_buffer(void) +static bool gfx_ctx_can_egl_image_buffer(void) { return false; } -bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) +static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle) { return false; }