Jie Luo
99583b43a9
glx: avoid possible NULLptr deref, fix #16884
2008-08-17 23:13:22 +02:00
Dave Miller
5968634996
glx: fix crash in driGetConfigAttribIndex
...
Don't access GLboolean via int pointers
2008-08-09 16:45:59 +10:00
Jeremy Huddleston
bf084a0769
glcontextmodes.[hc] were not added with the removal of the meas symlinks patch. Copied from mesa head 2008.08.06.
...
(cherry picked from commit 409e1dd1e9
)
2008-08-06 13:37:28 -07:00
Michel Dänzer
ec10eccd56
GLX: Unreference drawables bound to the old context, not the new one.
...
Apart from the obvious reference counting issue, this fixes
http://bugs.freedesktop.org/show_bug.cgi?id=16867 .
2008-07-28 09:33:04 +02:00
Michel Dänzer
6ab8d6010a
AIGLX/DRI1: Pay more attention to return value from DRIGetDrawableInfo().
...
Could have crashed otherwise if the num(Back)ClipRects variables referenced by
the caller weren't pre-initialized to 0.
2008-07-28 09:32:59 +02:00
Kristian Høgsberg
2ce434f54b
Clean up unused definitions from glx headers.
2008-07-25 14:29:25 -04:00
Daniel Drake
eff25430b4
Don't abort if swrast library is not present
...
GLX is enabled by default, but the current swrast behaviour causes X
to abort with fatal error if the swrast dri library dlopen fails.
Handle the case where the swrast library is not present, and do not
register the GLX extension unless at least one screen has a usable
GL provider.
2008-07-24 21:06:34 -05:00
Kristian Høgsberg
dff1a609bb
Drop the glx resize hook and stop chaining PositionWindow.
2008-07-24 13:34:24 -04:00
Kristian Høgsberg
24dddcd0ef
Drop unnecessary linked list of contexts from GLXDrawable.
2008-07-24 13:34:24 -04:00
Kristian Høgsberg
facb255fa9
Need to unref pixmaps backing pbuffers too.
2008-07-21 16:05:53 -04:00
Kristian Høgsberg
d5ae85b5b7
Fix embarrasing GLXPixmap leak.
2008-07-21 15:32:12 -04:00
Julien Cristau
43c6d5a6f8
distcheck fixes
...
Still seems to fail because hw/xquartz has too long filenames
2008-07-20 16:30:24 +02:00
Ian Romanick
b84a27fd9f
VBO: Regenerate files based on recent changes to gl_API.xml
...
Since GL_ARB_vertex_buffer_object protocol isn't supported yet, these
changes are innocuous.
2008-07-02 06:25:03 -07:00
George Sapountzis
3108980f5e
glx: drop unused cleargc
2008-06-13 16:00:15 +03:00
Michel Dänzer
23b55a61f8
AIGLX/DRI1: Switch to server context for calling pScreen->GetImage.
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16292 .
2008-06-13 11:13:56 +02:00
Roland Scheidegger
49751fee3b
glx: copy msaa visual capabilities
2008-06-10 15:40:48 +02:00
Paulo Cesar Pereira de Andrade
8d4d0b47a0
gl: include assert.h if we're compiling with DEBUG.
...
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
2008-06-05 09:19:16 +09:30
George Sapountzis
6c72961d8f
glx: fix memory corruption with r5g6b5
...
should cherry-pick to xserver-1.5
2008-05-23 22:40:26 +03:00
George Sapountzis
877e6c35ff
glx: missing swrast is fatal
2008-05-23 22:40:26 +03:00
George Sapountzis
1345c93ad4
glx: drop stray glcore.h include
2008-05-23 22:40:25 +03:00
Kristian Høgsberg
c3eb5b80d8
Move GL/glx on level up now that it's the only thing left under GL.
2008-05-21 13:33:36 -04:00