Commit Graph

182 Commits

Author SHA1 Message Date
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
Glenn Maynard bb90bca544 remove unused ckey parameter to RageSurfaceUtils::Blit 2004-08-31 01:15:12 +00:00
Glenn Maynard 04c9401034 temp debug hack 2004-08-31 01:06:51 +00:00
Glenn Maynard 1771747c0c RageSurfaceUtils::FlipVertically 2004-08-26 20:36:44 +00:00
Glenn Maynard d2ad8869f0 flush errors before glReadPixels 2004-08-26 20:26:03 +00:00
Glenn Maynard 39988e2d93 cleanup 2004-08-19 00:36:11 +00:00
Glenn Maynard 40cecbcf50 word -> uint16_t (a "word" is architecture-specific) 2004-08-19 00:35:35 +00:00
Glenn Maynard aad73b53e9 (float) atof() -> strtof(), which computes in float instead of computing in
double and casting to float, which is silly
2004-08-10 20:57:59 +00:00
Chris Danford f5d7d915ab fix alignment when magnifying 2004-08-09 07:32:49 +00:00
Chris Danford 1d376f5795 add support for texture coordinate animation in AnimatedTexture 2004-08-09 00:46:42 +00:00
Glenn Maynard 0d0494a580 line width is a float in OpenGL for line AA 2004-06-20 01:26:28 +00:00
Chris Danford 91aafcd4c1 move all graphics API calls into RageDisplay_* 2004-06-19 21:00:38 +00:00
Steve Checkoway f5ec5019d6 simplify 2004-06-19 06:46:13 +00:00
Glenn Maynard 1dfafc21da cleanup 2004-06-14 23:59:14 +00:00
Steve Checkoway 7450f75bbf Thank you Apple for renaming standard header files. I really appreciate it, a lot. 2004-06-14 11:14:16 +00:00
Glenn Maynard 1182fa0390 pull in GL ourself 2004-06-14 05:54:01 +00:00
Glenn Maynard 6440ee4936 LowLevelWindow is responsible for setting g_X11Display 2004-06-14 05:48:28 +00:00
Glenn Maynard b481fc465b excessively large commit: use RageSurface 2004-06-14 00:51:00 +00:00
Glenn Maynard 1efd594730 byte swap update 2004-06-13 07:35:08 +00:00
Glenn Maynard a6f0b840e9 Swap24BE 2004-06-13 07:10:26 +00:00
Glenn Maynard 349acbd121 don't log point/line info 2004-06-06 08:11:36 +00:00
Glenn Maynard 247aaeba4e fix paletted textures (oops) 2004-06-01 01:22:39 +00:00
Glenn Maynard 6e7189306a fix type name 2004-05-24 19:32:12 +00:00
Thad Ward 72e53bf1f0 fix vc6 compile error.
("Member function defined in unnamed class")
2004-05-24 08:18:11 +00:00
Glenn Maynard b3125ac086 fix crashes due to X returning garbage when asked for an extension function
that doesn't exist
2004-05-24 03:56:08 +00:00
Glenn Maynard 0c9c336dc3 make GLExt a struct, so it can be zeroed as a unit, and so extension functions
don't take two lines to declare
2004-05-24 03:41:49 +00:00
Glenn Maynard d5b79a4cd3 info.txt cleanups 2004-05-23 22:32:10 +00:00
Glenn Maynard 2b8374e61e simplify screenshot flip; do it in-place
output 32-bit RGBX; 32-bit formats are generally preferable to 24-bit ones
2004-05-19 00:27:48 +00:00