Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ila.embsys:branches:hardware:xr
gnome-shell-xrdesktop
gnome-shell-vr_mirror-Mutter-45-API-change.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-shell-vr_mirror-Mutter-45-API-change.patch of Package gnome-shell-xrdesktop
From 8b38128a04aade5b00009b437822a679e28208d3 Mon Sep 17 00:00:00 2001 From: ila <ila.embsys@gmail.com> Date: Sat, 30 Sep 2023 04:52:09 +0400 Subject: [PATCH 1/1] vr_mirror: Mutter 45 API change API for meta_shaped_texture_get_texture is changed See: https://gitlab.gnome.org/GNOME/mutter/-/commit/3dd9f15ebae457df60dd9ecc1d8f960fb74b2a80 --- src/shell-vr-mirror.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/shell-vr-mirror.c b/src/shell-vr-mirror.c index 518127c21..127f11818 100644 --- a/src/shell-vr-mirror.c +++ b/src/shell-vr-mirror.c @@ -1075,7 +1075,14 @@ _upload_gl_external_memory (ShellVRMirror *self, MetaShapedTexture *mst, MtkRectangle *rect) { - CoglTexture *cogl_texture = meta_shaped_texture_get_texture (mst); + MetaMultiTexture *meta_multi_texture = meta_shaped_texture_get_texture (mst); + MetaMultiTextureFormat format = meta_multi_texture_get_format (meta_multi_texture); + if (format != META_MULTI_TEXTURE_FORMAT_SIMPLE) + { + g_print ("Error: Texture format is not supported by Cogl (see CoglPixelFormat).\n"); + } + + CoglTexture *cogl_texture = meta_multi_texture_get_plane (meta_multi_texture, 0); if (cogl_texture == NULL || !cogl_is_texture (cogl_texture)) { -- 2.42.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor