Huw Davies
ac5a024a5c
opengl32: Fix the returned metrics and add a translation vector to the end of each list.
2006-06-28 15:38:48 +02:00
Huw Davies
53348f8966
opengl32: If there's no glX context don't return a wgl context.
2006-06-23 11:53:32 +02:00
Alexandre Julliard
ad5e02e604
opengl32: Store function pointers in a separate array to avoid a bunch of relocations.
2006-06-09 18:13:09 +02:00
Alexandre Julliard
3e68508ecd
opengl32: Only store the glX name if different from the wgl name.
2006-06-09 16:26:44 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Michael Stefaniuc
a87520036f
janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
...
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Tomas Carnecky
3a3a0b3013
opengl: Properly use glXQueryDrawable() to get the Visual ID.
2006-05-09 12:39:30 +02:00
Tomas Carnecky
56de92d795
opengl: Put OpenGL setup functions into their own debug channel.
2006-03-27 11:30:50 +02:00
Mike Hearn
253a2d089c
opengl32: Optimize thunks by storing GL context in the thread environment block.
2006-03-21 11:27:13 +01:00
Huw Davies
4eb4546f21
opengl32: Implement wglUseFontOutlines.
2006-03-08 11:34:18 +01:00
Huw Davies
13268261bb
opengl: Sync a dibsection to its pixmap before drawing to it via opengl.
2006-02-02 13:23:55 +01:00
Huw Davies
586ed7d458
opengl: Use indirect contexts if the surface is a pixmap.
2006-01-11 12:10:04 +01:00
Raphael Junqueira
2d708edc5f
opengl: Fix last wgl regression.
...
Fix wgl regression: test glx server version and extensions to use (and
not use glXQueryDrawable on older glx implementations).
2005-12-22 13:54:01 +01:00
Huw Davies
412cb77d51
opengl: Add support for rendering on bitmaps.
2005-12-19 17:45:13 +01:00
Raphael Junqueira
1399edb092
opengl: render_texture
...
- better render_texture emulation (using pbuffers)
- support GLX_ATI_render_texture for render_texture
2005-12-08 12:45:07 +01:00
Aric Cyr
d0713d28e2
Move standard WGL function declarations to wingdi.h.
...
dlls/opengl32/wgl.h is now empty and no longer needed.
2005-12-03 18:01:51 +01:00
Raphael Junqueira
902edb117c
Added some checks on wglCreatContext to avoid problems (and
...
SetLastErrors).
2005-11-30 18:26:16 +01:00
Raphael Junqueira
2a0b18dce4
Fixed crash in wglShareList.
2005-11-29 10:43:38 +01: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
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Martin Fuchs
9f9fd4080b
Correct WINAPI position for MSVC portability.
2005-11-02 20:51:41 +00:00
Alexandre Julliard
9f859692f9
Replace DPRINTF by TRACE in a few places.
2005-09-25 15:23:21 +00:00
Alexandre Julliard
261e376495
Fixed a number of pointer to integer conversions that wouldn't work
...
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Mike McCormack
98520ef499
gcc 4.0 warning fixes.
2005-08-10 09:48:58 +00:00
Mike McCormack
d7b9a23afd
gcc 4.0 -Wpointer-sign fixes (Reg* functions).
2005-07-06 19:08:05 +00:00
Vitaly Lipatov
be2092266e
Initialize extensions after correct context is created.
2005-06-21 20:03:18 +00:00
Raphael Junqueira
1291a1a250
- better robustness of pbuffer code (checks, SetLastError as specs, etc...).
...
- better heuristic for WGL_render_texture and first try of
WGL_render_texture "emulation" using Pbuffers (deactivated by
default)
- more traces
2005-05-12 09:55:44 +00:00
Raphael Junqueira
0d8cf03809
Fix allocated buffer size to avoid buffer overflow.
2005-05-10 13:15:12 +00:00
Alexandre Julliard
c3116c5e61
Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively
...
to follow the namespace conventions and make it clear that they are
drivers and not dlls.
Moved the graphics driver configuration to HKLM\Software\Wine\Drivers.
2005-05-06 19:38:50 +00:00
Raphael Junqueira
44cfc89849
- implement wglGetCurrentReadDCARB, wglMakeContextCurrentARB on
...
openGL32 (wgl_ext)
- add code to disable some openGL extensions support using wine
registry key HKLM\Software\Wine\OpenGL\DisabledExtensions (list
separated by spaces)
- valid/robust implementation of wglChoosePixelFormatARB and
wglGetPixelFormatAttribivARB (wgl_ext)
2005-04-28 18:31:15 +00:00
Peter Berg Larsen
e732fc023d
Janitorial: Get rid of strncpy/strncpyW.
2005-03-28 14:17:51 +00:00
Raphael Junqueira
695f316c3a
- implements WGL_ARB_render_texture support (no more stubs)
...
- pass glXGetProcAddressARB ptr to initialise function
2005-03-10 11:13:33 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
Hans Leidekker
719a789792
Fix signed/unsigned comparison warnings.
2004-09-22 02:46:38 +00:00
Lionel Ulmer
9f331f489f
Convert mostly useless ERR to WARN message.
2004-09-01 22:46:40 +00:00
Andreas Mohr
5d91a63add
Move some OpenGL defines from the private wgl.h header to where they
...
belong.
2004-08-16 20:07:06 +00:00
Lionel Ulmer
7cff5d8fa9
Handle proper substraction of unsigned numbers.
2004-02-25 01:25:49 +00:00
Lionel Ulmer
51ec927c94
- fix 'empty' glyphs
...
- implement proper bitmap coordinates
2004-02-24 01:21:43 +00:00
Lionel Ulmer
8fec392eaa
Use the NULL matrix instead of giving a badly filled identity matrix.
2004-02-24 00:58:39 +00:00
Alexandre Julliard
a2e2e18586
Avoid a few more GetModuleHandle calls.
2004-02-12 00:35:01 +00:00
Lionel Ulmer
036c4b73eb
Beginning of infrastructure to support WGL extensions.
2004-02-07 01:29:33 +00:00
Alexandre Julliard
294c8af60b
Removed some unnecessary inclusions of gdi.h.
2004-01-20 22:48:57 +00:00
Lionel Ulmer
b945bfd3a4
Implement wglUseFontBitmapsW.
2004-01-06 00:36:13 +00:00
Alexandre Julliard
1dcc247562
Removed now useless call to glXQueryExtensionsString.
2003-12-05 04:43:20 +00:00
Daniel Skorka
1ce53bd2b1
Fixed a problem using glXGetProcAddresARB with bad OpenGL libs.
2003-12-02 05:27:00 +00:00
Mike McCormack
6c579880c9
Add missing LF in trace message.
2003-09-17 20:04:25 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Patrik Stridvall
ba78aac406
Fixed some issues found by winapi_check.
2003-08-08 21:07:23 +00:00
Lionel Ulmer
aa95df0d94
Check if 'GLX_ARB_get_proc_address' is supported before using
...
glXGetProcAddressARB.
2003-07-11 21:53:26 +00:00