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
Louis Lenders
8a2e38cc45
opengl32: Use wrappers for wglCreateContext and wglMakeCurrent instead of directly forwarding to gdi32.
2011-11-02 16:12:41 +01:00
Frédéric Delanoy
812c06ae94
opengl32: Avoid superfluous (void*) cast in LOAD_FUNCPTR macro.
2011-10-24 12:39:06 +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
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
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
Henri Verbeet
3255b21456
winex11.drv: Allow OpenGL on minimized windows.
2010-04-12 11:38:05 +02:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Roderick Colenbrander
e18afef774
opengl32: Add OpenGL 3.3/4.0 extensions.
2010-03-15 13:28:25 +01:00
Roderick Colenbrander
6c84c3f9ad
opengl32: Update opengl extensions.
2010-03-02 11:52:35 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Roderick Colenbrander
c89fb41f80
opengl32: Fix wglCreateContextAttribsARB test on nvidia.
2009-11-24 15:53:36 +01:00
Roderick Colenbrander
ddaf23842b
opengl32: Fix another wglCreateContextAttribsARB test on Nvidia.
2009-11-23 15:25:39 +01:00
Roderick Colenbrander
ca1d79b26c
opengl32: Fix wglCreateContextAttribsARB test on vista/win7 where Nvidia drivers return hresults instead of win32 errors.
2009-11-23 15:25:39 +01:00
Roderick Colenbrander
19316ff8cb
opengl32: Get rid of invalid opengl 0.0 test.
...
The test passes on windows using AMD and Nvidia but not on AMD on
linux. A close look at the spec shows that behavior of a version lower
than 3.0 is up to the driver.
2009-11-19 11:47:33 +01:00
Roderick Colenbrander
1874f314e2
opengl32: No display driver supports windowless opengl3 rendering and likely no driver will ever will.
2009-11-19 11:47:14 +01:00
Roderick Colenbrander
21bc1ddf93
opengl32: Sync with latest OpenGL extensions.
2009-11-18 15:15:50 +01:00
Roderick Colenbrander
41f061ea1b
wgl: Add initial WGL_ARB_create_context support.
2009-11-18 11:39:57 +01:00
Roderick Colenbrander
9120e9baeb
opengl32/tests: fix wglShareLists error messages.
2009-11-16 12:43:07 +01:00
Stefan Dösinger
4901291990
opengl32: Give wglSwapBuffers a real function, make it hookable.
2009-10-15 14:10:06 +02:00
Alexandre Julliard
8349b13453
opengl32/tests: Use explicit prototypes for function pointers.
2009-10-02 15:06:59 +02:00
Rico Schüller
9bd2ce97f5
opengl32/tests: Improve test for wglMakeCurrent.
2009-09-22 17:47:16 +02:00
Roderick Colenbrander
5b5401064a
opengl32: Add opengl 3.2 extensions.
2009-08-05 11:19:03 +02:00
Francois Gouget
03584b4ff6
Assorted spelling fixes.
2009-06-22 13:32:01 +02:00
Alexandre Julliard
cd8f5c86ef
opengl32: Make the script default to version 1.1. Remove the glGetLevelParameter stubs.
2009-06-11 11:53:40 +02:00
Roderick Colenbrander
ab20785b1b
opengl32: Get rid of glext.h.
2009-06-11 11:46:43 +02:00
Roderick Colenbrander
16439a430c
opengl32: Sync with the latest opengl 3.1 extensions and don't export opengl32 1.2 functions.
2009-06-11 11:46:37 +02:00
Alexandre Julliard
926681fead
opengl32: Generate the correct trace arguments for UINT64 types.
2009-05-28 15:23:10 +02:00
Roderick Colenbrander
2bec5b14d2
wgl: Add a test for WGL_ACCELERATION_ARB and the PFD_GENERIC_* flags.
2009-05-20 10:51:25 +02:00
Roderick Colenbrander
03c6a0d9d1
opengl32: Add a wglShareLists test.
2009-05-12 11:21:13 +02:00
Michael Stefaniuc
d2fdc2d10b
opengl32: Remove superfluous pointer casts.
2009-04-14 11:29:41 -05:00
Roderick Colenbrander
ef385d2e7a
opengl32: Update with the latest OpenGL extensions.
2009-04-06 11:16:20 +02:00
Francois Gouget
3d777d6e61
opengl32/tests: Replace a couple of trace()s with skip()s.
2009-02-24 16:57:27 +01:00
Francois Gouget
08637ac368
opengl32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-24 16:57:27 +01:00
Alexandre Julliard
cb0113ec53
opengl32: Automatically download the GL spec files in make_opengl. Add a default value for the OpenGL version.
2009-01-08 12:29:39 +01:00
Alexandre Julliard
fdd1bdf7c8
opengl32: Use INT_PTR instead of ptrdiff_t in generated code to avoid printf warnings.
2009-01-08 12:15:47 +01:00
Alexandre Julliard
03a83c49db
opengl32: Define an enum for extensions to make diffs smaller when adding new extensions.
2008-12-30 12:23:40 +01:00
Michael Stefaniuc
161e90238a
opengl32: make_opengl: Do not add explicit casts of function pointers to void pointers.
2008-12-30 12:18:24 +01:00
Huw Davies
e86ff2a312
opengl/tests: Skip tests if we can't find a pixel format.
2008-12-05 17:15:56 +01:00
Francois Gouget
822ab7b404
opengl32: Remove WINAPI on static functions where not needed.
2008-11-26 12:10:43 +01:00
Roderick Colenbrander
fae40b2176
opengl32: Mark some opengl3 tests as wine_todo.
2008-10-27 11:44:29 +01:00
Roderick Colenbrander
6152941bdf
opengl32: Add some updates for recent opengl extensions.
2008-10-20 12:20:19 +02:00
Roderick Colenbrander
eb7f85f691
opengl32/tests: Don't call wglGetProcAddress at the start of the test.
2008-10-14 11:26:06 +02:00
Roderick Colenbrander
a3dff8af94
opengl32: Add a test case for WGL_ARB_create_context/opengl3.
2008-10-10 14:13:54 +02:00
Roderick Colenbrander
ad89d9a2b8
opengl32: Merge recent opengl extensions and prepare for opengl 3.0.
2008-09-30 11:32:58 -05:00
Roderick Colenbrander
b09a9ebc76
opengl32: Remove some tests which cause issues on win9x.
2008-09-30 10:13:47 -05:00
Roderick Colenbrander
23b1988f1a
opengl32: Add some driver traces to the tests.
2008-09-30 10:13:39 -05:00
Roderick Colenbrander
d269a36a81
opengl32: Don't run wgl tests on old gl drivers.
2008-09-29 17:24:29 -05:00
Francois Gouget
809a879807
make_opengl: Avoid the deprecated '$#' construct.
...
This gets make_opengl to work again with Perl 5.10.
2008-09-29 17:18:29 -05:00
Massimo Del Fedele
d6a6b88f19
opengl32: glGetString() should return NULL on NULL context.
2008-07-04 19:34:45 +02:00
Alexandre Julliard
815baba090
winex11: Check for matching pixel format in wglMakeCurrent.
2008-06-18 20:10:47 +02:00
Alexandre Julliard
751b55f4e9
opengl32/tests: Add a couple of test cases for pixel format handle on window DCs.
2008-05-28 17:52:26 +02:00
James Hawkins
0fad82a9c7
opengl32: Trace a test result that fails inconsistently across different drivers.
2008-05-23 12:10:16 +02:00
Francois Gouget
d2364d5d27
Add a comment warning when a table must be kept sorted for later use with bsearch().
2008-05-06 16:11:09 +02:00
Alexandre Julliard
06640efa61
opengl32: Dynamically load libGLU.
...
Based on a patch by Roderick Colenbrander.
2008-05-01 14:44:49 +02:00
Alexandre Julliard
ad79873527
configure: Improve the check for the GLU library.
2008-05-01 13:29:02 +02:00
Roderick Colenbrander
18e704f9aa
opengl32: Get rid of X/GLX leftovers.
2008-05-01 10:57:34 +02:00
Roderick Colenbrander
3f89e1a053
opengl32: Drop the ChoosePixelFormat test as it is very unreliable.
2008-04-30 13:45:23 +02:00
Austin English
313a85f163
Spelling fixes.
2008-04-17 12:25:57 +02:00
Roderick Colenbrander
616ac380f9
wgl: Fix ChoosePixelFormat behavior.
2008-04-01 11:27:11 +02:00
Markus Amsler
f34efcb839
opengl: Allocate DisabledExtensions buffer.
2008-03-24 12:56:49 +01:00
Rob Shearman
48000893f9
makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
...
Only specify the root to keep platform-specifics out of the individual
DLL makefiles.
2008-03-04 20:55:01 +01:00
Francois Gouget
31137aa197
opengl32/tests: Add the trailing '\n' to an ok() call and make a spelling fix.
2008-02-27 14:52:23 +01:00
Roderick Colenbrander
675988633f
wgl: Add a test case for wglCreateContext.
2008-02-25 20:34:58 +01:00
Paul Vriens
82cbbbdb46
opengl32/tests: Only use functions if they are implemented.
2008-02-11 20:41:40 +01:00
Detlef Riekenberg
efb13b28df
Assorted spelling fixes.
2007-12-08 19:55:39 +01:00
Alexandre Julliard
24241c0847
opengl32: ntdll import is still needed when building without optimizations.
2007-12-08 19:49:22 +01:00
Alexandre Julliard
ad9396302d
Removed some unneeded imports.
2007-12-06 21:24:24 +01:00
Roderick Colenbrander
8295c547f3
wgl: Add wglCopyContext support.
2007-11-12 14:16:44 +01:00
Francois Gouget
c4b1195c0c
Assorted spelling fixes.
2007-10-23 18:20:27 +02:00
Chris Robinson
ebfba49e27
wgl: Remove GL scissors/viewport override.
2007-10-03 11:40:12 +02:00
Chris Robinson
665a8add92
wgl: Override glFinish and glFlush.
2007-09-25 13:33:37 +02:00
Chris Robinson
87e3cd66ab
wgl: Don't set a pixel format on windows that already have one.
2007-09-20 16:49:07 +02:00
Chris Robinson
d9571c9e6f
wgl: Store the fbconfig id with the window when a pixel format is set.
2007-09-18 09:28:06 +02:00
Roderick Colenbrander
daceb4564f
wgl: Fix wglGetCurrentReadDCARB bugs.
2007-08-23 12:38:39 +02:00
Roderick Colenbrander
0dde222bc5
opengl32: Don't use 64bit gl types.
2007-08-20 22:25:44 +02:00
Roderick Colenbrander
c9d4aec1ae
opengl32: Fix some gl type bugs.
2007-08-20 11:51:45 +02:00