From 294f9419f7e2fdb1e152319b67b2175421d65d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Mon, 30 Oct 2017 16:07:30 +0800 Subject: [PATCH] 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 --- src/backends/native/meta-renderer-native-gles3.c | 1 - src/backends/native/meta-renderer-native-gles3.h | 2 -- src/backends/native/meta-renderer-native.c | 1 - 3 files changed, 4 deletions(-) diff --git a/src/backends/native/meta-renderer-native-gles3.c b/src/backends/native/meta-renderer-native-gles3.c index daab1fcba..40237be01 100644 --- a/src/backends/native/meta-renderer-native-gles3.c +++ b/src/backends/native/meta-renderer-native-gles3.c @@ -103,7 +103,6 @@ paint_egl_image (MetaGles3 *gles3, gboolean meta_renderer_native_gles3_blit_shared_bo (MetaEgl *egl, MetaGles3 *gles3, - MetaGpuKms *gpu_kms, EGLDisplay egl_display, EGLContext egl_context, EGLSurface egl_surface, diff --git a/src/backends/native/meta-renderer-native-gles3.h b/src/backends/native/meta-renderer-native-gles3.h index 51893636a..b4ca19285 100644 --- a/src/backends/native/meta-renderer-native-gles3.h +++ b/src/backends/native/meta-renderer-native-gles3.h @@ -27,11 +27,9 @@ #include "backends/meta-egl.h" #include "backends/meta-gles3.h" -#include "backends/native/meta-gpu-kms.h" gboolean meta_renderer_native_gles3_blit_shared_bo (MetaEgl *egl, MetaGles3 *gles3, - MetaGpuKms *gpu_kms, EGLDisplay egl_display, EGLContext egl_context, EGLSurface egl_surface, diff --git a/src/backends/native/meta-renderer-native.c b/src/backends/native/meta-renderer-native.c index 66c254f06..613790848 100644 --- a/src/backends/native/meta-renderer-native.c +++ b/src/backends/native/meta-renderer-native.c @@ -1356,7 +1356,6 @@ copy_shared_framebuffer_gpu (CoglOnscreen *onscreen, if (!meta_renderer_native_gles3_blit_shared_bo (egl, renderer_native->gles3, - secondary_gpu_state->gpu_kms, renderer_gpu_data->egl_display, renderer_gpu_data->secondary.egl_context, secondary_gpu_state->egl_surface,