Commit Graph

378 Commits

Author SHA1 Message Date
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 658b048940 opengl32: Use float type where appropriate in the spec file. 2010-09-01 12:40:07 +02:00
Alexandre Julliard abef41a983 opengl32: Update to the latest GL spec. 2010-09-01 12:39:43 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Francois Gouget 8e7ad19064 opengl32/tests: Add a trailing '\n' to a skip() call. 2010-06-22 20:03:40 +02:00
Roderick Colenbrander 3a5ddab91d opengl32: Add 32-bit bitmap rendering test. 2010-05-14 18:03:02 +02:00
Roderick Colenbrander ab788c7c39 wgl: Make context not current before deleting it. 2010-04-27 12:00:24 -05:00
Roderick Colenbrander b86787e57c wgl: Improve wglDeleteContext threading behavior. 2010-04-27 12:00:14 -05:00
Henri Verbeet 3255b21456 winex11.drv: Allow OpenGL on minimized windows. 2010-04-12 11:38:05 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Roderick Colenbrander e18afef774 opengl32: Add OpenGL 3.3/4.0 extensions. 2010-03-15 13:28:25 +01:00
Roderick Colenbrander 6c84c3f9ad opengl32: Update opengl extensions. 2010-03-02 11:52:35 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Roderick Colenbrander c89fb41f80 opengl32: Fix wglCreateContextAttribsARB test on nvidia. 2009-11-24 15:53:36 +01:00
Roderick Colenbrander ddaf23842b opengl32: Fix another wglCreateContextAttribsARB test on Nvidia. 2009-11-23 15:25:39 +01:00
Roderick Colenbrander ca1d79b26c opengl32: Fix wglCreateContextAttribsARB test on vista/win7 where Nvidia drivers return hresults instead of win32 errors. 2009-11-23 15:25:39 +01:00
Roderick Colenbrander 19316ff8cb opengl32: Get rid of invalid opengl 0.0 test.
The test passes on windows using AMD and Nvidia but not on AMD on
linux. A close look at the spec shows that behavior of a version lower
than 3.0 is up to the driver.
2009-11-19 11:47:33 +01:00
Roderick Colenbrander 1874f314e2 opengl32: No display driver supports windowless opengl3 rendering and likely no driver will ever will. 2009-11-19 11:47:14 +01:00
Roderick Colenbrander 21bc1ddf93 opengl32: Sync with latest OpenGL extensions. 2009-11-18 15:15:50 +01:00
Roderick Colenbrander 41f061ea1b wgl: Add initial WGL_ARB_create_context support. 2009-11-18 11:39:57 +01:00
Roderick Colenbrander 9120e9baeb opengl32/tests: fix wglShareLists error messages. 2009-11-16 12:43:07 +01:00
Stefan Dösinger 4901291990 opengl32: Give wglSwapBuffers a real function, make it hookable. 2009-10-15 14:10:06 +02:00
Alexandre Julliard 8349b13453 opengl32/tests: Use explicit prototypes for function pointers. 2009-10-02 15:06:59 +02:00
Rico Schüller 9bd2ce97f5 opengl32/tests: Improve test for wglMakeCurrent. 2009-09-22 17:47:16 +02:00
Roderick Colenbrander 5b5401064a opengl32: Add opengl 3.2 extensions. 2009-08-05 11:19:03 +02:00
Francois Gouget 03584b4ff6 Assorted spelling fixes. 2009-06-22 13:32:01 +02:00
Alexandre Julliard cd8f5c86ef opengl32: Make the script default to version 1.1. Remove the glGetLevelParameter stubs. 2009-06-11 11:53:40 +02:00
Roderick Colenbrander ab20785b1b opengl32: Get rid of glext.h. 2009-06-11 11:46:43 +02:00
Roderick Colenbrander 16439a430c opengl32: Sync with the latest opengl 3.1 extensions and don't export opengl32 1.2 functions. 2009-06-11 11:46:37 +02:00
Alexandre Julliard 926681fead opengl32: Generate the correct trace arguments for UINT64 types. 2009-05-28 15:23:10 +02:00
Roderick Colenbrander 2bec5b14d2 wgl: Add a test for WGL_ACCELERATION_ARB and the PFD_GENERIC_* flags. 2009-05-20 10:51:25 +02:00
Roderick Colenbrander 03c6a0d9d1 opengl32: Add a wglShareLists test. 2009-05-12 11:21:13 +02:00
Michael Stefaniuc d2fdc2d10b opengl32: Remove superfluous pointer casts. 2009-04-14 11:29:41 -05:00
Roderick Colenbrander ef385d2e7a opengl32: Update with the latest OpenGL extensions. 2009-04-06 11:16:20 +02:00
Francois Gouget 3d777d6e61 opengl32/tests: Replace a couple of trace()s with skip()s. 2009-02-24 16:57:27 +01:00
Francois Gouget 08637ac368 opengl32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-24 16:57:27 +01:00
Alexandre Julliard cb0113ec53 opengl32: Automatically download the GL spec files in make_opengl. Add a default value for the OpenGL version. 2009-01-08 12:29:39 +01:00
Alexandre Julliard fdd1bdf7c8 opengl32: Use INT_PTR instead of ptrdiff_t in generated code to avoid printf warnings. 2009-01-08 12:15:47 +01:00
Alexandre Julliard 03a83c49db opengl32: Define an enum for extensions to make diffs smaller when adding new extensions. 2008-12-30 12:23:40 +01:00
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