Skip to content

Commit

Permalink
#2467 YUV painting needs updating to use blitting
Browse files Browse the repository at this point in the history
until it is fixed, don't use it on Wayland
  • Loading branch information
totaam committed Oct 27, 2023
1 parent 493f566 commit 75c09a0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions xpra/client/gl/backing.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

from xpra.os_util import (
strtobytes, bytestostr, hexstr,
POSIX, OSX, first_time,
POSIX, OSX, is_Wayland, first_time,
)
from xpra.util.str_fn import repr_ellipsized
from xpra.util.env import envint, envbool
Expand All @@ -78,19 +78,20 @@
log = Logger("opengl", "paint")
fpslog = Logger("opengl", "fps")


BLIT = envbool("XPRA_OPENGL_BLIT", True)
OPENGL_DEBUG : bool = envbool("XPRA_OPENGL_DEBUG", False)
PAINT_FLUSH : bool = envbool("XPRA_PAINT_FLUSH", True)
JPEG_YUV : bool = envbool("XPRA_JPEG_YUV", True)
WEBP_YUV : bool = envbool("XPRA_WEBP_YUV", True)
JPEG_YUV : bool = envbool("XPRA_JPEG_YUV", not is_Wayland())
WEBP_YUV : bool = envbool("XPRA_WEBP_YUV", not is_Wayland())
FORCE_CLONE : bool = envbool("XPRA_OPENGL_FORCE_CLONE", False)
FORCE_VIDEO_PIXEL_FORMAT : str = os.environ.get("XPRA_FORCE_VIDEO_PIXEL_FORMAT", "")
DRAW_REFRESH : bool = envbool("XPRA_OPENGL_DRAW_REFRESH", True)
FBO_RESIZE : bool = envbool("XPRA_OPENGL_FBO_RESIZE", True)
FBO_RESIZE_DELAY : int = envint("XPRA_OPENGL_FBO_RESIZE_DELAY", -1)
CONTEXT_REINIT : bool = envbool("XPRA_OPENGL_CONTEXT_REINIT", False)
NVJPEG : bool = envbool("XPRA_OPENGL_NVJPEG", True)
NVDEC : bool = envbool("XPRA_OPENGL_NVDEC", True)
NVJPEG : bool = envbool("XPRA_OPENGL_NVJPEG", not is_Wayland())
NVDEC : bool = envbool("XPRA_OPENGL_NVDEC", not is_Wayland())

CURSOR_IDLE_TIMEOUT : int = envint("XPRA_CURSOR_IDLE_TIMEOUT", 6)

Expand Down

0 comments on commit 75c09a0

Please sign in to comment.