Commit Graph

222 Commits

Author SHA1 Message Date
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
Glenn Maynard 0a08b5adb8 fix warning 2005-05-06 14:41:46 +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
Glenn Maynard 7d06820cdf take screenshots from the front buffer, not the back buffer 2005-04-09 05:06:14 +00:00
Steve Checkoway ae02033893 Fix warnings. 2005-03-23 21:04:40 +00:00
Ben Anderson cb34dc4175 glFlush(), not glFinish(); easier on performance, behaves well on X11 / NVIDIA_GLX now, probably helps other platforms as well 2005-03-22 01:32:05 +00:00
Ben Anderson b1c17eacdb glFinish() at the end of each frame; I'm seeing the "buffer swap with unfinished frame" issue at lower framerates when this isn't being done. (FYI, this doesn't fix choppiness with X11 driver, but helps a little bit.) 2005-03-17 01:21:13 +00:00
Ben Anderson 167e5aebc0 Put all the Make* functions into a single .h/.cpp file (yes, kinda like the way it was), and add Make* functions for DialogDrivers. This means there's only one object that's affected by drivers being added/removed. (Driver default changes are a little different -- 2 or 3 objects.) Also one or two minor cleanups. (note: I apparently don't know much about CVS, it appears that some files might not make it into the repository; hang tight, I'm trying to find a solution.) 2005-03-15 00:30:26 +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 fb36d944f9 fix warnings (why aren't OpenGL handles a pointer type? yuck) 2005-02-11 04:06:52 +00:00
Chris Danford ae7076daf7 simplify fix for ATI 2005-02-05 06:43:35 +00:00
Chris Danford 1b43db7b59 fix vertex shader on ATI 2005-02-05 06:34:25 +00:00
Glenn Maynard 588f2a31ff implement TextureMatrixScale with a vertex shader 2005-02-01 03:04:32 +00:00
Glenn Maynard 023ffa7dce move extension handling into a separate file 2005-01-30 19:50:55 +00:00
Steve Checkoway 5bc0f4c99b Fix warning. 2005-01-22 04:41:59 +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 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 c41cefe7fd compile fix 2004-12-01 01:09:20 +00:00
Glenn Maynard 22812c0e7f exceptions 2004-11-30 22:21:50 +00:00
Glenn Maynard 6f46898f69 make SetVideoMode not throw 2004-11-30 20:01:07 +00:00
Chris Danford 0a6acd94ae fix centering matrix + perspective projections 2004-10-24 22:59:10 +00:00