Commit Graph

146 Commits

Author SHA1 Message Date
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
Alexandre Julliard cac3301854 opengl32: Make all the function pointers and thunks static. 2006-06-09 16:11:38 +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
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Raphael Junqueira 38c54b9d3b Fix incorrect implementation of WGL_COLOR_BITS_ARB. 2005-11-24 19:21: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 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
H. Verbeet f469b6f8de Fix missing prototypes when using nVidia OpenGL headers. 2005-09-28 18:12:00 +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
Eric Pouech 2510658d8b Now generating argument-less functions as (void) instead of (). 2005-06-27 09:46:35 +00:00
Alexandre Julliard aa0b9aac0d Sort entry points alphabetically. 2005-06-22 18:38:23 +00:00
Vitaly Lipatov be2092266e Initialize extensions after correct context is created. 2005-06-21 20:03:18 +00:00
Lionel Ulmer 039beeea8f Remove some FIXMEs and replace them with TRACEs. 2005-06-12 11:08:04 +00:00
Francois Gouget 62253b752f Assorted spelling fixes. 2005-05-30 09:56:56 +00:00
Francois Gouget c887d0809c Add 'use strict' and fix make_opengl accordingly.
Add function prototypes.
Write "$a $b" rather than the more complex $a . " " . $b.
Document which OpenGL spec files need to be downloaded.
Update the documentation of the list of supported OpenGL versions.
Tweak the usage so it always reports the right command name.
2005-05-20 18:58:10 +00:00
Alexandre Julliard 89faddae8e Added yet another missing OpenGL define. 2005-05-13 13:59:00 +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
Aric Cyr d7d1101d31 Fix WGL_ACCELERATION_ARB queries from applications. 2005-05-09 19:31:33 +00:00
Francois Gouget 5f0031eb3b Define GLX_SAMPLE_BUFFERS_ARB and GLX_SAMPLES_ARB if they were not
defined by the OpenGL headers.
2005-05-09 19:30:53 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +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
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +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
Tom Wickline e4a3c2e4ee Sync to the latest opengl specs. 2005-04-11 14:24:27 +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
Raphael Junqueira 29d7b8170b - implement partial PBuffer support
- minimal pixel format support
2005-02-24 12:48:47 +00:00
Tom Wickline eab1f45271 Sync to latest OpenGL specifications. 2005-02-10 20:29:39 +00:00
Troy Rollo 27f87ca2b9 Add stubs for wglSwapIntervalEXT & wglGetSwapIntervalEXT. 2005-01-31 11:32:13 +00:00