Commit Graph
163 Commits
Author SHA1 Message Date
Glenn Maynard 7b17d06133 split out GetCenteringMatrix 2006-03-26 21:59:29 +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 dbafa29a88 make RageDisplay::Init virtual to remove dupe code 2006-02-06 20:14:02 +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 35b4fef38e add concurrent rendering hooks 2006-01-17 01:24:40 +00:00
Glenn Maynard cdd516fd74 Eliminate SCREEN_WIDTH/HEIGHT from RDisplay. It's up to the
user code to pass the desired camera space dimensions to
LoadMenuPerspective (normally done by Screen).  SDimensions.h
is high-level.
2005-12-29 18:33:03 +00:00
Glenn Maynard c7a3cbc5fb missed a piece 2005-12-29 08:14:52 +00:00
Glenn Maynard 580ff0716a Centering is a user preference, to adjust the screen, not a theme
setting.  It's usually tied to the screen resolution (will usually
need readjustment anyway if the resolution changes).  Treat the
values as pixels, as if we were using glViewport to do this.
(Reduces dependencies on ScreenDimensions.h, and we don't need
to worry about calling ChangeCentering when the theme changes.)
2005-12-29 08:12:51 +00:00
Chris Danford 730a113ed6 enumerate resolutions
use mixed case for prefs values
2005-11-26 07:22:33 +00:00
Chris Danford 3060418806 add the renderer name to stats (so that I won't be confused about which is being used) 2005-11-23 20:42:48 +00:00
Chris Danford 182232344f GetVideoModeParams -> GetActualVideoModeParams
add GetApiDescription
2005-11-11 21:16:48 +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 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 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
Chris Danford e628f74491 do note coloring with tex coord shifting, not separate elements 2005-10-04 19:45:45 +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 94ff3eca36 implement framerate limiting. This is imprecise; it's intended for giving
up CPU before waiting for vsync, and not for limiting to a precise framerate.
2005-07-13 06:16:37 +00:00
Glenn Maynard 989565227b add SupportsThreadedRendering flag (not in OGL yet) 2005-07-13 01:04:59 +00:00
Glenn Maynard fcbe90cc09 merge dupe EndFrame code 2005-07-13 00:37:43 +00:00
Glenn Maynard aad96ee660 remove Update 2005-07-13 00:01:08 +00:00
Glenn Maynard 0a5614d0ea cleanup
headers don't include global.h
2005-07-12 04:37:02 +00:00
Glenn Maynard 541aac64cd remove virtual - this is an internal helper only now 2005-05-27 23:01:15 +00:00
Glenn Maynard 47db6ca9c4 floating-point zbias. For compatibility, 0 is off and 1 is the old "zbias on".
Going beyond 1 is allowed, but the usable/useful range of values is currently
undefined--try to stick to 0..1.
2005-05-06 04:05:02 +00:00
Glenn Maynard 59f6c7848a separately-controllable ZBias 2005-05-06 03:24:41 +00:00
Chris Danford 0ac5e2b008 add Skew for faux italic fonts 2005-05-02 21:43:27 +00:00
Ben Anderson 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +00:00
Glenn Maynard 5531efed09 comments, cleanup 2005-02-13 03:27:21 +00:00
Glenn Maynard cf99203db5 add m_bNeedsTextureMatrixScale
remove some stuff I didn't mean to commit yet
2005-02-01 02:47:30 +00:00
Glenn Maynard 57f5c487bc move some code out of the header 2005-01-31 22:58:12 +00:00
Glenn Maynard 1d3613f161 for real this time :) 2005-01-22 03:39:39 +00:00
Chris Danford 663bd5d8b7 fix misspelling 2005-01-21 06:13:45 +00:00
Glenn Maynard bdc1b08695 pass DAR to the display; preserve aspect ratio in screenshots 2005-01-16 22:06:36 +00:00
Chris Danford 5c79ac4196 pass bNeedsNormals into RageCompiledGeometry 2005-01-14 10:23:22 +00:00
Glenn Maynard 8a29cc0459 remove separate glow modes 2005-01-08 22:14:08 +00:00
Glenn Maynard a1be0fdb33 add GetNumTextureUnits() 2005-01-04 05:34:58 +00:00
Glenn Maynard 3ca2641398 virtual 2004-12-27 07:10:29 +00:00
Glenn Maynard 6f46898f69 make SetVideoMode not throw 2004-11-30 20:01:07 +00:00
Glenn Maynard 3d084e2a2c move stats formatting to RageDisplay, so renderers can add custom stats 2004-11-05 04:15:06 +00:00
Chris Danford 0a6acd94ae fix centering matrix + perspective projections 2004-10-24 22:59:10 +00:00
Glenn Maynard e483125b9f Make RageDisplay_OGL::GetOrthoMatrix the default implementation. 2004-10-23 17:42:00 +00:00
Glenn Maynard cb1f53d6b5 unprotect CreateScreenshot 2004-10-16 20:34:21 +00:00
Glenn Maynard f056fedae2 fix crashes when fullscreen d3d window loses focus 2004-09-19 01:38:12 +00:00
Glenn Maynard b5a10593e3 update comment 2004-09-06 04:17:03 +00:00
Chris Danford 1d376f5795 add support for texture coordinate animation in AnimatedTexture 2004-08-09 00:46:42 +00:00
Glenn Maynard 0d0494a580 line width is a float in OpenGL for line AA 2004-06-20 01:26:28 +00:00