Commit Graph

427 Commits

Author SHA1 Message Date
Alexandre Julliard e4fc05a2f0 Update copyright info for 2018.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 10:12:12 +01:00
Alexandre Julliard c4e9e3fcb9 opengl32: Generate thunks for WGL extensions when possible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-11 19:49:29 +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 fd3d5d6f82 opengl32: Convert the XML parser to use XML::LibXML.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 10:16:03 +02:00
Alexandre Julliard 2abeb7634c opengl32: Remove no longer used support for generating thread-safe thunks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 10:10:41 +02:00
Alexandre Julliard 17dffaac7d opengl32: Get WGL function definitions from the XML files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 10:06:10 +02:00
Alexandre Julliard e8767bed3c opengl32: Store GL extensions in a private XML file instead of Perl arrays.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-09 20:14:56 +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 d6851e6748 opengl32: Update to OpenGL 4.6.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-15 17:01:22 +02:00
Matteo Bruni b4c5d73cc0 opengl32: Support a couple new typedefs in the XML.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-15 17:01:22 +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
Józef Kucia 2901ccceb0 opengl32: Update OpenGL Registry files URLs.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-01 09:26:34 +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
Alexandre Julliard f89d01d94a opengl32: Directly link to glu32.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-07 21:26:41 +02:00
Alexandre Julliard 5fff9bcb63 include: Add a glu.h header.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-07 20:48:28 +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
Alexandre Julliard 1f8974e6e8 Update copyright info for 2017.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-02 16:05:08 +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
Henri Verbeet ffb27c61c0 opengl32: Introduce WGL_WINE_query_renderer.
This is a fairly straightforward adaptation of GLX_MESA_query_renderer to WGL.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-16 12:10:06 +09:00
Matteo Bruni 5c77426d7f opengl32: Move a TRACE to the proper place.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 12:07:43 +09:00
Alexandre Julliard 26d0a0a081 opengl32: Update to the current OpenGL spec.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-13 13:33:25 +09:00
Sebastian Lackner 68867e30b2 opengl32: Ensure extension tables generated by make_opengl contain earliest GL_VERSION for each function.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-13 13:23:40 +09:00
Alexandre Julliard f6998ea4ce Update copyright info for 2016.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-03 20:08:27 +01:00
Sebastian Lackner f915f9db4c opengl32: Add alternative function for glVertexAttribDivisor.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-12 05:26:53 +01:00
Alexandre Julliard 50da224be7 Revert "opengl32: Store alternative function in wglGetProcAddress."
This reverts commit e44f8eaa0f.
It mixes up the driver function and the WINAPI wrapper.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-12 05:24:56 +01:00
Sebastian Lackner e44f8eaa0f opengl32: Store alternative function in wglGetProcAddress.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-10 16:25:59 +09:00
Alexandre Julliard 5c9ddc55dc opengl32: Make it possible to use an alternative in wglGetProcAddress when an extension is missing. 2015-12-09 15:44:51 +09:00
Austin English b54c3811fe opengl32: Add "Not Microsoft" to Copyright string to satisfy CATIA.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 10:59:26 +09:00
Alex Henrie 56c045c68e opengl32: Define the 2D identity matrix once, at the top of the file.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 20:22:37 +09:00
Alex Henrie 268070d9a8 opengl32: Avoid double initialization of variables in WGL functions.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 20:22:37 +09:00
Alex Henrie b4eb8e846b opengl32: Check the minor version when determining extension support.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:21 +09:00
Matteo Bruni 6c6f92ee42 opengl32: Update to the current OpenGL spec. 2015-04-22 14:07:53 +09:00
Francois Gouget 04b09dd68c opengl32: Mark internal symbols with hidden visibility. 2015-03-27 00:12:47 +09:00
Matteo Bruni bfd4836867 opengl32: Return a NULL pointer for functions requiring unsupported or disabled extensions. 2015-02-25 20:35:25 +09:00
Matteo Bruni 9a1f66a4db opengl32: Filter disabled extensions on OpenGL core profile contexts too. 2015-02-25 20:35:24 +09:00
Matteo Bruni 9e45ae0413 opengl32: Introduce wrappers for glGetIntegerv and glGetStringi. (v3). 2015-02-11 22:22:57 +09:00
Ken Thomases 4a6743e913 opengl32: Fix get_current_context_type() to not shift the type bits down.
The result is compared directly with handle type values like HANDLE_CONTEXT
whose meaningful values are in the high nibble.
2015-02-03 12:45:35 +09:00
Matteo Bruni 1e48bbb7ac opengl32: Don't use deprecated functions for extension checking purposes on core profile contexts. 2015-02-02 22:37:11 +09:00
Matteo Bruni cf92569cdd opengl32: Store the OpenGL context version in the handle value. 2015-01-16 20:15:57 +01:00
Matteo Bruni d6450cfad5 opengl32: Update to GL 4.5. 2015-01-15 22:12:57 +01:00
Austin English c62514b953 opengl32: Load dll below 2GB address space. 2014-11-21 18:12:51 +09:00
Bruno Jesus d0803ef1d0 opengl32/tests: Test glGetString() without an active GL context. 2014-06-25 11:51:48 +02:00
Alexandre Julliard b72c8a7680 opengl32: Make sure the function table is initialized in all threads. 2014-06-25 11:51:31 +02:00
Ken Thomases 6696e7d9e1 winex11: Don't reset OpenGL swap interval of window on SetParent(). 2014-03-21 11:17:23 +01:00
Ken Thomases fbf2e243fe opengl32: Download OpenGL registry files even if server certificate can't be verified. 2014-01-16 10:54:30 +01:00