Commit Graph

26 Commits

Author SHA1 Message Date
Frédéric Delanoy 510e30bd63 winemac.drv: Use BOOL type where appropriate. 2013-10-09 10:08:34 +02:00
Ken Thomases 53036b6917 winemac: Trace the pixel format in DescribePixelFormat(). 2013-09-12 11:08:23 +02:00
Ken Thomases a300efc852 winemac: Return failure from DescribePixelFormat() for invalid pixel format.
Also use the proper function for checking the format and looking up the
internal format description.
2013-09-12 11:08:19 +02:00
Ken Thomases d33a4da5ed winemac: Restrict DescribePixelFormat() to displayable pixel formats. 2013-09-12 11:07:58 +02:00
Charles Davis 8a041504c8 winemac.drv: Advertise some legacy WGL extensions in the GL_EXTENSIONS string. 2013-08-16 11:55:23 +02:00
Charles Davis 05a68dbc55 winemac.drv: Also return the number of pixel formats if the caller didn't supply a PIXELFORMATDESCRIPTOR. 2013-07-27 12:14:46 -05:00
Ken Thomases 9e878cb92c winemac: Add registry setting to disable vertical sync. 2013-07-02 10:07:57 +02:00
Ken Thomases b7c7d09470 winemac: Add registry setting to control glFlush() skipping for single-buffer contexts and disable it by default. 2013-07-02 10:05:35 +02:00
Ken Thomases 967a49fcb2 winemac: Force swap interval to 0 for single-buffered contexts to avoid vsync'ed flushes. 2013-07-02 10:05:07 +02:00
Ken Thomases 3c7bc8202c winemac: Avoid overdriving single-buffered GL if possible; the system throttles us.
Use glFlushRenderAPPLE(), if available, instead of glFlush() calls less
than 1/60th of a second since the last.
2013-06-21 11:57:42 +02:00
Ken Thomases a8efa5271b winemac: Fix off-by-one errors when indexing into pixel_formats array with 1-based pixel format number. 2013-06-21 11:56:37 +02:00
Ken Thomases 3964f805cc winemac: Change some run-time asserts to compile-time. 2013-05-06 11:37:44 +02:00
Ken Thomases a34168edaa winemac: Fix an off-by-one error in macdrv_wglChoosePixelFormatARB(). 2013-04-25 11:45:11 +02:00
Ken Thomases dfa2ba390d winemac: Improve logging from wglChoosePixelFormatARB() and wglGetPixelFormatAttribivARB(). 2013-04-25 11:45:07 +02:00
Francois Gouget 2baecad2c5 Assorted spelling fixes. 2013-04-18 19:13:16 +02:00
Ken Thomases 81d1bfd65d winemac: Set the ordering of color modes explicitly to reduce chance of picking an odd one. 2013-03-27 20:12:28 +01:00
Ken Thomases 484cf761fc winemac: Use kCGLPFANoRecovery for accelerated pixel formats in create_context(). 2013-03-27 20:12:28 +01:00
Ken Thomases 3158fd764d winemac: Don't read an array at index -1 in debugstr_pf(). 2013-03-25 14:09:25 +01:00
C.W. Betts c333c6ea6c winemac: Fix compilation on Lion and later. 2013-03-08 11:00:30 +01:00
Ken Thomases 3f807e7a1a winemac: Implement WGL_EXT_swap_control. 2013-03-06 12:57:26 +01:00
Ken Thomases 9c29be680c winemac: Implement WGL_NV_render_texture_rectangle. 2013-03-06 12:57:21 +01:00
Ken Thomases 8bbf09b412 winemac: Implement WGL_ARB_render_texture. 2013-03-06 12:57:17 +01:00
Ken Thomases be7231bea3 winemac: Implement WGL_ARB_pbuffer. 2013-03-06 12:57:11 +01:00
Ken Thomases 0ce3761655 winemac: Implement WGL_ARB_pixel_format and enable dependent extensions. 2013-03-06 12:57:04 +01:00
Ken Thomases 8d0d95c033 winemac: Implement WGL_ARB_make_current_read. 2013-03-06 12:56:43 +01:00
Ken Thomases 3f3ee6393d winemac: Implement OpenGL support. 2013-03-06 12:56:12 +01:00