Commit Graph
309 Commits
Author SHA1 Message Date
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
Glenn Maynard e483125b9f Make RageDisplay_OGL::GetOrthoMatrix the default implementation. 2004-10-23 17:42:00 +00:00
Glenn Maynard dfe6b48b70 cosmetic 2004-10-23 02:18:17 +00:00
Glenn Maynard c326423dce move win32 pixel format dumping code into LowLevelWindow_Win32 2004-10-23 02:16:59 +00:00
Glenn Maynard cf18ea9a73 fix precedence 2004-10-16 21:12:29 +00:00
Steve Checkoway ca6887e5f8 Fix warning. 2004-10-05 10:36:11 +00:00
Glenn Maynard 071af4b238 linux build fix 2004-09-30 04:52:06 +00:00
Glenn Maynard 75357eaa8f Allow passing a paletted RageSurface to CreateTexture when pixfmt isn't
FMT_PAL.  The intent is that all combinations are valid--that the pixfmt doesn't
depend on the format of img.  (The only exception is that CreateTexture
never palettizes, so if pixfmt is FMT_PAL, img must be, too.)
2004-09-26 09:15:16 +00:00
Glenn Maynard face100e30 cleanup 2004-09-26 08:56:32 +00:00
Glenn Maynard 618a6c7737 simplify, merge code 2004-09-26 08:53:01 +00:00
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +00:00
Glenn Maynard f056fedae2 fix crashes when fullscreen d3d window loses focus 2004-09-19 01:38:12 +00:00
Glenn Maynard e6eb3e5ff9 remove hack 2004-09-05 23:35:49 +00:00
Glenn Maynard c8e52ea1ac dumb temp debugging hack 2004-09-05 06:54:36 +00:00