Commit Graph

26 Commits

Author SHA1 Message Date
Tomas Carnecky 56de92d795 opengl: Put OpenGL setup functions into their own debug channel. 2006-03-27 11:30:50 +02:00
Vitaliy Margolen c04cbbfeae x11drv: Fix one case of "glXChooseFBConfig returns NULL" problem.
Using alpha bits > 8 makes this function fail, while it should not.
2006-03-15 11:29:07 +01:00
Jan Zerebecki 433196d213 x11drv: Prevent out of bound access in DescribePixelFormat. 2006-03-14 17:49:49 +01:00
Huw Davies 412cb77d51 opengl: Add support for rendering on bitmaps. 2005-12-19 17:45:13 +01:00
Huw Davies 8b7098794d x11drv: Get the visual for the GLXPixmap from the current pixel format. 2005-12-16 19:29:52 +01:00
Tomas Carnecky 7499cabb28 x11drv: Allow users to preload an OpenGL library. 2005-12-16 12:37:34 +01:00
Raphael Junqueira 88cda5643d x11drv: Add more useful traces on SetPixelFormat (and no more FIXME). 2005-12-06 11:33:33 +01:00
Raphael Junqueira bc5c0b16b4 Handle DONTCARE flags on ChoosePixelFormat.
DOUBLEBUFFER and STEREO are non-mandatory options (ie if not available
find a compatible pixel format without). So try without if we cannot
find a valid fbconfig with these options.
2005-12-02 11:24:52 +01:00
Peter Beutner 008298455f Fix wrong use of the PFD_GENERIC_ACCELERATED flag. It indicates that
the selected pixel format lacks full hardware acceleration and only a
few parts are accelerated. So don't always set it but only if the X
server actually reports that the selected pixel format is not fully
accelerated.
2005-11-18 12:06:45 +00:00
Raphael Junqueira 7ed830b8e1 Add GLXFBConfig on Wine_GLContext (we should remove XVisualInfo
references on code).
Hook glGetIntegerv on GL_ALPHA_BITS to query on GLXFBConfig instead of
glGetInteger (as it returns bad value).
2005-11-11 10:52:14 +00:00
Gerald Pfeifer ed77348a9e Use 0 instead of NULL in create_glxpixmap(). 2005-09-28 18:11:17 +00:00
Huw Davies fd7019579a Add an x11drv escape that returns a glx drawable. 2005-09-26 11:04:12 +00:00
Alexandre Julliard 9f859692f9 Replace DPRINTF by TRACE in a few places. 2005-09-25 15:23:21 +00:00
Saulius Krasuckas 187f7a4a4f Don't dereference a NULL visual pointer. 2005-08-22 09:22:19 +00:00
Mike McCormack e5efc5a657 gcc 4.0 warning fixes. 2005-08-16 16:02:45 +00:00
Oliver Stieber d708acd979 Back out the previous stencil patch and slightly improve on the old
functionality.
2005-08-03 11:01:15 +00:00
Oliver Stieber b9efc4d26c Allow running opengl and DirectX applications without stencil support,
an earlier patch assumed that stencil support was available, but it
isn't in all cases.
2005-07-22 09:05:04 +00:00
Oliver Stieber d760208a5a Make sure that the OpenGL visual created for a window has a stencil
buffer.
2005-07-05 10:58:41 +00:00
Alexandre Julliard 8ba32b3f9b Delay OpenGL and GDI initialization until they are needed. 2005-06-29 19:28:06 +00:00
Raphael Junqueira 075f8cfe8f Fix X11DRV_ChoosePixelFormat to choose 24 bpp as 32 bpp for depth
buffers (needed as many X11 drivers only support 24bpp).
2005-05-10 08:26:08 +00:00
Francois Gouget 63b596d7ea Tweak the documentation to make winapi_check happy. 2005-05-06 14:33:02 +00:00
Raphael Junqueira 9e034b7fb8 - valid implementation of X11DRV_ChoosePixelFormat using GLX1.3 API
(ie. using real card caps and not ugly way using visuals array) to
  be compatible with opengl32 pixel formats (wgl*PixelFormat* APIs) as
  they need to be the same
- add more traces to xrandr
2005-04-28 18:29:12 +00:00
Alexandre Julliard 036dcf2a2a Include Xmd.h in x11drv.h with the proper defines to make it work, and
remove related hacks in various C files.
2005-04-14 12:48:11 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Alexandre Julliard 294c8af60b Removed some unnecessary inclusions of gdi.h. 2004-01-20 22:48:57 +00:00
Alexandre Julliard 4715f13209 Moved all the files in graphics/x11drv to dlls/x11drv. 2003-12-05 00:20:27 +00:00