Commit Graph

92 Commits

Author SHA1 Message Date
Kodama Nozomi faff3b02fb opengl32/tests: PFD_TYPE_RGBA should be in the iPixelType field, not in the flag field.
Signed-off-by: Kodama Nozomi <nozomi.kodama@yahoo.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-19 16:26:21 +02:00
Sebastian Lackner e07230ed4e opengl32: Add wrappers for glDebugMessageCallback to handle calling convention differences.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38402
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 12:59:43 +02:00
Alex Henrie 1d49ceaa50 opengl/tests: Don't run Pbuffer tests if no Pbuffer can be created.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-04 15:12:16 +02:00
Michael Stefaniuc 54960cd825 opengl32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-04 14:22:48 +02:00
Alexandre Julliard 278c89a846 opengl32: Only output enums for supported extensions, including WGL ones.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-11 19:49:29 +02:00
Alexandre Julliard bbb71620cd opengl32: Get type definitions from the XML files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 18:19:10 +02:00
Alexandre Julliard fd7fbc922a opengl32/tests: Fix wglCreatePbufferARB prototype.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-09 19:55:54 +02:00
Matteo Bruni 4d4a1477dc opengl32/tests: Fix typo in ok() condition.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-15 17:01:22 +02:00
Alexandre Julliard 02eda5ccb9 opengl32: Add some tests for last error with an invalid DC.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-18 20:43:31 +02:00
Daniel Lehman 079463828c opengl32: Don't fail with both PFD_DOUBLEBUFFER_DONTCARE and PFD_STEREO_DONTCARE.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-23 13:58:31 +02:00
Daniel Lehman 53ac519915 opengl32/tests: Add tests for ChoosePixelFormat.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-23 13:58:30 +02:00
Daniel Lehman 55023fc037 opengl32/tests: Fix leak in opengl test (valgrind).
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-07 17:00:31 +01:00
Daniel Lehman 37ee3870a2 opengl32: Set last error on invalid share in wglCreateContextAttribsARB.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-21 20:57:06 +01:00
Daniel Lehman ed4271fae9 opengl32: Set last error on invalid hdc to wglCreateContextAttribsARB.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-21 20:57:06 +01:00
Sebastian Lackner f784360cbe opengl32/tests: Include wgl.h and remove duplicate declarations.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:14:08 +09:00
Bruno Jesus d0803ef1d0 opengl32/tests: Test glGetString() without an active GL context. 2014-06-25 11:51:48 +02:00
Ken Thomases 6696e7d9e1 winex11: Don't reset OpenGL swap interval of window on SetParent(). 2014-03-21 11:17:23 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Frédéric Delanoy eafb3d8fca opengl32/tests: Use BOOL type where appropriate. 2013-10-31 09:58:43 +01:00
Michael Stefaniuc 443f62d2f7 opengl32/tests: Compile with -D__WINESRC__. 2013-10-17 10:44:07 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Roderick Colenbrander 1f47580e9c winex11: Store opengl swap interval with gl_drawable. 2013-05-23 19:02:59 +02:00
Roderick Colenbrander 074d89a078 opengl32: Add a test for WGL_EXT_swap_control. 2013-04-29 20:30:55 +02:00
Alexandre Julliard f950f41bfe Revert "winex11: Refuse to set the pixel format for HWND_MESSAGE windows."
This reverts commit 53806917a3.
Tests show that this is allowed.
2012-10-23 16:39:32 +02:00
Jérôme Gardou dbf1c83632 opengl32/tests: Do not pass NULL attrib list to wglCreatePBufferARB. 2012-08-23 21:33:19 +02:00
Alexandre Julliard 6a3aa4eb49 opengl32: Use proper handles for PBuffers instead of raw pointers. 2012-07-20 12:36:41 +02:00
Alexandre Julliard 5bfd5f3d7b opengl32: Call standard OpenGL functions through the TEB function table. 2012-07-18 17:12:10 +02:00
Alexandre Julliard 55f9e9ff4f opengl32/tests: Run more tests against the GDI renderer. 2012-07-17 11:55:14 +02:00
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