Commit Graph

438 Commits

Author SHA1 Message Date
Michael Stefaniuc 161e90238a opengl32: make_opengl: Do not add explicit casts of function pointers to void pointers. 2008-12-30 12:18:24 +01:00
Huw Davies e86ff2a312 opengl/tests: Skip tests if we can't find a pixel format. 2008-12-05 17:15:56 +01:00
Francois Gouget 822ab7b404 opengl32: Remove WINAPI on static functions where not needed. 2008-11-26 12:10:43 +01:00
Roderick Colenbrander fae40b2176 opengl32: Mark some opengl3 tests as wine_todo. 2008-10-27 11:44:29 +01:00
Roderick Colenbrander 6152941bdf opengl32: Add some updates for recent opengl extensions. 2008-10-20 12:20:19 +02:00
Roderick Colenbrander eb7f85f691 opengl32/tests: Don't call wglGetProcAddress at the start of the test. 2008-10-14 11:26:06 +02:00
Roderick Colenbrander a3dff8af94 opengl32: Add a test case for WGL_ARB_create_context/opengl3. 2008-10-10 14:13:54 +02:00
Roderick Colenbrander ad89d9a2b8 opengl32: Merge recent opengl extensions and prepare for opengl 3.0. 2008-09-30 11:32:58 -05:00
Roderick Colenbrander b09a9ebc76 opengl32: Remove some tests which cause issues on win9x. 2008-09-30 10:13:47 -05:00
Roderick Colenbrander 23b1988f1a opengl32: Add some driver traces to the tests. 2008-09-30 10:13:39 -05:00
Roderick Colenbrander d269a36a81 opengl32: Don't run wgl tests on old gl drivers. 2008-09-29 17:24:29 -05:00
Francois Gouget 809a879807 make_opengl: Avoid the deprecated '$#' construct.
This gets make_opengl to work again with Perl 5.10.
2008-09-29 17:18:29 -05:00
Massimo Del Fedele d6a6b88f19 opengl32: glGetString() should return NULL on NULL context. 2008-07-04 19:34:45 +02:00
Alexandre Julliard 815baba090 winex11: Check for matching pixel format in wglMakeCurrent. 2008-06-18 20:10:47 +02:00
Alexandre Julliard 751b55f4e9 opengl32/tests: Add a couple of test cases for pixel format handle on window DCs. 2008-05-28 17:52:26 +02:00
James Hawkins 0fad82a9c7 opengl32: Trace a test result that fails inconsistently across different drivers. 2008-05-23 12:10:16 +02:00
Francois Gouget d2364d5d27 Add a comment warning when a table must be kept sorted for later use with bsearch(). 2008-05-06 16:11:09 +02:00
Alexandre Julliard 06640efa61 opengl32: Dynamically load libGLU.
Based on a patch by Roderick Colenbrander.
2008-05-01 14:44:49 +02:00
Alexandre Julliard ad79873527 configure: Improve the check for the GLU library. 2008-05-01 13:29:02 +02:00
Roderick Colenbrander 18e704f9aa opengl32: Get rid of X/GLX leftovers. 2008-05-01 10:57:34 +02:00
Roderick Colenbrander 3f89e1a053 opengl32: Drop the ChoosePixelFormat test as it is very unreliable. 2008-04-30 13:45:23 +02:00
Austin English 313a85f163 Spelling fixes. 2008-04-17 12:25:57 +02:00
Roderick Colenbrander 616ac380f9 wgl: Fix ChoosePixelFormat behavior. 2008-04-01 11:27:11 +02:00
Markus Amsler f34efcb839 opengl: Allocate DisabledExtensions buffer. 2008-03-24 12:56:49 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Francois Gouget 31137aa197 opengl32/tests: Add the trailing '\n' to an ok() call and make a spelling fix. 2008-02-27 14:52:23 +01:00
Roderick Colenbrander 675988633f wgl: Add a test case for wglCreateContext. 2008-02-25 20:34:58 +01:00
Paul Vriens 82cbbbdb46 opengl32/tests: Only use functions if they are implemented. 2008-02-11 20:41:40 +01:00
Detlef Riekenberg efb13b28df Assorted spelling fixes. 2007-12-08 19:55:39 +01:00
Alexandre Julliard 24241c0847 opengl32: ntdll import is still needed when building without optimizations. 2007-12-08 19:49:22 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Roderick Colenbrander 8295c547f3 wgl: Add wglCopyContext support. 2007-11-12 14:16:44 +01:00
Francois Gouget c4b1195c0c Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
Chris Robinson ebfba49e27 wgl: Remove GL scissors/viewport override. 2007-10-03 11:40:12 +02:00
Chris Robinson 665a8add92 wgl: Override glFinish and glFlush. 2007-09-25 13:33:37 +02:00
Chris Robinson 87e3cd66ab wgl: Don't set a pixel format on windows that already have one. 2007-09-20 16:49:07 +02:00
Chris Robinson d9571c9e6f wgl: Store the fbconfig id with the window when a pixel format is set. 2007-09-18 09:28:06 +02:00
Roderick Colenbrander daceb4564f wgl: Fix wglGetCurrentReadDCARB bugs. 2007-08-23 12:38:39 +02:00
Roderick Colenbrander 0dde222bc5 opengl32: Don't use 64bit gl types. 2007-08-20 22:25:44 +02:00
Roderick Colenbrander c9d4aec1ae opengl32: Fix some gl type bugs. 2007-08-20 11:51:45 +02:00
Paul Vriens d644242169 opengl32/tests: Be a bit more verbose when doing wglGetProcAddress. 2007-08-20 11:50:45 +02:00
Chris Robinson 5e6d3c15e7 wgl: GDI support is not advertised with double buffering. 2007-08-14 20:29:21 +02:00
Chris Robinson 3fc8ac5546 wgl: WGL_COLOR_BITS_ARB does include alpha. 2007-08-06 12:12:08 +02:00
Francois Gouget c7eca6a027 opengl32/tests: Add missing '\n' to ok() call. 2007-08-03 12:44:53 +02:00
Roderick Colenbrander 323d9e428c wgl: SetPixelFormat should fail on the root window. 2007-08-02 12:18:22 +02:00
Roderick Colenbrander 219269c0f1 wgl: GetPixelFormat fix for offscreen formats. 2007-08-02 12:04:33 +02:00
Roderick Colenbrander 802c87d066 opengl32: Relax extension checking. 2007-07-26 11:49:20 +02:00
Alexandre Julliard 5a95cfbd9c configure: Export the shared library extension instead of hardcoding .so. 2007-07-02 14:35:05 +02:00
Andrew Talbot cde845fec5 opengl32: Exclude unused header. 2007-05-16 11:56:01 +02:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Roderick Colenbrander 3e63a9f123 opengl32: Add new extensions. 2007-02-19 12:35:56 +01:00
Jan Zerebecki cfaf5059b2 opengl32: Remove redundant const. 2007-01-25 11:06:03 +01:00
Roderick Colenbrander bef91cd580 opengl32: Fix wglGetProcAddress typo. 2006-12-29 12:49:41 +01:00
Roderick Colenbrander cb42253ff3 opengl32: Add OpenGL 2.1 support and more extensions. 2006-12-28 12:22:15 +01:00
Roderick Colenbrander 402d277765 wgl: Fix wglGetProcAddress bug. 2006-12-28 12:22:08 +01:00
Alexandre Julliard fdcd9859b4 winex11.drv: Get rid of the display pointer in the GL context. 2006-12-12 18:23:34 +01:00
Alexandre Julliard 6e01e4aa51 opengl32: Don't use ENTER_GL/LEAVE_GL around calls to driver functions.
This causes lock inversions when the driver accesses the DC.
2006-12-12 18:21:01 +01:00
Alexandre Julliard de154e738a opengl32: Avoid generating a wrapper for internal functions when we can call the internal one directly. 2006-12-12 17:59:44 +01:00
Ulrich Czekalla 715d0e8409 winex11.drv: Correctly position and clip opengl child windows. 2006-12-12 17:28:12 +01:00
Francois Gouget b2656633a6 Add some documentation headers to make winapi_check happy. 2006-11-13 13:01:15 +01:00
Alexandre Julliard 879da0436a opengl32: Hack to make sure winex11 is loaded before getting function pointers. 2006-11-10 12:37:04 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Roderick Colenbrander 6c4267a1cf opengl32: Use HKCU instead of HKLM. 2006-11-06 12:13:14 +01:00
Roderick Colenbrander 1ef0d0a61a opengl32: Remove glx context. 2006-11-04 12:01:55 +01:00
Roderick Colenbrander 2f8a05e27e wgl: Add extension checking code / glxGetProcAddress protection. 2006-11-03 21:00:29 +01:00
Roderick Colenbrander 88ad69f9bd wgl: Move part of wglGetProcAddress to gdi32. 2006-10-27 12:43:31 +02:00
Roderick Colenbrander 7eea8b9312 wgl: Move wglDeleteContext to gdi32. 2006-10-17 11:14:07 +02:00
Roderick Colenbrander 92e6e46ca9 wgl: Move wglShareLists to gdi32. 2006-10-16 12:05:32 +02:00
Roderick Colenbrander 8c32dd77a3 wgl: Move wglGetCurrentDC to gdi32. 2006-10-16 12:05:20 +02:00
Roderick Colenbrander ad7bc71c0c wgl: Move wglGetCurrentContext to gdi32. 2006-10-16 12:03:47 +02:00
Roderick Colenbrander 8be92001e6 x11drv: Fix building issue. 2006-10-06 12:32:44 +02:00
Michael Stefaniuc d421935df7 opengl32: Win64 printf format warning fixes. 2006-10-05 11:33:17 +02:00
Roderick Colenbrander 95a67ab373 gdi32: Route WGL font code through gdi32.dll. 2006-10-04 10:10:03 +02:00
Roderick Colenbrander 4b212dc401 gdi32: Route WGL context code through gdi32.dll. 2006-10-04 10:07:33 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Roderick Colenbrander 272196f514 winex11.Drv: Remove unneeded wgl exports. 2006-09-26 11:41:46 +02:00
Roderick Colenbrander b669fcaf7b opengl: Move wgl font code to winex11.drv. 2006-09-21 11:45:08 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Roderick Colenbrander 4287bf392b opengl32: Remove unused code. 2006-09-12 14:35:31 +02:00
Roderick Colenbrander 12dbce5c93 winex11.drv: Move WGL extension code to winex11.drv. 2006-09-12 14:35:31 +02:00
Roderick Colenbrander 2b36c4a4c3 winex11.drv: Import glx makecurrent/wglsharelists. 2006-09-11 11:33:02 +02:00
Roderick Colenbrander 9377c23eff winex11.drv: Import glx context code. 2006-09-11 11:31:13 +02:00
Francois Gouget 06f9532dda Assorted spelling fixes. 2006-09-08 11:04:53 +02:00
Roderick Colenbrander 336f34f652 opengl: Fix Mesa/DRI regression. 2006-08-28 11:36:21 +02:00
Roderick Colenbrander f25cea1094 opengl32: Fix ATI OpenGL bug. 2006-08-24 12:07:51 +02:00
Roderick Colenbrander 59dc73b911 x11drv/opengl: Pixel format rewrite. 2006-08-17 11:48:21 +02:00
Alexandre Julliard 1249c64277 opengl32: Make some functions and variables static. 2006-08-02 13:26:36 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
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
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
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
Tom Wickline 5c38e1b561 Version resources cleanup. 2004-11-23 13:59:34 +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
Christian Costa 8bbabd16b7 Added glDeleteObjectBufferATI function.
Fix for types that have a common root.
2004-04-14 23:58:33 +00:00
Tom Wickline 63eab8cca4 Set version to Win XP Service patch 2. 2004-03-31 20:06:40 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Lionel Ulmer 0e999e3c31 - sync up with latest OpenGL specifications
- some fixes in make_opengl to support the new types
2004-03-02 20:54:17 +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
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Michael Günnewig 4d375d1b8b Fixed warnings with gcc option "-Wwrite-strings". 2003-10-04 03:04:45 +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
Dimitrie O. Paun 4ff79add63 Remove some unneeded __WINESRC__ tests from the headers.
Miscellaneous cleanups and fixes.
2003-08-27 02:07:02 +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
Alexandre Julliard c8173ecac3 Avoid empty lines at the end of generated files. 2003-07-11 03:51:38 +00:00
Lionel Ulmer 1f4fea3bf7 Load glXGetProcAddressARB dynamically. 2003-07-11 03:50:19 +00:00
Lionel Ulmer 8def400d1f Only put 'pure' GL 1.2 calls in the 'opengl_norm.c' file. 2003-07-08 21:07:03 +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
Lionel Ulmer 334aacd559 Do not use any typedefs in the GL thunks to prevent all possible
compilation issues.
2003-06-20 21:29:28 +00:00
Lionel Ulmer 9ac8ba1589 Upgrade OpenGL thunks with latest version of OpenGL extension
registry.
2003-06-13 16:31:17 +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 5a96cbfc74 Have the 'make_opengl' in line with the (manually edited) spec file. 2003-04-14 21:34:11 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Alexandre Julliard a9c51cb60b Replaced forwards by normal function declarations. 2003-03-17 00:17:00 +00:00
Lionel Ulmer 649c3d3e3e Support 'stub' wglGetExtensionsStringEXT function. 2003-03-06 22:48:54 +00:00
Lionel Ulmer 4ed280fc81 - update to latest GL spec files
- added KTX Buffer Region extension
2003-03-04 02:17:04 +00:00
Lionel Ulmer 55d4f93e2b Added stub for undocumented 'wglGetDefaultProcAddress' function. 2003-02-11 22:13:54 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Lionel Ulmer 374a7abd65 Implement wglCreateLayerContext for layer 0. 2002-11-30 01:55:59 +00:00
Lionel Ulmer 56ab2b3e91 Load OpenGL library dynamically from x11drv. 2002-11-15 04:16:38 +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 137eed8d9b Moved X flags and libraries out of Make.rules into the makefiles that
need them.
2002-10-01 18:16:19 +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 5da88a2cb9 Support new registered extensions. 2002-07-09 01:59:34 +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 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15: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
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +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 c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Alexandre Julliard c4a336a04d Authors: Charles Vaughn <charlesv@mfos.org>, Lionel Ulmer <lionel.ulmer@free.fr>
- added support for glMTexCoord2fSGIS
- updated to latest OpenGL extensions
2002-03-20 00:58:40 +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
Patrik Stridvall 74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +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
Lionel Ulmer 7fc3a3bf20 - added support for the SGIS multitexture extension.
- misc. other fixes
2001-07-31 00:08:05 +00:00
Alexandre Julliard 9dd5b16382 Added missing ntdll imports. 2001-07-27 19:49:49 +00:00
Lionel Ulmer 4a1a8f2b60 Make sure user32 is always loaded before x11drv. 2001-07-17 00:41:24 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 655b2044d9 Fixed issues found by winapi_check. 2001-07-08 22:32:51 +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
Lionel Ulmer 242d2d6423 Upgrade OpenGL thunks with latest informations from OpenGL spec file. 2001-06-08 18:56:51 +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
Lionel Ulmer 15a4a77a74 - add tracing to OpenGL thunks
- update to latest gl.spec file
2001-03-04 01:05:20 +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
Alexandre Julliard 0618746265 Cleaned up dll startup routines now that we have separate address
spaces.
2001-01-17 22:03:18 +00:00
David Elliott ea186796eb Remove libXXXX.so.1.0 lines from .cvsignore files. 2000-11-30 19:57:34 +00:00
Alexandre Julliard eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Alexandre Julliard 2239abb9f9 Allocate DC objects on the process heap, and removed WIN_DC_INFO
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Alexandre Julliard 2a2321bbca Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38:55 +00:00
Alexandre Julliard e101f6db3b Cleaned up a few inter-dll dependencies. Added a few imports. 2000-08-14 14:42:41 +00:00
Alexandre Julliard 6c9d83aa4c Added imports of user32/gdi32/kernel32 wherever necessary. 2000-08-03 00:04:24 +00:00
Alexandre Julliard 6953d6756c For dlls, derive SPEC_SRCS from MODULE and ALTNAMES. 2000-06-20 20:24:14 +00:00
Lionel Ulmer 83de83e9cf - moved the 'constructor' into a real DLL init function
- make OpenGL32 dependant on the X11 driver
2000-06-12 21:53:46 +00:00
Lionel Ulmer bff705dc23 New OpenGL thunk generation script. 2000-06-12 01:21:18 +00:00
Lionel Ulmer 2f50f0db39 Implemented wglShareLists and wglGetCurrentDC. 2000-05-30 20:04:21 +00:00
Patrik Stridvall 17d1e9e5e2 Fixed issues found by winapi_check. 2000-05-23 23:38:32 +00:00
Lionel Ulmer 1113706c10 - fixed the OpenGL32 spec file (and the make_opengl_spec tool)
- prevent HalfLife from crashing when it frees three times the same
  rendering context
2000-05-23 21:15:06 +00:00
Lionel Ulmer 7e5c2c042a - added option to get double-buffered desktop
- implemented wglUseFontBitmapsA and wglDeleteContext
2000-05-23 01:20:08 +00:00
Patrik Stridvall c654c7edcb Fixed issues found by winapi_check. 2000-05-18 00:07:53 +00:00
Lionel Ulmer 61e4283585 - set debug messages after a TRACE_ON test
- prevent crash when making the NULL context current
2000-05-14 22:53:17 +00:00
Lionel Ulmer bedf40b58b Added support for OpenGL. 2000-05-12 20:18:14 +00:00