mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 11:00:54 -05:00
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:
parent
a37956c95f
commit
294f9419f7
@ -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,
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user