Commit Graph

255 Commits

Author SHA1 Message Date
Chris Danford 663f13e70b Intel i915 on OSX 10.4.4 supports vertex programs but not hardware vertex buffers. Our software vertex rendering doesn't support vertex programs. 2006-02-22 21:22:33 +00:00
Chris Danford d7400af2c2 add support for ARB_texture_env_combine 2006-02-21 20:38:21 +00:00
Glenn Maynard c230ba2b72 render states are context-specific; make sure we're defined after beginning concurrent rendering 2006-02-14 02:39:52 +00:00
Steve Checkoway a65d13c6d1 class -> typedef set. 2006-02-07 08:29:36 +00:00
Chris Danford bcf84d9bda re-add Auto AR. Tie it to the desktop resolution which does not change when toggling between fullscreen and windowed. This assumes that the desktop resolution is using square pixels. This assumption will hold true for all out-of-the-box machines with a widescreen display. 2006-02-06 23:40:28 +00:00
Chris Danford 025e970b3d make hard-coded strings localizable 2006-02-06 20:41:05 +00:00
Chris Danford dbafa29a88 make RageDisplay::Init virtual to remove dupe code 2006-02-06 20:14:02 +00:00
Glenn Maynard fb4fa9ea6a cleanup 2006-02-01 07:52:33 +00:00
Glenn Maynard ec04b7eb9c clarify 2006-02-01 07:44:33 +00:00
Glenn Maynard eb0e1f4295 add an overload which is called from the main thread, just before using the concurrent rendering thread 2006-01-27 09:13:03 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard de00a196d6 set the viewport every frame 2006-01-18 09:18:17 +00:00
Glenn Maynard 6743af617e try again 2006-01-17 01:44:47 +00:00
Glenn Maynard 4e2a691e47 implement frame limiting in OGL 2006-01-17 01:43:11 +00:00
Glenn Maynard 35b4fef38e add concurrent rendering hooks 2006-01-17 01:24:40 +00:00
Steve Checkoway 3b45f4347d Remove hack. 2006-01-14 23:44:21 +00:00
Steve Checkoway ada5f4f00f Use ASSERT like a function. 2005-12-30 13:19:40 +00:00
Glenn Maynard 336e3be92b call base (even though it happens to be a no-op right now) 2005-12-29 07:45:06 +00:00
Glenn Maynard 55001f4d54 static 2005-12-11 05:30:02 +00:00
Glenn Maynard 6c8c558d43 Rage* shouldn't depend on ScreenDimensions (uses ThemeMan) 2005-12-04 17:58:25 +00:00
Glenn Maynard da20a407ff remove RageDisplay_OGL::SetViewport; nothing changes the viewport
offset
2005-12-04 17:14:50 +00:00
Chris Danford b6f85d04d2 FlushGLErrors before AssertNoGLError 2005-11-28 23:35:21 +00:00
Chris Danford 48d259a370 Add GL assert checks. 2005-11-28 23:26:22 +00:00
Chris Danford 9d0cc2d322 invalidate scaling script when resetting device 2005-11-28 23:11:34 +00:00
Chris Danford 730a113ed6 enumerate resolutions
use mixed case for prefs values
2005-11-26 07:22:33 +00:00
Chris Danford b3c7b9c99d fix viewport not correctly reset when alt+tabbing out of and back into full-screen opengl 2005-11-24 10:40:23 +00:00
Glenn Maynard 7828dd60ad g_X11Display is unused 2005-11-13 19:09:13 +00:00
Glenn Maynard 7803d84ddd Disable the X11 screensaver in LowLevelWindow_X11. 2005-11-13 19:04:07 +00:00
Glenn Maynard e42c227d33 cleanup 2005-11-13 18:58:54 +00:00
Glenn Maynard 2b9b2a7434 remove unused 2005-11-13 18:58:31 +00:00
Glenn Maynard 05233a7af8 use LowLevelWindow::IsSoftwareRenderer 2005-11-13 18:54:09 +00:00
Glenn Maynard 9c17980ed5 move some GLX-specific stuff into LowLevelWindow_X11 2005-11-13 18:43:22 +00:00
Glenn Maynard fec044a796 general minor cosmetics 2005-11-13 18:22:52 +00:00
Chris Danford 182232344f GetVideoModeParams -> GetActualVideoModeParams
add GetApiDescription
2005-11-11 21:16:48 +00:00
Glenn Maynard 99fdf95d8e possibly fix stale extension function pointer use after losing context 2005-11-11 21:01:58 +00:00
Chris Danford 7f5a4b8373 move VideoModeParams out of RageDisplay to reduce header dependencies 2005-11-10 18:37:04 +00:00
Chris Danford 3f6e95b7d8 fix D3D texture coord generation 2005-11-05 03:08:09 +00:00
Chris Danford 092b5d969d move all URLs into ProductInfo.h 2005-10-28 03:10:48 +00:00
Steve Checkoway aa0f90feae __MACOSX__ --> MACOSX, keep __MACOSX__ for ogg. 2005-10-24 10:37:56 +00:00
Chris Danford 1903e07f56 if DISPLAY->SupportsPerVertexMatrixScale, then merge meshes with equal names. The allows some NoteSkins to be drawn in either 2 meshes or only 1 if vertex shaders are supported. 2005-10-21 06:36:08 +00:00
Chris Danford d8330a2c28 handle TextureTranslateScale in the software vertex path
TODO: refactor this
2005-10-20 19:18:32 +00:00
Chris Danford 779ad158b6 Kill the translation instead of scaling to 0,0. Oops. 2005-10-20 18:19:44 +00:00
Chris Danford fbe40c9c49 remove testing 2005-10-20 14:33:56 +00:00
Chris Danford 83d437dd6b if hardware doesn't support per-vertex tex matrix scale, apply the scaling of the first vertex to the whole mesh 2005-10-20 14:15:13 +00:00
Glenn Maynard 37029c2d0d cleanup 2005-10-19 23:52:16 +00:00
Chris Danford 07c0617f2d fix GL_invalid_enum errror caused by my a mistake in my "PixelFormat cleanup" checkin 2005-10-02 03:35:56 +00:00
Chris Danford bc6c7c89bc move PixelFormat outside of RageDisplay because so many classes outside of RageDisplay use it.
Log PixelFormat strings instead of numbers for easier to read logs.
2005-09-29 17:15:12 +00:00
Chris Danford 48ebc53549 return NULL -> return CString() for clarity and efficiency 2005-09-04 16:55:21 +00:00
Chris Danford e439ae2a96 return "" -> return NULL 2005-09-02 00:14:07 +00:00
Glenn Maynard fcbe90cc09 merge dupe EndFrame code 2005-07-13 00:37:43 +00:00