renderer-native-gles3: Don't pass GPU when rendering

It wasn't used for anything, so don't pass it.

https://bugzilla.gnome.org/show_bug.cgi?id=788695
This commit is contained in:
Jonas Ådahl 2017-10-30 16:07:30 +08:00
parent a37956c95f
commit 294f9419f7
3 changed files with 0 additions and 4 deletions

View File

@ -103,7 +103,6 @@ paint_egl_image (MetaGles3 *gles3,
gboolean gboolean
meta_renderer_native_gles3_blit_shared_bo (MetaEgl *egl, meta_renderer_native_gles3_blit_shared_bo (MetaEgl *egl,
MetaGles3 *gles3, MetaGles3 *gles3,
MetaGpuKms *gpu_kms,
EGLDisplay egl_display, EGLDisplay egl_display,
EGLContext egl_context, EGLContext egl_context,
EGLSurface egl_surface, EGLSurface egl_surface,

View File

@ -27,11 +27,9 @@
#include "backends/meta-egl.h" #include "backends/meta-egl.h"
#include "backends/meta-gles3.h" #include "backends/meta-gles3.h"
#include "backends/native/meta-gpu-kms.h"
gboolean meta_renderer_native_gles3_blit_shared_bo (MetaEgl *egl, gboolean meta_renderer_native_gles3_blit_shared_bo (MetaEgl *egl,
MetaGles3 *gles3, MetaGles3 *gles3,
MetaGpuKms *gpu_kms,
EGLDisplay egl_display, EGLDisplay egl_display,
EGLContext egl_context, EGLContext egl_context,
EGLSurface egl_surface, EGLSurface egl_surface,

View File

@ -1356,7 +1356,6 @@ copy_shared_framebuffer_gpu (CoglOnscreen *onscreen,
if (!meta_renderer_native_gles3_blit_shared_bo (egl, if (!meta_renderer_native_gles3_blit_shared_bo (egl,
renderer_native->gles3, renderer_native->gles3,
secondary_gpu_state->gpu_kms,
renderer_gpu_data->egl_display, renderer_gpu_data->egl_display,
renderer_gpu_data->secondary.egl_context, renderer_gpu_data->secondary.egl_context,
secondary_gpu_state->egl_surface, secondary_gpu_state->egl_surface,