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
Ken Thomases
46c7acadd7
opengl32: Fix Perl compilation errors in make_opengl script.
2014-01-16 10:52:56 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Alexandre Julliard
5e7416e5c8
makefiles: Get rid of the MAKE_DLL_RULES variable.
2014-01-02 12:08:18 +01:00
Frédéric Delanoy
1c53957f08
opengl32: Use BOOL type where appropriate.
2013-11-19 18:47:52 +01:00
Rico Schüller
2fa9b7ebb5
opengl32: Use opengl xml registry files.
2013-11-05 20:38:21 +01:00
Rico Schüller
8a23fbf56f
opengl32: Allow multiple extensions to support the same function.
...
This allows that gl functions are available for different extensions,
e.g. "glVertexP2ui" which is new GL_ARB_vertex_type_2_10_10_10_rev and
also in GL_VERSION_3_3. It is valid to get that function for each gl
version when GL_ARB_vertex_type_2_10_10_10_rev is in the extension list.
On the other hand that function is available, when the gl version is >= 3.3.
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
Frédéric Delanoy
eafb3d8fca
opengl32/tests: Use BOOL type where appropriate.
2013-10-31 09:58:43 +01:00
Frédéric Delanoy
129df098a2
opengl32: 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
Akihiro Sagawa
33e05eb6c5
opengl32: Fix empty glyph handling.
2013-09-23 20:32:25 +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
Andrew Talbot
538a0e4a9e
opengl32: Remove unused variable.
2012-11-26 11:51:36 +01:00
Sam Edwards
001726fcbd
opengl32: Apply correct normals to text rendered with wglUseFontOutlines.
2012-11-08 15:37:50 +01:00
Alexandre Julliard
2480c9395b
opengl32: Get rid of wine_ prefix on generated functions.
2012-11-08 15:37:45 +01:00