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



commit 294f9419f7e2fdb1e152319b67b2175421d65d14
Author: Jonas Ådahl <jadahl gmail com>
Date:   Mon Oct 30 16:07:30 2017 +0800

    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, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/backends/native/meta-renderer-native-gles3.c 
b/src/backends/native/meta-renderer-native-gles3.c
index daab1fc..40237be 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 5189363..b4ca192 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 66c254f..6137908 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]