Some games (namely openttd) will raise an XError and fail with a
BadValue if their request to XF86VidModeSetViewPort fails.
Support only the default zoom and viewport, fail for everything else.
Signed-off-by: Olivier Fourdan
---
v2: Support only the default zoom and viewport.
hw/xwayland/xway
Hi,
On 21-03-16 09:53, Olivier Fourdan wrote:
Some games (namely openttd) will raise an XError and fail with a
BadValue if their request to XF86VidModeSetViewPort fails.
Support only the default zoom and viewport, fail for everything else.
Signed-off-by: Olivier Fourdan
Looks good to me:
R
Signed-off-by: Adam Jackson
---
glx/glxcmds.c| 11 +++
glx/glxdri2.c| 12
glx/glxdriswrast.c | 3 ---
glx/glxext.c | 2 --
glx/glxscreens.c | 12
glx/glxscreens.h | 11 ---
glx/glxserver.h
This existed only to be strdup'd and then immediately freed.
Signed-off-by: Adam Jackson
---
glx/glxdri2.c| 2 --
glx/glxdriswrast.c | 2 --
glx/glxscreens.c | 20 +---
hw/xquartz/GL/indirect.c | 2 --
hw/xwin/glx/indirect.c | 2 --
5 files changed
This doesn't seem very useful, and we're about to implement 1.4 across
the board, so some WGL extensions will become required.
Signed-off-by: Adam Jackson
---
hw/xwin/glx/indirect.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/hw/xwin/glx/indirect.c b/hw/xwin/glx/indirect.c
ind
This is enabled unconditionally in the GLX core. For xwin, if the
backend doesn't support WGL_ARB_multisample, there will simply be no
fbconfigs that support it.
Signed-off-by: Adam Jackson
---
hw/xquartz/GL/indirect.c | 3 ---
hw/xwin/glx/indirect.c | 24 ++--
2 files cha
This is _mostly_ cleanup, but it does have some semantic changes. It seems CGL
does not actually have a MakeCurrent call that lets you specify separate read
and draw surfaces, so that's never in fact worked, and as a result xquartz
technically can't even implement GLX 1.3 (or EGL!). But I suspect z
This seems to be fairly universal these days, and if it doesn't exist
the only thing you break is separate drawable and readable, which is a
fairly rare feature to use. So pretend it's always there and just throw
an error on MakeCurrent if it doesn't.
As a result we can enable GLX 1.4 unconditiona
Again, this is enabled unconditionally by the GLX core. If the backend
doesn't have WGL_EXT_pbuffer then we won't set the pbuffer bit on any
fbconfigs. Note that the dri2/drisw backends back pbuffers with pixmaps,
so the "clobber" semantics never come into play. Since pbuffer usage is
pretty rare
CGL doesn't have a way to express this directly, unlike EGL WGL and GLX.
It might be implementable, but it's never actually worked, and it's a
fairly niche feature so we're better off throwing an error if someone
attempts it.
Signed-off-by: Adam Jackson
---
hw/xquartz/GL/indirect.c | 3 +++
1 fi
Signed-off-by: Adam Jackson
---
glx/extension_string.c | 2 +-
glx/glxdri2.c | 7 ---
glx/glxdriswrast.c | 1 -
hw/xwin/glx/indirect.c | 1 -
4 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/glx/extension_string.c b/glx/extension_string.c
index 616c793..565813a 1006
On Mon, Mar 21, 2016 at 1:29 PM, Adam Jackson wrote:
> CGL doesn't have a way to express this directly, unlike EGL WGL and GLX.
> It might be implementable, but it's never actually worked, and it's a
> fairly niche feature so we're better off throwing an error if someone
> attempts it.
>
> Signed-
On Mon, 2016-03-21 at 14:12 -0700, Matt Turner wrote:
> I'm not sure how that parses. Should be !=
D'oh. Serves me right for trying to edit code I can't build.
- ajax
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/x
13 matches
Mail list logo