Commit Graph
2147 Commits
Author SHA1 Message Date
Steve Checkoway acb030f229 ARRAYSIZE -> ARRAYLEN. 2007-06-09 07:53:22 +00:00
Steve Checkoway c027389c17 Add prototypes to silence warnings since LoadingWindow_Cocoa.h isn't included and it's pointless to do the work required allow it to be included from an objective-c file. 2007-06-02 23:08:25 +00:00
Steve Checkoway 89840c3fff Finish implementing RenderTarget_Cocoa. I'm not sure how to test this though. 2007-06-02 12:16:11 +00:00
Steve Checkoway 66894d80ed CRASH_HANDLER is always defined for OS X. Make sure that we _exit() after fatal signals. (Initialize the crash handler while I'm at it since that's likely to be needed for the x86 crash handler, which I can't really write without an x86.) 2007-05-16 08:07:49 +00:00
Steve Checkoway 2b46dbc74a Fix backwards. 2007-05-16 07:48:14 +00:00
Steve Checkoway f86bc2e24e Revert. 2007-05-08 18:37:13 +00:00
Jason Felds 9e5c5f5796 Remove LoadingWindow_Null.h: the file is no longer there. 2007-05-08 17:35:23 +00:00
Steve Checkoway 30b7cb3311 Start implementing render targets for OS X. Mostly just copying of the linux code so far. 2007-05-08 13:14:34 +00:00
Steve Checkoway b723042427 Unneeded. 2007-05-08 12:14:44 +00:00
Steve Checkoway 53b5a1f5e2 Having a separate class which does nothing is no better than just having the base class do nothing. Remove LW_Null. 2007-05-08 12:14:21 +00:00
Steve Checkoway 2853fd09fc Make SetText pure virtual instead of Paint(). 2007-05-08 12:06:50 +00:00
Steve Checkoway 961e2008fa Unused header. 2007-05-08 11:57:28 +00:00
Steve Checkoway a0077d5f22 Just poking around at code because I can't sleep. 2007-05-08 11:53:39 +00:00
Glenn Maynard dda3085309 API update 2007-05-08 02:01:50 +00:00
Steve Checkoway 7eaacb3ef1 We cannot use RageException::Throw() from a thread. Assert instead. Plus, this isn't a user error. 2007-05-06 17:39:13 +00:00
Glenn Maynard 386a9ea8a3 simplify 2007-05-03 02:19:28 +00:00
Glenn Maynard 4b9b5eec08 backwards compatibility 2007-05-03 02:19:10 +00:00
Glenn Maynard c1da4b890d linux -> unix (this doesn't seem to work on newer nVidia drivers anyway ...) 2007-05-03 02:16:27 +00:00
Glenn Maynard 7c8cf2cbdd linux -> unix 2007-05-03 02:15:55 +00:00
Glenn Maynard c5448c61d5 don't RageException::Throw from a thread 2007-05-03 02:10:26 +00:00
Steve Checkoway 04d4f0447e Do not use datadir at Glenn's behest. Look for Packages as well as Songs so that this can be installed with the data in Packages. 2007-04-24 09:21:34 +00:00
Steve Checkoway 25d66981ec Mount StepMania.app/Contents/Resources/SMData.smzip, if it exists. This makes SM installable as a single drag and drop application bundle. 2007-04-23 06:27:02 +00:00
Steve Checkoway acb88e2f91 Look in the application directory and in DATADIR for SMData.smzip. This way the distributed binary can be run its directory or if compiled from source, the data may be installed and we will look there instead. For development, of course, SMData.smzip should not be installed as we should be using the files in Themes and so forth. One easy way to insure that is to set the prefix somewhere like /tmp when developing so that it will look for /tmp/share/stepmania\ cvs/SMData.smzip, which will not exist. 2007-04-23 06:23:27 +00:00
Steve Checkoway aad8662bdb This is not unique to Linux. 2007-04-22 07:00:19 +00:00
Steve Checkoway a87cc6a80a The language does not depend on librt. 2007-04-21 19:46:55 +00:00
Glenn Maynard dce588d6a0 handle unpartitioned devices 2007-04-14 19:51:00 +00:00
Steve Checkoway c330a32ce7 Make the horizontal and vertical alignment explicit. 2007-04-03 07:07:16 +00:00
Steve Checkoway 02d65d68b8 Too noisy. 2007-04-02 08:32:40 +00:00
Glenn Maynard d1a78c315d fix m_fTimestampOffset 2007-03-27 06:17:37 +00:00
Steve Checkoway 812dd48169 Handle race condition more intelligently by invalidating in the callback itself. 2007-03-25 23:51:53 +00:00
Steve Checkoway fa53ebfc07 Call InputFilter::ButtonPressed() directly. 2007-03-25 23:44:22 +00:00
Steve Checkoway ce89481346 wchar_t. 2007-03-25 23:35:58 +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
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 0cb0394ad1 handle PIX_FMT_BGR32_1; nVidia cards prefer this format 2007-03-22 05:26:09 +00:00
Glenn Maynard bef66aa6de fix crash 2007-03-21 06:30:12 +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