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
Alexandre Julliard
a3d896897c
opengl32: Get rid of the extension removal hack in wglGetProcAddress and clean up the tracing.
2012-11-08 15:37:44 +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
Alexandre Julliard
00628bb646
opengl32: Update to the current OpenGL spec.
2012-11-07 13:56:06 +01:00
Sam Edwards
ced7d66a11
opengl32: Implement the wglUseFontOutlines WGL_FONT_LINES format.
2012-11-07 13:55:37 +01:00
Sam Edwards
2a208bd2ad
opengl32: Implement wglUseFontOutlines curve smoothing.
2012-11-05 11:53:44 +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
Sam Edwards
a428416a8a
opengl32: Fix outline-font glyphs rendering with incorrect front faces.
2012-10-29 10:47:04 +01: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
Alexandre Julliard
025f4aed1e
winex11: Move the fps tracing to opengl32.
2012-09-10 11:38:30 +02: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
Michael Stefaniuc
4076e0eb12
opengl32: Avoid conflicting defines for GLAPI / WINGDIAPI.
2012-09-05 11:48:23 +02:00
Michael Stefaniuc
6a6806944c
opengl32: Move the opengl_ext.h include before the other Wine headers.
2012-09-05 11:48:19 +02:00
Alexandre Julliard
2c54f8c12c
opengl32: Generate null driver entry points for all extension functions.
2012-08-23 21:36:55 +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
96e80c2623
gdi32: Move DescribePixelFormat and SetPixelFormat to the WGL driver.
2012-07-30 22:12:13 +02:00
Alexandre Julliard
5923e32ef1
opengl32: Store the modified extension string in the context.
2012-07-25 16:11:16 +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
2077a58c21
opengl32: Allocate a separate context structure to store generic information.
2012-07-25 14:50:25 +02:00
Alexandre Julliard
719db58a92
opengl32: Load GLU functions from glu32.dll instead of the Unix library.
2012-07-23 15:51:14 +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
98bd066c95
opengl32: Add a mechanism for managing different types of OpenGL handles.
2012-07-20 12:27:19 +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
93eff3e862
opengl32: Call all OpenGL functions through the current context table and don't link against libGL.
2012-07-18 17:12:33 +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
55f9e9ff4f
opengl32/tests: Run more tests against the GDI renderer.
2012-07-17 11:55:14 +02:00
Alexandre Julliard
8b97ff3278
opengl32: Mark invalid handles with ffff instead of 0.
2012-07-16 15:21:47 +02:00
Alexandre Julliard
83be88953b
opengl32: Make the WGL driver context-specific.
2012-06-29 20:41:36 +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
d89f7f2563
opengl32: Move checks of the context thread id to opengl32.
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
Alexandre Julliard
855f225498
opengl32: Move wglGetCurrentContext implementation to opengl32.
2012-06-28 18:52:11 +02:00
Alexandre Julliard
edfc7f0de0
opengl32: Move wglGetProcAddress to the WGL driver.
2012-06-28 16:14:55 +02:00
Alexandre Julliard
8a13afedd6
opengl32: Move GetPixelFormat to the WGL driver.
2012-06-28 15:53:14 +02:00
Alexandre Julliard
bbdf77a311
opengl32: Move wglCreateContext to the WGL driver.
2012-06-28 15:47:31 +02:00
Alexandre Julliard
3bcb8057a1
opengl32: Move wglCreateContextAttribsARB to the WGL driver.
2012-06-28 15:07:44 +02:00
Alexandre Julliard
47fe838b15
opengl32: Move wglMakeContextCurrentARB to the WGL driver.
2012-06-28 14:49:49 +02:00
Alexandre Julliard
7a031d9b92
opengl32: Add the concept of a WGL driver.
2012-06-28 14:37:31 +02:00
Julian Rüger
581c705ccc
opengl32: Remove spaces preceding punctuation, streamline some debug messages.
2012-06-28 11:37:04 +02:00
Julian Rüger
2f38107556
opengl32: Fix typos in comments.
2012-06-28 11:37:03 +02:00
Alexandre Julliard
4a367c5719
winex11: Export wglMakeCurrent and wglMakeContextCurrentARB as standard extension functions.
2012-06-28 01:44:03 +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
Alexandre Julliard
370a8c10d2
opengl32: Add a helper function to build the extension list, and do it only when requested.
2012-06-26 17:06:13 +02:00
Alexandre Julliard
b349aa676f
opengl32: Add a helper function to correctly compare extension strings.
2012-06-26 17:06:12 +02:00
Roderick Colenbrander
71faef0f50
opengl32: Disable wglGetProcAddress for core GL 1.0/1.1 functions.
2012-06-26 17:06:11 +02:00
Alexandre Julliard
67e7eda96c
gdi32: Forward SwapBuffers to opengl32 which in turn calls GdiSwapBuffers.
2012-06-26 12:24:15 +02:00
Alexandre Julliard
c013945728
gdi32: Forward SetPixelFormat to opengl32 which in turn calls GdiSetPixelFormat.
2012-06-26 12:24:15 +02:00
Alexandre Julliard
e9f270bd41
gdi32: Forward DescribePixelFormat to opengl32 which in turn calls GdiDescribePixelFormat.
2012-06-26 12:24:14 +02:00
Alexandre Julliard
81cd178ae1
winex11: Move ChoosePixelFormat implementation to opengl32 and base it on DescribePixelFormat.
2012-06-26 12:24:09 +02:00
Alexandre Julliard
66a5995e11
winex11: Move wglGetCurrentContext and wglGetCurrentDC to the internal OpenGL extension functions.
2012-06-25 16:25:44 +02:00
Alexandre Julliard
08efea0218
winex11: Move wglCopyContext and wglDeleteContext to the internal OpenGL extension functions.
2012-06-25 13:52:10 +02:00
Alexandre Julliard
beeba895d3
winex11: Move wglShareLists to the internal OpenGL extension functions.
2012-06-25 13:52:01 +02:00
Alexandre Julliard
1bca4fb5ae
winex11: Move the wglUseFontBitmaps implementation to opengl32, it's no longer driver-dependent.
2012-06-25 11:58:53 +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
Roderick Colenbrander
29346f28ae
opengl32: Sync with latest GL specs.
2012-06-11 11:20:50 +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
Alexandre Julliard
b88b6b74f0
opengl32: Get rid of the DIB section sync support.
2012-01-10 11:24:12 +01:00
Stefan Leichter
97b9fc9e39
opengl32: Added export glDebugEntry to spec file.
2012-01-09 12:52:18 +01:00
Stefan Leichter
03c7dfbd4d
opengl32: Replace the remaining forwards of wgl functions to gdi32.dll in the spec file with wrapper function.
2012-01-06 19:24:29 +01:00