Commit Graph
22467 Commits
Author SHA1 Message Date
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 352b8d2f5c Only disable odd dimension warning when loading song backgrounds. 2007-03-24 03:13:05 +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
Steve Checkoway 0b03fffc07 Let sprites disable the odd dimension warning. 2007-03-23 13:47:25 +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
Glenn Maynard d6986e900e enable C99 stuff if available 2007-03-22 00:26:37 +00:00
Glenn Maynard 8a07dfca34 set effectclock cleanly 2007-03-22 00:04:37 +00:00
Glenn Maynard 1fdf23a4a3 fix warning 2007-03-21 21:22:40 +00:00
Glenn Maynard aac8c00cfc RageSoundPosMap: fix splitting 2007-03-21 19:24:40 +00:00
Glenn Maynard 3e96c357aa fix bApproximate 2007-03-21 17:39:23 +00:00
Steve Checkoway 468ceae283 Sort the extensions. 2007-03-21 12:01:54 +00:00
Steve Checkoway dfa844b24a Make SM play nice with ffmpeg. 2007-03-21 11:56:58 +00:00
Glenn Maynard 4549e6646a OptionsMenuChanged 2007-03-21 07:49:53 +00:00
Glenn Maynard 8cbd14b99f fixup 2007-03-21 06:38:11 +00:00
Glenn Maynard eed9ff74f5 fix preloading 2007-03-21 06:36:11 +00:00
Glenn Maynard bef66aa6de fix crash 2007-03-21 06:30:12 +00:00
Glenn Maynard 03922a91dc fix late join crash 2007-03-21 06:14:04 +00:00
Glenn Maynard fec6da2b1f fixup 2007-03-21 05:52:26 +00:00
Glenn Maynard ace3a66e36 - ffmpeg API update
- Add support for doing YUV colorspace conversion in hardware,
using a fragment shader.  This speeds up high-resolution movies
substantially, and provides 32-bit color depth with the data
cost of 16-bit textures.
 - optimize rewinding
2007-03-21 05:27:53 +00:00
Glenn Maynard aaceb42b61 ffmpeg upgrade to get packed-pixel YUYV422 support 2007-03-21 05:18:17 +00:00
Glenn Maynard 504866debb Allow passing a surface with no data and non-power-of-two dimensions.
A power-of-two texture will be created and not initialized.
2007-03-21 04:51:47 +00:00
Glenn Maynard a4fbd6f19b implement EffectMode_YUYV422 2007-03-21 04:38:17 +00:00