Commit Graph
284 Commits
Author SHA1 Message Date
Glenn Maynard 74aaecc2b9 add RageDisplay::DrawSymmetricQuadStrip 2007-01-15 08:08:57 +00:00
Steve Checkoway 4517499f0f lroundf -> lrintf. 2007-01-03 05:05:28 +00:00
Steve Checkoway eb0b26cd82 Float to int is slow on ppc. It requires a store, a big stall, and then a load. It's even worse on a G5 if the compiler is dumb (and let's face it, I'm using gcc here...). Just use lroundf when we want an int. It will certainly be no slower. 2007-01-02 23:36:44 +00:00
Glenn Maynard 17c32b90c2 Make* -> Driver::Create. Having these floating in arch.h isn't
useful; if you create the class, you need the class definition to
free it, and anyone creating a class is probably going to use it,
too.
2006-12-17 07:41:21 +00:00
Steve Checkoway 30d9410b65 Unneeded. 2006-11-01 10:45:51 +00:00
Glenn Maynard 617e8b5335 FOREACH_ENUM2 -> FOREACH_ENUM 2006-10-07 08:56:58 +00:00
Glenn Maynard 2ce839e4eb Invalid 2006-10-07 04:25:28 +00:00
Steve Checkoway 9df54e925c DEFAULT_FAIL. 2006-10-01 04:01:37 +00:00
Glenn Maynard 91e0961958 fix depth buffer cleared when it shouldn't be 2006-08-15 00:39:41 +00:00
Glenn Maynard 0b6f9ab4b5 remove comment 2006-07-29 19:29:19 +00:00
Glenn Maynard e57aa00b2a invert RenderTarget_FramebufferObject
set viewport
2006-07-29 00:23:44 +00:00
Glenn Maynard 3197d4ead9 unused params 2006-07-28 21:06:13 +00:00
Glenn Maynard 98591e9fc1 call Create() in CreateRenderTarget 2006-07-28 21:03:57 +00:00
Glenn Maynard 9ed6603349 add BLEND_WEIGHTED_MULTIPLY and BLEND_INVERT_DEST blend modes 2006-07-27 01:34:57 +00:00
Glenn Maynard 12059deb33 fix FBO left active 2006-07-27 01:30:55 +00:00
Glenn Maynard 871826bb2a use GL_EXT_framebuffer_object 2006-07-26 19:18:21 +00:00
Glenn Maynard 58bf179ad8 map, not multimap 2006-07-26 03:58:29 +00:00
Glenn Maynard 98e3e411c8 OpenGL RTT interface 2006-07-26 03:44:27 +00:00
Glenn Maynard 41461cbe23 clear alpha to 0 (if any) 2006-07-26 01:44:59 +00:00
Glenn Maynard b6e161889c cleanup 2006-07-26 01:43:51 +00:00
Glenn Maynard 9c73aed254 Do SetDefaultRenderStates in BeginFrame, instead of on init,
so we don't depend on state being preserved long-term, and
so every renderer doesn't have to do this.
2006-07-25 20:10:56 +00:00
Glenn Maynard 136559f9a6 comment belonged in a commit message, not a comment 2006-07-24 18:53:54 +00:00
Glenn Maynard 2ddb0c2912 Use "i" for ints; don't distinguish between signed and unsigned. (If we're
marking unsigned ints, that seems to imply marking long ints, doubles vs.
floats, etc; Hungarian serves little enough purpose without being that fine-
grained.)
2006-07-24 06:11:37 +00:00
Glenn Maynard f40b729eda cleanup 2006-07-24 05:53:57 +00:00
Glenn Maynard 89b30b5ac9 move more into OGL_Helpers: pulling in GL.h, GLToString 2006-07-24 05:48:21 +00:00
Glenn Maynard 81ed5b8e54 rename RageDisplay_OGL_Extensions -> RageDisplay_OGL_Helpers 2006-07-24 05:43:21 +00:00
Glenn Maynard d0bcf2052d RageTexture is a wrapper around RageDisplay's textures; RageDisplay
itself doesn't use it.  Don't pass in RageTexture to SetTexture;
use RageDisplay's native texture handles.
2006-07-23 03:19:49 +00:00
Steve Checkoway d2f3a14495 strtof -> StringToFloat. 2006-06-12 06:42:25 +00:00
Glenn Maynard 62312463cb Remove old API restriction. (I've had this sitting in my WC for so long
I don't remember why I needed it, but it's an arbitrary restriction, anyway.)
2006-04-06 09:43:44 +00:00
Chris Danford 663f13e70b Intel i915 on OSX 10.4.4 supports vertex programs but not hardware vertex buffers. Our software vertex rendering doesn't support vertex programs. 2006-02-22 21:22:33 +00:00
Chris Danford d7400af2c2 add support for ARB_texture_env_combine 2006-02-21 20:38:21 +00:00
Glenn Maynard c230ba2b72 render states are context-specific; make sure we're defined after beginning concurrent rendering 2006-02-14 02:39:52 +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 025e970b3d make hard-coded strings localizable 2006-02-06 20:41:05 +00:00
Chris Danford dbafa29a88 make RageDisplay::Init virtual to remove dupe code 2006-02-06 20:14:02 +00:00
Glenn Maynard fb4fa9ea6a cleanup 2006-02-01 07:52:33 +00:00
Glenn Maynard ec04b7eb9c clarify 2006-02-01 07:44:33 +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 de00a196d6 set the viewport every frame 2006-01-18 09:18:17 +00:00
Glenn Maynard 6743af617e try again 2006-01-17 01:44:47 +00:00
Glenn Maynard 4e2a691e47 implement frame limiting in OGL 2006-01-17 01:43:11 +00:00
Glenn Maynard 35b4fef38e add concurrent rendering hooks 2006-01-17 01:24:40 +00:00
Steve Checkoway 3b45f4347d Remove hack. 2006-01-14 23:44:21 +00:00
Steve Checkoway ada5f4f00f Use ASSERT like a function. 2005-12-30 13:19:40 +00:00
Glenn Maynard 336e3be92b call base (even though it happens to be a no-op right now) 2005-12-29 07:45:06 +00:00
Glenn Maynard 55001f4d54 static 2005-12-11 05:30:02 +00:00
Glenn Maynard 6c8c558d43 Rage* shouldn't depend on ScreenDimensions (uses ThemeMan) 2005-12-04 17:58:25 +00:00
Glenn Maynard da20a407ff remove RageDisplay_OGL::SetViewport; nothing changes the viewport
offset
2005-12-04 17:14:50 +00:00