Commit Graph

235 Commits

Author SHA1 Message Date
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
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