Commit Graph

245 Commits

Author SHA1 Message Date
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
Glenn Maynard 9b9b19c6a0 no Update() 2005-07-13 00:01:46 +00:00
Glenn Maynard 16a1a71848 remove unused fDeltaTime 2005-07-12 23:14:21 +00:00
Chris Danford df743e9780 fix weird alpha behavior with no lighting 2005-07-07 22:07:13 +00:00
Steve Checkoway 640f5cf646 No. 2005-06-23 15:51:56 +00:00
Steve Checkoway 99387583f9 DARWIN -> __MACOSX__ 2005-06-21 08:56:36 +00:00
Glenn Maynard eb688ea84f move HasExtension into RageDisplay_OGL_Extensions 2005-05-28 03:54:33 +00:00
Glenn Maynard 18b1041ce2 cleanup 2005-05-28 03:51:41 +00:00
Glenn Maynard d7f3e90a9d cleanup 2005-05-28 03:50:28 +00:00
Glenn Maynard 62e4154f8d cleanup 2005-05-28 03:50:07 +00:00
Thad Ward 5949e5bc90 (this is possibly going to annoy some people, but..)
put all (obvious) MSVC lines in #if defined(_MSC_VER) blocks, primarilly
to allow alternative win32 compilers to be used.
2005-05-11 04:43:54 +00:00