Commit Graph

102 Commits

Author SHA1 Message Date
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
Alexandre Julliard d900547f58 opengl32: Update to the current OpenGL spec.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 12:59:34 +02:00
Henri Verbeet 3eaa23cbbf winex11: Implement WGL_ARB_create_context_no_error.
Mostly because it's easy, and we'd like to use this from wined3d at some
point.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 21:30:51 +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
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
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
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
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
Matteo Bruni 9e45ae0413 opengl32: Introduce wrappers for glGetIntegerv and glGetStringi. (v3). 2015-02-11 22:22:57 +09:00
Matteo Bruni d6450cfad5 opengl32: Update to GL 4.5. 2015-01-15 22:12:57 +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
Ken Thomases 46c7acadd7 opengl32: Fix Perl compilation errors in make_opengl script. 2014-01-16 10:52:56 +01:00
Rico Schüller 2fa9b7ebb5 opengl32: Use opengl xml registry files. 2013-11-05 20:38:21 +01:00
Rico Schüller 465673a3d6 opengl32: Fix some style issues. 2013-11-05 20:38:21 +01:00
Rico Schüller 3c08b95b3b opengl32: Use variables for file names. 2013-11-05 20:38:21 +01:00
Alexandre Julliard 2480c9395b opengl32: Get rid of wine_ prefix on generated functions. 2012-11-08 15:37:45 +01:00
Alexandre Julliard a56c5b185e opengl32: Don't substitute OpenGL types that are already defined in wgl.h. 2012-11-07 18:12:04 +01:00
Alexandre Julliard fdc1f2d432 opengl32: Avoid using the system GL headers. 2012-11-07 18:12:02 +01:00
Alexandre Julliard 70e536f46b opengl32: Generate our own wgl.h header from the OpenGL registry data. 2012-11-07 18:11:52 +01:00
Ken Thomases 26670de210 opengl32: Don't lose __wine_set_pixel_format() declaration during make_opengl. 2012-11-05 11:30:33 +01:00
Alexandre Julliard 05c32b9b89 gdi32: Move the SwapBuffers entry point to the OpenGL driver. 2012-09-10 11:38:28 +02:00
Alexandre Julliard 9713a54b33 opengl32: Update the extension list. 2012-09-10 11:38:27 +02:00
Alexandre Julliard 2c54f8c12c opengl32: Generate null driver entry points for all extension functions. 2012-08-23 21:36:55 +02:00
Alexandre Julliard 96e80c2623 gdi32: Move DescribePixelFormat and SetPixelFormat to the WGL driver. 2012-07-30 22:12:13 +02:00
Alexandre Julliard 5f157e18e2 opengl32: Store the context current DCs on the opengl32 side. 2012-07-25 16:11:05 +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 1b9455e65d opengl32: Add supported wgl extension functions to the OpenGL function table. 2012-07-20 00:40:42 +02:00
Alexandre Julliard 4c0779006e opengl32: Move the wgl functions to the main OpenGL function table. 2012-07-19 22:50:37 +02:00
Alexandre Julliard 782e96b910 opengl32: Declare input pointers as const in function prototypes. 2012-07-19 22:17:14 +02:00
Alexandre Julliard fd9b0e3006 opengl32: Remove redundant fields in the functions hashes. 2012-07-19 00:07:03 +02:00
Alexandre Julliard df91c7bc83 opengl32: Redirect standard OpenGL functions through the TEB function table. 2012-07-18 17:12:29 +02:00
Alexandre Julliard d66fa61e09 opengl32: Call OpenGL extension functions through the TEB function table. 2012-07-18 17:12:21 +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 edb0044e50 opengl32: Generate a function table with null OpenGL entry points and store it in the TEB. 2012-07-18 17:10:45 +02:00
Alexandre Julliard bddea5b5f5 opengl32: Generate a header file containing function tables for all OpenGL functions. 2012-07-18 17:09:25 +02:00
Alexandre Julliard 312dd5297b opengl32: Get rid of the X11 locking. 2012-06-26 17:06:13 +02:00
Alexandre Julliard b6a7a3fe23 opengl32: Generate an entry point for glDebugEntry. 2012-06-26 17:06:13 +02:00
Roderick Colenbrander 29346f28ae opengl32: Sync with latest GL specs. 2012-06-11 11:20:50 +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
Roderick Colenbrander 21bc1ddf93 opengl32: Sync with latest OpenGL extensions. 2009-11-18 15:15:50 +01:00
Stefan Dösinger 4901291990 opengl32: Give wglSwapBuffers a real function, make it hookable. 2009-10-15 14:10:06 +02:00
Roderick Colenbrander 5b5401064a opengl32: Add opengl 3.2 extensions. 2009-08-05 11:19:03 +02:00