Commit Graph

64 Commits

Author SHA1 Message Date
Alexandre Julliard 676194383c opengl32: Don't allow making a thread current in multiple threads. 2012-06-29 20:41:35 +02:00
Alexandre Julliard 0045ec9dfb opengl32: Use proper handles for GL contexts and pass a context pointer to the WGL driver functions. 2012-06-29 20:41:34 +02:00
Roderick Colenbrander 71faef0f50 opengl32: Disable wglGetProcAddress for core GL 1.0/1.1 functions. 2012-06-26 17:06:11 +02:00
Roderick Colenbrander c9962bbb58 opengl32: Check for valid context in wglGetProcAddress. 2012-06-25 10:39:11 +02:00
Roderick Colenbrander e80d6199dc opengl32: Add wglGetProcAddress tests. 2012-06-11 11:22:38 +02:00
Alexandre Julliard 1157ccccd7 opengl32/tests: Add some more tests for bitmap rendering. 2012-05-09 17:37:37 +02:00
Alexandre Julliard 1392bfce3c gdi32: Pass OpenGL calls through to the display driver from the DIB engine. 2012-05-09 17:37:37 +02:00
Henri Verbeet ef5a99d5e0 opengl32/tests: Add a test for GL on window DCs. 2011-05-05 11:45:05 +02:00
Matteo Bruni bc3ba2f06e opengl32/tests: Improve window destroy tests. 2011-03-31 12:43:41 +02:00
Matteo Bruni 1902e1cb93 winex11.drv: Fix wglMakeContextCurrent with an invalid drawable. 2011-03-31 12:42:35 +02:00
Matteo Bruni 8818c1d8b6 opengl32/tests: Add a test for window destroy with wglMakeContextCurrentARB. 2011-03-31 12:42:24 +02:00
Matteo Bruni 716df1c2d2 winex11.drv: Make wglMakeCurrent return the correct error when the drawable is invalid. 2011-03-30 13:28:04 +02:00
Matteo Bruni 6af0bef46a opengl32/tests: Test using a GL context after the drawable is destroyed. 2011-03-30 13:28:04 +02:00
Andrew Nguyen 1579ab0e01 winex11.drv: Set last error to ERROR_BUSY when attempting to delete a cross-thread context in wglDeleteContext. 2010-11-08 18:12:58 +01:00
Andrew Nguyen c4a8de92c4 winex11.drv: Ensure that the WGL context is removed from the context list in wglDeleteContext. 2010-11-08 18:12:58 +01:00
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 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
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 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
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
Francois Gouget 03584b4ff6 Assorted spelling fixes. 2009-06-22 13:32:01 +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
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
Huw Davies e86ff2a312 opengl/tests: Skip tests if we can't find a pixel format. 2008-12-05 17:15:56 +01:00
Roderick Colenbrander fae40b2176 opengl32: Mark some opengl3 tests as wine_todo. 2008-10-27 11:44:29 +01: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 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
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
Roderick Colenbrander 3f89e1a053 opengl32: Drop the ChoosePixelFormat test as it is very unreliable. 2008-04-30 13:45:23 +02:00