Commit Graph

61 Commits

Author SHA1 Message Date
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
Lionel Ulmer 1f4fea3bf7 Load glXGetProcAddressARB dynamically. 2003-07-11 03:50:19 +00:00
Dmitry Timoshkov 4e1ef0c114 For all DLLs with defined DllMain and which do not require
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Michael Schlüter 5e8d015a8c Added wglGetExtensionsStringARB. 2003-05-07 03:18:51 +00:00
Alexandre Julliard 69361e08b9 Moved x11drv.h to dlls/x11drv. 2003-04-22 04:05:08 +00:00
Lionel Ulmer 649c3d3e3e Support 'stub' wglGetExtensionsStringEXT function. 2003-03-06 22:48:54 +00:00
Lionel Ulmer 374a7abd65 Implement wglCreateLayerContext for layer 0. 2002-11-30 01:55:59 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00
Alexandre Julliard 2c40e29987 Import wine_tsx11_lock/unlock directly from x11drv in opengl32 and
ddraw, so that they don't need to link with libwine_tsx11.
Removed header wine_gl.h.
2002-09-25 00:29:56 +00:00
Lionel Ulmer 70d6e282c8 Support wglUseFontBitmapsA when using client-side rendering. 2002-07-08 19:34:26 +00:00
Lionel Ulmer a3f4e7ff3f Detect DCs without fonts and return an error in wglUseBitmapFonts. 2002-07-03 01:16:45 +00:00
Alexandre Julliard 85844e506d Authors: Jesse Allen <uh_ja@gmx.net>, Lionel Ulmer <lionel.ulmer@free.fr>
Added implementation of wglSwapLayerBuffers.
2002-06-10 02:28:42 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard ced71edbd7 Added support for driver-specific escapes in the x11drv to retrieve
X11 information. Finished dll separation of opengl32.
2002-03-23 21:43:56 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Peter Hunnisett 73ab649ced New file msvcrt/excpt.h. Move some stuff out of winnt.h into it. 2002-02-25 20:10:35 +00:00
Lionel Ulmer ce3ab0e76e - better support for extensions functions that do not have the same
name in windows and in Unix.
- support the NV_vertex_array_range extension.
2002-01-02 21:43:19 +00:00
Francois Gouget e5ddd26dd7 When including config.h, include it first. 2001-10-14 16:18:52 +00:00
Alexandre Julliard 649637f53f Added window properties to make some x11drv-specific information
available to higher level code.
2001-06-26 21:10:11 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Alexandre Julliard c559735bf8 Renamed display to gdi_display where it is used for GDI operations, to
allow supporting multiple X connections.
2001-05-11 00:17:47 +00:00
Alexandre Julliard 56a45b2049 Small cleanups. 2001-04-24 23:17:53 +00:00
Gavriel State 4d73ba6e21 - Always use a double-buffered visual if one is available.
- Ensure that all colormaps created use the double-buffered visual if
  it exists. This prevents problems where DRI GL implementations fail
  to work unless the colormap visual matches the window visual matches the
  glX visual.
- Get around similar visual issue with the default GL context created for
  apps that don't create their own contexts before trying to use GL functions.
2001-03-28 01:45:08 +00:00
Jon Griffiths 4ab1558d8a - Remove <string.h> from winnt.h.
- ntdll: complete crt functions, prevent libc imports, fix sscanf.
2001-01-22 02:17:29 +00:00