Matteo Bruni
|
6118676c20
|
winex11.drv: Fix attributes conversion in wglCreateContextAttribsARB().
|
2013-04-11 19:32:28 +02:00 |
Alexander Monakov
|
7d61c7b158
|
winex11.drv: Simplify test for pbuffer availability.
|
2013-04-01 13:17:34 +02:00 |
Alexandre Julliard
|
c2d53af33b
|
winex11: Don't use uninitialized variables (Coverity).
|
2013-03-26 17:15:53 +01:00 |
Gerald Pfeifer
|
e835f034fb
|
winex11: Push down variable attrib down in create_gl_drawable.
|
2013-01-28 15:34:48 +01:00 |
Alexandre Julliard
|
951415b602
|
winex11: Store the client window in the window data again, now that it can be accessed from all threads.
|
2013-01-23 19:06:32 +01:00 |
Andrew Talbot
|
9acc966688
|
winex11.drv: Indentation fix.
|
2012-12-24 13:30:11 +01:00 |
Alexandre Julliard
|
e5b18af9e8
|
winex11: Avoid using the system GL headers.
|
2012-11-07 18:12:03 +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 |
Ken Thomases
|
60c60ece80
|
winex11: Fix name of extension WGL_NV_render_texture_rectangle.
|
2012-10-22 11:34:07 +02:00 |
Alexandre Julliard
|
64aed7c5be
|
winex11: Don't delete the DC if it's not for a valid pbuffer.
|
2012-10-18 19:19:42 +02:00 |
Alexandre Julliard
|
c6e0daa200
|
winex11: Recreate the GL drawable when changing the window parent.
|
2012-10-10 20:33:54 +02:00 |
Alexandre Julliard
|
47983d819f
|
winex11: Create a surface even for OpenGL windows, to allow painting the non-client area.
|
2012-10-10 18:56:53 +02:00 |
Alexandre Julliard
|
e41a482890
|
user32: Add a Wine-specific entry point to set the pixel format of a window.
|
2012-10-03 23:08:22 +02:00 |
Alexandre Julliard
|
3d73e0a357
|
winex11: Add a helper function to get a pixel format index.
|
2012-10-03 23:01:19 +02:00 |
Alexandre Julliard
|
4ac1a5ac60
|
winex11: Allow changing the pixel format of a window from a different thread.
|
2012-10-03 11:19:35 +02:00 |
Alexandre Julliard
|
28721d69f4
|
winex11: Get rid of the OpenGL GDI driver.
|
2012-10-02 22:06:06 +02:00 |
Alexandre Julliard
|
05fe1e4e35
|
winex11: Move the FLUSH_GL_DRAWABLE implementation to the main ExtEscape routine.
|
2012-10-02 21:56:43 +02:00 |
Alexandre Julliard
|
d8de77f01e
|
winex11: Pass the source drawable to the FLUSH_GL_DRAWABLE escape.
|
2012-10-02 21:50:54 +02:00 |
Alexandre Julliard
|
53806917a3
|
winex11: Refuse to set the pixel format for HWND_MESSAGE windows.
|
2012-10-02 19:52:41 +02:00 |
Alexandre Julliard
|
988f2fde86
|
winex11: Store the full visual info for the default visual.
|
2012-09-26 14:40:39 +02:00 |
Alexandre Julliard
|
a39659fcc9
|
winex11: Disable client-side rendering for OpenGL windows.
|
2012-09-10 16:16:05 +02:00 |
Alexandre Julliard
|
115d488183
|
winex11: Add helper functions to retrieve drawable information for a window or DC.
|
2012-09-10 11:39:28 +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
|
b4e3674747
|
winex11: Get the information from the drawable structure in SwapBuffers.
|
2012-09-10 11:38:25 +02:00 |
Alexandre Julliard
|
bde5156876
|
winex11: Get the current pixel format from the drawable structure in wglMakeContextCurrentARB.
|
2012-09-07 16:19:17 +02:00 |
Alexandre Julliard
|
11013af0a1
|
winex11: Get the current pixel format from the drawable structure in wglMakeCurrent.
|
2012-09-07 16:19:16 +02:00 |
Alexandre Julliard
|
d52c2de7da
|
winex11: Get the current pixel format from the drawable structure in wglCreateContextAttribsARB.
|
2012-09-07 16:19:15 +02:00 |
Alexandre Julliard
|
c01d723a4f
|
winex11: Get the current pixel format from the drawable structure in wglCreateContext.
|
2012-09-07 16:01:14 +02:00 |
Alexandre Julliard
|
356f9897cd
|
winex11: Store a format pointer instead of an index in the drawable structures.
|
2012-09-07 16:01:13 +02:00 |
Alexandre Julliard
|
bf5e1b6a05
|
winex11: Get the current pixel format from the drawable structure in wglGetPixelFormat.
|
2012-09-07 16:01:10 +02:00 |
Alexandre Julliard
|
4df8f15ff9
|
winex11: Store a drawable structure also for pbuffer contexts.
|
2012-09-07 16:01:03 +02:00 |
Alexandre Julliard
|
ecc8559fe8
|
winex11: Get the current pixel format from the drawable structure for wglSetPixelFormat.
|
2012-09-07 16:00:59 +02:00 |
Alexandre Julliard
|
514eb69584
|
winex11: Store the rectangle of the GL drawable and use it when updating the window size.
|
2012-09-04 15:03:04 +02:00 |
Alexandre Julliard
|
ea07c310ec
|
winex11: Create the whole window at window creation time.
|
2012-09-04 14:11:16 +02:00 |
Alexandre Julliard
|
9f042298f7
|
winex11: Move the GL drawable management to opengl.c.
|
2012-09-03 16:45:51 +02:00 |
Alexandre Julliard
|
5e932efbf6
|
winex11: Remove the redundant pixel format index from the pixel format object.
|
2012-08-15 15:44:00 +02:00 |
Alexandre Julliard
|
451828e169
|
winex11: Make pixel format objects const and get rid of the WineGLPixelFormat typedef.
|
2012-08-15 15:38:05 +02:00 |
Alexandre Julliard
|
b908a72635
|
winex11: Initialize the OpenGL format list at startup and simplify the conversion routines.
|
2012-08-15 15:32:24 +02:00 |
Alexandre Julliard
|
b8cc4d50ef
|
winex11: Add a critical section to protect the OpenGL context list.
|
2012-08-15 14:41:57 +02:00 |
Alexandre Julliard
|
6f6217e9a4
|
winex11: Remove remaining X11 locking around graphics calls.
|
2012-08-14 15:13:21 +02:00 |
Alexandre Julliard
|
6bfcb347bf
|
winex11: Remove X11 locking around simple X calls.
|
2012-08-14 15:13:08 +02:00 |
Michael Stefaniuc
|
43b8858986
|
winex11.drv: Avoid TRUE:FALSE conditional expressions.
|
2012-07-31 12:36:42 +02:00 |
Alexandre Julliard
|
96e80c2623
|
gdi32: Move DescribePixelFormat and SetPixelFormat to the WGL driver.
|
2012-07-30 22:12:13 +02:00 |
Alexandre Julliard
|
917fe72bb0
|
winex11: Get rid of the OpenGL bitmap support.
|
2012-07-27 17:05:29 +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
|
f3e1e46c85
|
winex11: Add a helper function to correctly check extension strings.
|
2012-07-24 17:37:50 +02:00 |
Francois Gouget
|
baf0a74b11
|
winex11.drv: Don't include wgl_driver.h if OpenGL is not supported.
|
2012-07-23 19:53:49 +02:00 |
Alexandre Julliard
|
72e873873e
|
winex11: Get rid of the glGetIntegerv wrapper.
|
2012-07-20 13:21:25 +02:00 |
Alexandre Julliard
|
76ae99a426
|
winex11: Remove unused fields in the PBuffer object.
|
2012-07-20 12:36:44 +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
|
101bdf425b
|
winex11: Use the function table pointer to call dynamically loaded OpenGL functions.
|
2012-07-18 19:51:09 +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
|
33ca17e1e9
|
winex11: Fill a function table with the standard OpenGL functions and store it in the TEB.
|
2012-07-18 17:11:42 +02:00 |
Alexandre Julliard
|
4b0f27f664
|
winex11: Get rid of the no longer needed drawable rect in the X11 device.
|
2012-07-12 16:05:37 -05:00 |
Dmitry Timoshkov
|
6173e6bfb6
|
winex11.drv: Avoid conflicting definitions of WINGDIAPI.
|
2012-07-09 09:59:32 -04:00 |
Alexandre Julliard
|
241ab9257c
|
winex11: Use the correct drawable with the X11DRV_GET_DRAWABLE escape.
|
2012-07-03 16:56:40 +02:00 |
Alexandre Julliard
|
39819d1e8b
|
winex11: Replace wgl.h by the official wglext.h from the OpenGL registry.
|
2012-07-02 19:17:41 +02:00 |
Alexandre Julliard
|
19fcc230d0
|
winex11: Move GLX definitions out of wgl.h.
|
2012-07-02 13:21:54 +02:00 |
Alexandre Julliard
|
83be88953b
|
opengl32: Make the WGL driver context-specific.
|
2012-06-29 20:41:36 +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
|
e059d565ab
|
gdi32: Add a null WGL driver.
|
2012-06-28 18:52:27 +02:00 |
Alexandre Julliard
|
6a9dcd51a2
|
gdi32: Remove the remaining OpenGL entry points from the DC driver.
|
2012-06-28 18:52:23 +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 |
Alexandre Julliard
|
db25d4022a
|
winex11: Simplify wglSetPixelFormatWINE and export it as a standard extension function.
|
2012-06-28 13:13:01 +02:00 |
Alexandre Julliard
|
4a367c5719
|
winex11: Export wglMakeCurrent and wglMakeContextCurrentARB as standard extension functions.
|
2012-06-28 01:44:03 +02:00 |
Alexandre Julliard
|
bebf84f7a8
|
winex11: Use the GET_DRAWABLE escape to implement wglMakeContextCurrentARB.
|
2012-06-28 01:44:03 +02:00 |
Alexandre Julliard
|
7f4d3022d0
|
winex11: Use the GET_DRAWABLE escape to implement wglMakeCurrent.
|
2012-06-28 01:44:03 +02:00 |
Alexandre Julliard
|
3e8b3d0f66
|
winex11: Add a GET_DRAWABLE escape to mirror the SET_DRAWABLE one.
|
2012-06-28 01:44:02 +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
|
ee21554893
|
gdi32: Remove OpenGL functions that don't use an HDC from the driver entry points.
|
2012-06-25 16:25:57 +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
|
c754f28f17
|
winex11.drv: Remove GLX_ATI_render_texture support.
|
2012-06-25 10:39:02 +02:00 |
Roderick Colenbrander
|
9e73f7a6df
|
winex11.drv: Limit formats to nMaxFormats in wglChoosePixelFormatARB.
|
2012-06-07 10:36:03 +02:00 |
Alexandre Julliard
|
191cd77320
|
winex11: Remove the support for device-dependent bitmaps.
|
2012-05-29 21:22:23 +02:00 |
Alexandre Julliard
|
93758c43fd
|
gdi32: Remove the CreateBitmap and DeleteBitmap driver entry points.
|
2012-05-29 21:06:41 +02:00 |
Alexandre Julliard
|
fdc4682e31
|
gdi32: Remove the CopyBitmap driver entry point.
|
2012-05-24 22:09:19 +02:00 |
Alexandre Julliard
|
f99af0bb8f
|
winex11: Add a helper to retrieve an image from a pixmap.
|
2012-05-14 14:17:25 +02:00 |
Alexandre Julliard
|
b082b3acba
|
winex11: Use an intermediate pixmap also for DDBs to handle format mismatches.
|
2012-05-09 17:37:36 +02:00 |
Alexandre Julliard
|
ba7db0998c
|
winex11: Add support for OpenGL rendering in DIBs using an intermediate pixmap.
|
2012-05-09 17:37:36 +02:00 |
Alexandre Julliard
|
791a46658a
|
winex11: Store the GL-specific information in the GL driver physdev.
|
2012-05-08 14:35:44 +02:00 |
Alexandre Julliard
|
147174ff1c
|
winex11: Implement wglGetPbufferDCARB with a DC escape and remove it from the GDI driver interface.
|
2012-05-08 14:35:44 +02:00 |
Alexandre Julliard
|
5f99b59e77
|
winex11: Add an OpenGL GDI driver.
|
2012-05-08 14:35:42 +02:00 |
Alexandre Julliard
|
00bb726af8
|
winex11: Use a standard Wine list for the OpenGL context list.
|
2012-05-07 13:10:22 +02:00 |
Alexandre Julliard
|
a708448725
|
winex11: Define an enum to manage the various types of GL device contexts.
|
2012-05-07 13:10:18 +02:00 |
Alexandre Julliard
|
096757c3dd
|
winex11: Remove redundant code in ChoosePixelFormat.
|
2012-05-03 20:44:07 +02:00 |
Alexandre Julliard
|
416e79f3e6
|
winex11: Always store the GL drawable in the device context.
|
2012-05-03 20:44:07 +02:00 |
Alexandre Julliard
|
70f776d3b8
|
winex11: Update the pixel format through the DCE hook for window DCs to avoid races.
|
2012-05-03 20:44:01 +02:00 |