Glenn Maynard
767dbf81ee
fix stale g_X11Display pointer causing crashes
2004-01-20 02:13:06 +00:00
Chris Danford
034fcb6bad
clean up parameter types
2004-01-06 21:25:46 +00:00
Chris Danford
882406afe8
add spherical environment mapping
2004-01-06 19:54:13 +00:00
Glenn Maynard
dc61e951cf
Disable X11 screensavers.
2004-01-03 07:55:20 +00:00
Steve Checkoway
42c4f7415b
Fix warnings.
2003-12-24 20:32:20 +00:00
Glenn Maynard
2a833ef55c
Log DRI. Treat no DRI like no accel, and don't run without it or
...
AllowUnacceleratedRenderer=1.
2003-12-24 06:23:59 +00:00
Glenn Maynard
f276aaa08c
missing headers
2003-12-21 02:06:40 +00:00
Chris Danford
4ca799bc96
rename "AntiAliasing" to "SmoothLines"
2003-12-20 21:29:55 +00:00
Glenn Maynard
66e106e48a
fix OGL screenshots (d3d still broken)
2003-12-12 10:05:58 +00:00
Steve Checkoway
d5844e93c9
fix warnings
2003-12-10 16:42:02 +00:00
Glenn Maynard
cac44ec303
don't use GL_UNSIGNED_SHORT_1_5_5_5_REV for movie textures
...
if it'll require an additional conversion
2003-11-29 17:56:09 +00:00
Glenn Maynard
e21f149d3b
separate Z-write and Z-test flags
2003-11-18 20:33:18 +00:00
Glenn Maynard
0d1966c2f6
Bias depth values when drawing in BLEND_NO_EFFECT.
2003-11-18 04:03:58 +00:00
Glenn Maynard
835eb67b7b
work around really old gl headers
2003-11-14 00:07:47 +00:00
Glenn Maynard
07df38b58f
better paletted textures checking
2003-11-13 18:04:31 +00:00
Glenn Maynard
576a3aab8b
log X screen and GLX vendor info
2003-11-13 18:02:00 +00:00
Chris Danford
aa50c93791
fix BLEND_ADD bug
2003-10-22 01:47:40 +00:00
Chris Danford
70446551a9
add half-finished screen centering code (necessary for arcade and Xbox)
2003-10-11 01:51:36 +00:00
Glenn Maynard
2207d9e4a2
Fix g++ compile error.
...
Improve output.
2003-10-09 07:28:02 +00:00
Glenn Maynard
ea812292b1
support 4-bit palettes
2003-10-09 06:33:11 +00:00
Glenn Maynard
5117e94742
Use the "unused" bit in SDL palettes for alpha.
2003-10-08 01:24:53 +00:00
Glenn Maynard
f611e2461e
namespace cleanup
2003-10-03 21:38:38 +00:00
Steve Checkoway
445c593b2a
Add vsync for OS X.
2003-09-22 11:14:31 +00:00
Chris Danford
eebb417840
clean up perspective
...
fix mini
fix frustum matrix in D3D
2003-09-21 18:07:29 +00:00
Chris Danford
c8f7c02036
Split ModelView matrix stack into View and World stacks.
...
Add "hallway" and "distant" mods.
2003-09-21 02:36:28 +00:00
Glenn Maynard
a97fca9681
remove dupe code
2003-09-06 05:46:28 +00:00
Glenn Maynard
69f0f57818
Hopefully fix hold notes for real
2003-09-06 05:32:42 +00:00
Glenn Maynard
13cccb9991
Fix crashes in RageDisplay_OGL::UpdateTexture when the surface and texture
...
formats differ.
2003-08-29 04:46:54 +00:00
Glenn Maynard
38233e713a
sanity check
2003-08-29 03:03:29 +00:00
Glenn Maynard
3728708145
Improve error messages when OpenGL video init fails
2003-08-28 00:08:01 +00:00
Glenn Maynard
98c7c09cc7
Work on improving error messages when video init fails
2003-08-27 23:36:09 +00:00
Glenn Maynard
82314802d5
fix hold note artifacts
2003-08-18 01:25:13 +00:00
Chris Danford
867dc42ab7
log more info if glDeleteTextures fails
2003-08-10 03:13:23 +00:00
Glenn Maynard
03d507ee54
cleanup
2003-08-03 05:40:40 +00:00
Glenn Maynard
3d34e3a8e8
Don't take a reference to a pointer in CreateTexture.
...
It might be useful to save some conversions--that is, if a conversion to
a native format is needed, it'll be available to the caller--but it's confusing
and it's never helpful in practice. It was causing some banner-related
crashes, so let's just remove it.
2003-07-15 23:55:56 +00:00
Glenn Maynard
e3cf80ae04
Fix screenshot endianness.
2003-07-09 06:16:19 +00:00
Glenn Maynard
c67a529bec
dur
2003-07-09 04:18:01 +00:00
Glenn Maynard
cc739adac8
more thourough GL_UNSIGNED_SHORT_1_5_5_5_REV check
2003-07-09 03:22:27 +00:00
Glenn Maynard
e4cf884bde
Cope with broken drivers that don't support _REV formats.
2003-07-09 03:16:28 +00:00
Glenn Maynard
7dc6d805db
add error conditions
2003-07-07 22:56:02 +00:00
Chris Danford
c67d78d948
let Actor subclasses have first crack at parsing commands
...
allow Models and BitmapTexts in BGAnimationLayer (detected through file extension)
add RageModelVertex, which doesn't have a color property
add "stretch" file name hint for textures
2003-07-07 01:29:18 +00:00
Glenn Maynard
12d77daa2a
better output
2003-07-03 02:42:44 +00:00
Glenn Maynard
324b2ab1cf
#pragma comment is win32 only
...
fix warning
2003-06-30 06:23:42 +00:00
Glenn Maynard
108a3cceee
add FMT_A1BGR5
2003-06-30 03:13:53 +00:00
Glenn Maynard
ce518b6bb2
Allow any image format when creating a texture.
2003-06-30 02:39:56 +00:00
Glenn Maynard
229045627b
guh
2003-06-29 08:15:35 +00:00
Glenn Maynard
7951b5f3e7
Add helpers: RageDisplay::CreateSurfaceFromPixfmt, RageDisplay::FindPixelFormat.
...
UpdateTexture can now take any image format; it doesn't have to match the
original format, or even be a standard pixel format. This is because we
can often do the conversion much more efficiently within UpdateTexture
than we can in the caller. With D3D, we can convert any source format
as we copy, preventing an extra blit. OpenGL can do it on the fly if
it happens to be a known texture format.
We can figure out the pixel format from the image itself, so there's
no need to pass pixfmt to UpdateTexture.
Add BGR8, for movies with OpenGL.
2003-06-29 08:13:18 +00:00
Glenn Maynard
55705d34d7
don't mess with texture parameters when updating
2003-06-28 02:27:04 +00:00
Glenn Maynard
4f2d551e90
bring RageDisplay_OGL::CreateTexture and UpdateTexture closer
...
together
2003-06-28 02:23:35 +00:00
Glenn Maynard
7f5b42cc9d
cleanup
2003-06-28 02:19:31 +00:00