Steve Checkoway
fa53ebfc07
Call InputFilter::ButtonPressed() directly.
2007-03-25 23:44:22 +00:00
Steve Checkoway
5bfab179db
Spacing.
2007-03-25 23:41:32 +00:00
Steve Checkoway
ce89481346
wchar_t.
2007-03-25 23:35:58 +00:00
Glenn Maynard
a8ee16a106
add texture autogen flag
2007-03-25 20:49:39 +00:00
Chris Danford
43ef38383d
separate CurrentStageIndex into separate number per game and per player. This allowed for staggered join periods.
2007-03-25 09:37:14 +00:00
Glenn Maynard
813432c98d
Split decode and convert, and do them on alternating frames.
2007-03-25 07:46:20 +00:00
Glenn Maynard
87f1f61021
MovieTextureDirectUpdates. Some drivers are stalling, can't
...
diagnose it right now ...
2007-03-25 07:45:23 +00:00
Glenn Maynard
0161b65ada
Detect when movies have no B-frames, and set CODEC_FLAG_LOW_DELAY
...
on the next loop. FFMpeg can't do this automatically, and it
avoids inconsistent CPU use caused by FFMpeg buffering the first
frame in case of B-frames.
2007-03-25 07:42:40 +00:00
Glenn Maynard
7c8691d661
fix timestamps
2007-03-25 04:26:18 +00:00
Glenn Maynard
3f5d83cb9c
fix initializer
2007-03-25 04:04:23 +00:00
Glenn Maynard
d80b09dd84
ret == 0 means EOF. Don't update the texture; it'll loop and update it again right away. This caused an update before the previous parallel unlock had finished, which apparently triggered the slow path in the driver and caused a 15ms skip.
2007-03-25 04:01:56 +00:00
Steve Checkoway
95429c20eb
Include global.h.
2007-03-24 04:38:47 +00:00
Steve Checkoway
ffc4fb00bd
Set the hardware sample rate first. There seems to be an issue with setting the stream format's sample rate and then the device's sample rate before initializing the AudioUnit. Once initialized, it handles device format changes. I'm not sure why it doesn't before initialization.
2007-03-24 03:29:01 +00:00
Steve Checkoway
fef107f778
Doing this one time is enough.
2007-03-24 03:15:08 +00:00
Steve Checkoway
ce02b88261
Remove DisableDimensionWarning.
2007-03-24 03:13:31 +00:00
Steve Checkoway
352b8d2f5c
Only disable odd dimension warning when loading song backgrounds.
2007-03-24 03:13:05 +00:00
Steve Checkoway
867fc6e7fb
BeginCommand, not OnCommand.
2007-03-24 03:05:09 +00:00
Steve Checkoway
e3fe352263
Move to Sprite and use LoadBackground.
2007-03-24 02:57:32 +00:00
Glenn Maynard
6cb000f4fc
bindings
2007-03-24 00:43:44 +00:00
Glenn Maynard
15feca28cf
bind
2007-03-24 00:39:49 +00:00
Glenn Maynard
6f71043cc9
add SetTextureFiltering
2007-03-24 00:39:19 +00:00
Glenn Maynard
6182acd032
add SetUpdateFunction
2007-03-24 00:38:11 +00:00
Jason Felds
7829d6ec38
Fix metric warning.
2007-03-23 17:18:53 +00:00
Steve Checkoway
aa5262c5b6
LoadActor( GetSongBackground() ) -> LoadSongBackground()
2007-03-23 14:11:47 +00:00
Steve Checkoway
1fcded0db4
xml -> lua
2007-03-23 14:06:46 +00:00
Steve Checkoway
d0b8780fe6
LoadSongBackground() returns an actor for the song background and explicitly disables the dimension warning.
2007-03-23 13:48:56 +00:00
Steve Checkoway
0b03fffc07
Let sprites disable the odd dimension warning.
2007-03-23 13:47:25 +00:00
Steve Checkoway
809878d816
Holy copy and paste, Batman! xml -> lua.
2007-03-23 12:29:35 +00:00
Steve Checkoway
79b8fa200d
xml -> lua
2007-03-23 12:15:54 +00:00
Steve Checkoway
b82f040c90
Remove two blank lines.
2007-03-23 11:03:14 +00:00
Steve Checkoway
dfd5bda05e
Don't spew userlog to stdout.
2007-03-23 10:59:07 +00:00
Glenn Maynard
899735538b
implement SetTextureFiltering
2007-03-23 07:59:33 +00:00
Glenn Maynard
303c448c37
allow W4, W5
2007-03-23 01:45:07 +00:00
Glenn Maynard
ca73913007
use endianless format names
...
add but comment out a few types; these are crashing ffmpeg, need to
find out why
prefer BGRA; faster for nVidia cards
2007-03-22 21:53:30 +00:00
Glenn Maynard
3a0ebd82a6
renamed in ffmpeg (incorrectly, this is ARGB, not RGB or RGBA)
2007-03-22 21:16:17 +00:00
Glenn Maynard
bd4080a501
simplify
2007-03-22 19:23:17 +00:00
Glenn Maynard
c7192a3b79
cleanup
2007-03-22 19:14:41 +00:00
Glenn Maynard
fde00c7b04
fixup
2007-03-22 19:14:13 +00:00
Glenn Maynard
4139261ac7
use RageTextureLock to avoid a texture copy
...
remove threaded textures for now at least; makes RageTextureLock
much harder, causes a lot of nondeterministically-timed competing
CPU use, and we can probably optimize more easily this way
2007-03-22 19:11:48 +00:00
Glenn Maynard
5d0d26164c
implement RageTextureLock with PBOs
2007-03-22 19:03:31 +00:00
Glenn Maynard
d640dbc9d9
add RageTextureLock
2007-03-22 18:58:40 +00:00
Glenn Maynard
b09c06c355
typo
2007-03-22 18:58:19 +00:00
Glenn Maynard
4d9a2cbb86
reusable invalidation
2007-03-22 18:55:49 +00:00
Glenn Maynard
be271f9dd7
more VBO bindings
2007-03-22 18:33:07 +00:00
Glenn Maynard
1f1ae1a465
fix default selection
2007-03-22 07:06:08 +00:00
Steve Checkoway
8505ea0578
This was moved to global.h.
2007-03-22 06:30:12 +00:00
Glenn Maynard
bf16705d1e
handle BGRA8; nVidia cards prefer this format
2007-03-22 05:30:19 +00:00
Glenn Maynard
0cb0394ad1
handle PIX_FMT_BGR32_1; nVidia cards prefer this format
2007-03-22 05:26:09 +00:00
Glenn Maynard
b8c7ce382b
unneeded
2007-03-22 00:35:06 +00:00
Glenn Maynard
70b8f34371
define some C99 stuff (not trying to do it all; it's pages long)
2007-03-22 00:34:41 +00:00