- 15 Sep, 2015 1 commit
-
-
Ken Thomases authored
winemac: Add a new registry setting, OpenGLSurfaceMode, to control how GL surfaces relate to the window. The default behavior is that GL surfaces are on top of all non-GL content in the window. This maximizes the performance for the common case of games, but clipping by parents, siblings, and child windows isn't respected. Setting OpenGLSurfaceMode to "behind" pushes the GL surface to be behind the Mac window. The window has transparent holes punched through it so that the GL surface shows through. USER32 and the wineserver take care of making sure the holes are only where the GL windows would be unclipped and unoccluded. Because the OS X window server has to composite the GL surface with the window, this limits the framerate. Since the Mac driver has no server-side rendering path, GDI rendering to a window which has a GL surface doesn't work. As a partial workaround, mostly for cases where a GL surface is created but never used, setting OpenGLSurfaceMode to "transparent" allows the GDI rendering to show through the transparent parts of the GL surface. The GDI rendering is drawn to the top-level window's surface as normal. (The behavior of user32 to exclude the portion covered by a GL window from GDI rendering is disabled.) The GL surface is in front of the window but potentially wholly or partially transparent. It is composited with the window behind it. The GL surface is initially cleared to be completely transparent. So, if no GL rendering is done, the window will appear as though the GL surface didn't exist.
-
- 08 Jan, 2015 1 commit
-
-
Matteo Bruni authored
It also allows to create core profile contexts.
-
- 24 Mar, 2014 2 commits
-
-
Ken Thomases authored
-
Ken Thomases authored
It's not necessary. Unlike with X11, on Mac OS X the pixel format doesn't affect the properties of windows and views. The pixel format is a property of the GL context, which can attach to any view.
-
- 21 Mar, 2014 2 commits
-
-
Ken Thomases authored
-
Ken Thomases authored
-
- 16 Jan, 2014 1 commit
-
-
Ken Thomases authored
-
- 19 Dec, 2013 1 commit
-
-
Frédéric Delanoy authored
-
- 05 Nov, 2013 1 commit
-
-
Rico Schüller authored
-
- 22 Oct, 2013 1 commit
-
-
Ken Thomases authored
winemac: Disable software GL rendering unless it's enabled via a new registry setting, AllowSoftwareRendering.
-
- 09 Oct, 2013 1 commit
-
-
Frédéric Delanoy authored
-
- 12 Sep, 2013 3 commits
-
-
Ken Thomases authored
-
Ken Thomases authored
Also use the proper function for checking the format and looking up the internal format description.
-
Ken Thomases authored
-
- 16 Aug, 2013 1 commit
-
-
Charles Davis authored
-
- 27 Jul, 2013 1 commit
-
-
Charles Davis authored
winemac.drv: Also return the number of pixel formats if the caller didn't supply a PIXELFORMATDESCRIPTOR.
-
- 02 Jul, 2013 3 commits
-
-
Ken Thomases authored
-
Ken Thomases authored
winemac: Add registry setting to control glFlush() skipping for single-buffer contexts and disable it by default.
-
Ken Thomases authored
-
- 21 Jun, 2013 2 commits
-
-
Ken Thomases authored
Use glFlushRenderAPPLE(), if available, instead of glFlush() calls less than 1/60th of a second since the last.
-
Ken Thomases authored
winemac: Fix off-by-one errors when indexing into pixel_formats array with 1-based pixel format number.
-
- 06 May, 2013 1 commit
-
-
Ken Thomases authored
-
- 25 Apr, 2013 2 commits
-
-
Ken Thomases authored
-
Ken Thomases authored
-
- 18 Apr, 2013 1 commit
-
-
Francois Gouget authored
-
- 27 Mar, 2013 2 commits
-
-
Ken Thomases authored
-
Ken Thomases authored
-
- 25 Mar, 2013 1 commit
-
-
Ken Thomases authored
-
- 08 Mar, 2013 1 commit
-
-
C.W. Betts authored
-
- 06 Mar, 2013 7 commits
-
-
Ken Thomases authored
-
Ken Thomases authored
-
Ken Thomases authored
-
Ken Thomases authored
-
Ken Thomases authored
-
Ken Thomases authored
-
Ken Thomases authored
-