Commit Graph
51 Commits
Author SHA1 Message Date
Glenn Maynard 60dc76cff8 Add RageDisplay::Update().
ResolutionChanged() is now called by the LowLevelWindow when
the res changes, instead of the other way around.
2003-04-12 02:28:26 +00:00
Glenn Maynard 6e6c60858a consolidate Enable/DisableTextureWrapping 2003-04-10 18:25:17 +00:00
Glenn Maynard 753507fce8 Oops. smPostMultMatrixf was a pre-multiply.
Rename smPostMultMatrixf to PostMultMatrix; add PreMultMatrix
and alias it to MultMatrix.
2003-04-10 17:58:27 +00:00
Chris Danford 848ad6e2be clean up detection and handling of drivers with problematic AA lines
only draw topmost screen if topmost screen isn't transparent (speeds up options menus in editor)
optimized beat bar drawing in NoteField
2003-02-20 21:22:18 +00:00
Chris Danford d7b2f341da Fixed some subtle sync issues 2003-02-10 22:08:10 +00:00
Chris Danford ebce24b57e added F6 to save screenshot. (currently this conflicts with the editor's use of F6, but it won't after the editor UI changes) 2003-01-31 22:34:04 +00:00
Glenn Maynard 21245926e5 add fallback line renderer (not yet used) 2003-01-25 03:57:14 +00:00
Glenn Maynard 55cf338955 add some debug stuff 2003-01-24 00:19:56 +00:00
Glenn Maynard b2062dd91f add paletted texture entry points
remove texture compression ones
2003-01-22 22:41:05 +00:00
Chris Danford e2a91a79a9 Warn if using software OpenGL, sound driver now falls back to WaveOut by default 2003-01-19 21:51:46 +00:00
Glenn Maynard 82a4960bd9 switch vector types
add average-FPS-during-this-screen; i'm using it for benchmarking
2003-01-11 05:12:17 +00:00
Glenn Maynard 8c4a024888 get rid of vertex queue 2003-01-08 23:16:28 +00:00
Glenn Maynard 7e45cabbb1 get rid of the matrix stack; use opengl's 2003-01-08 22:30:32 +00:00
Glenn Maynard 19ced1fdc3 "view transform" is never used 2003-01-08 21:00:51 +00:00
Glenn Maynard 9607765e1e centralize pulling in opengl
make gl data available externally (but separately from RageDisplay)
clean up extension stuff
2002-12-30 00:48:31 +00:00
Glenn Maynard 9aa85c2293 fix fullscreen getting "stuck" 2002-12-28 21:37:18 +00:00
Glenn Maynard 6ffd189d53 add stat clearing 2002-12-21 07:54:24 +00:00
Glenn Maynard 2d7b9001b1 cleanups; remove commented out stuff that's not needed; fix broken
friend function (it's to make 3 * RageColor/Vector work like RageColor * 3,
but I don't know if anything uses it.)
2002-11-16 07:11:05 +00:00
Glenn Maynard 265b3926d6 remove unused functions 2002-11-15 08:26:23 +00:00
Glenn Maynard 79da35a795 Add perspective stuff. 2002-11-15 08:01:34 +00:00
Glenn Maynard f7f1d2cd9f Move OpenGL specs into a struct, so they're easy to scan.
Log the line/point size specs.

Move viewport setting into a function, and allow shifting the screen around.

Tweak the line loop points.
2002-11-15 02:47:08 +00:00
Glenn Maynard 88264c3a56 Make SetProjectionTransform set the projection transform.
Remove unused variable.
Add a function to draw an antialiased line loop with rounded corners.
2002-11-14 08:38:41 +00:00
Glenn Maynard 086bf5bf89 move extension tests to after opengl init 2002-11-12 20:39:08 +00:00
Glenn Maynard 03c2431d01 Move OpenGL init to a function
handle refresh rates
use the SDL change vid mode extension
remove refresh rate stuff
use 16-bit zbuffer, never 32 (we'd probably be fine with 8, even)
2002-11-12 09:29:46 +00:00
Glenn Maynard dac8bd4f2d add ZBufferEnabled() query 2002-11-12 01:25:03 +00:00
Glenn Maynard 5673bec6f2 Add SetBlendMode;
add glexts.h;
log version and available extensions;
implement real glow with GL_EXT_texture_env_combine.
2002-11-12 00:51:27 +00:00
Glenn Maynard b037524db0 finish draw stats 2002-11-11 20:43:30 +00:00
Chris Danford 628dea9da7 OpenGL checkin. Movie textures, texture stretch, texture dither, and 16 bit textures are broken. 2002-11-11 04:53:31 +00:00
Chris Danford 73f7db6b15 Replaced most D3DX dependencies. Added Brendan's not-yet-functional networking code. 2002-10-28 05:30:45 +00:00
Glenn Maynard 85e409b121 some more MFCisms to STLisms 2002-10-24 19:55:09 +00:00
Chris Danford 15fc589cc6 Fixed articts in hold note and life frames. 2002-10-18 19:01:32 +00:00
Glenn Maynard 36034dd5e1 GAAAH.
undo commit caused by annoying windows CVS client.
2002-09-15 03:13:21 +00:00
Glenn Maynard ba7efdb319 fix DWIPath loading for songs that have a normal layout;
some DWI's have relative paths that don't begin with ".\
 Song.cpp
2002-09-15 02:58:33 +00:00
Glenn Maynard ebbc1c274d Fix signededness issues.
Add a sanity check.
2002-09-07 10:06:50 +00:00
Glenn Maynard 0b75b00f55 Implement m_bVsync. 2002-09-03 00:22:00 +00:00
Glenn Maynard 7cacbe59f7 Update underline after updating refresh rate.
Put the default refresh back to "default"; some systems apparently
think they have refresh rates that they don't.

Make refresh "0" and max "1", so people with existing INI files keep
"default".
2002-08-30 06:18:30 +00:00
Glenn Maynard 0f7e9874cc break apart SwitchDisplayMode 2002-08-29 22:30:06 +00:00
Glenn Maynard e96941e288 const stuff 2002-08-29 21:30:16 +00:00
Glenn Maynard 5ab889f509 Deal with systems that have different refresh rates available at 16bpp
and 32bpp.

(There are still systems that report refresh rates they can't really use ...
need to probe, I think.)
2002-08-29 20:59:47 +00:00
Glenn Maynard ebac0bc8ec "max refresh" tests format (might have more available at 16bpp than
32bpp, though we're only ever 16bpp right now anyway)

Merge format lists.
2002-08-29 20:21:30 +00:00
Glenn Maynard cc93e9a096 const const const 2002-08-23 01:31:48 +00:00
Glenn Maynard 3e4576352f Dim unavailable refresh rates. Add "MAX" refresh. Dim refresh rates when set to windowed. 2002-08-22 08:49:41 +00:00
Chris Danford 0e5f97143e optimizations 2002-08-19 20:02:30 +00:00
Chris Danford 8b55061827 added more info besides FPS to the stats display 2002-08-18 17:48:50 +00:00
Chris Danford 0447dc2aad Bug fixes and deferred rendering architecture 2002-08-18 16:19:26 +00:00
Chris Danford 7c1bfb3a0d big checkin - new noteskin format and XY positioning. I probably broke a lot of things. 2002-08-13 23:26:46 +00:00
Chris Danford 317c352a9b Various bug fixes. See changelog. 2002-07-23 01:41:40 +00:00
Chris Danford a44b557d1b no message 2002-06-29 11:59:09 +00:00
Chris Danford 0bc6e1ec7e weekend checkin 2002-06-14 22:25:22 +00:00
Chris Danford b723efdaba no message 2002-05-27 08:23:27 +00:00