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
Chris Danford
e9e0a2816f
add pref: TrilinearFiltering
2004-05-18 09:05:21 +00:00
Chris Danford
7ea35ebb25
add prefs: ForceMipMaps, AnisotropicFiltering
2004-05-18 08:43:21 +00:00
Glenn Maynard
70a90469e9
remove SDL_SRCCOLORKEY
2004-05-17 01:49:09 +00:00
Chris Danford
9ec4c6be91
add "draw on z fail" mode
2004-05-15 09:26:21 +00:00
Glenn Maynard
6398054e26
Remove 4-bit palette support. As far as I can tell, no hardware supports
...
it. (New ATI hardware apparently doesn't even support 8-bit palettes?!)
2004-05-15 08:18:37 +00:00
Glenn Maynard
943b3e693d
cleanup
2004-05-15 08:06:06 +00:00
Glenn Maynard
63fba23262
check GL_EXT_paletted_texture before bothering with other checks
2004-05-10 01:06:37 +00:00
Glenn Maynard
33a04b79de
beginning GPL->X11 license transition
...
The conventions I'm using are to put the entire copyright notice at the bottom
of each file, and to put the summary of the source file's use at the top of the
header.
Putting the license text in each file avoids confusion, and is normal practice
for many projects. Putting it at the bottom gets it out of the way; it's a
ton of clutter to put at the top.
The description is in the header. People who don't know what a class is for,
or how to use it, are probably looking at the header to see the interface,
not the implementation, so let's put the description in there. Keep it brief
(one line); any substantial implementation notes should go in the source file.
2004-05-06 00:42:06 +00:00
Chris Danford
3963ee8501
use same zbias in D3D as OpenGL
2004-04-25 18:52:27 +00:00
Chris Danford
7cd77dc83a
fix "glow pass on models doesn't obey glow alpha"
2004-04-24 10:18:15 +00:00
Glenn Maynard
eb3815e26e
fix stale colors
2004-04-21 05:30:23 +00:00