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
Glenn Maynard
c25aff2f4e
fix InputHandler_MonkeyKeyboard
2007-03-15 03:33:25 +00:00
Steve Checkoway
2cd80d2048
Cleanup. The time critical stuff will never work like that on OS X.
2007-03-14 07:06:41 +00:00
Steve Checkoway
3c73e111fd
Change set precedence api to return an error message.
2007-03-12 03:37:24 +00:00
Chris Danford
808a5d2b2c
GetCurThreadName -> GetCurrentThreadName
2007-02-23 22:02:26 +00:00
Glenn Maynard
3df37c19cc
reset to the old mode, not to mode 0
2007-02-21 09:33:13 +00:00
Glenn Maynard
21799d66b8
save to "~/.stepmania cvs"
2007-02-21 09:03:42 +00:00
Glenn Maynard
fce7550184
fix wrong GetPRocAddress causing infinite recursion
...
(How was this never hit in two years?)
2007-02-21 06:35:39 +00:00
Steve Checkoway
f0c7d92fb5
Revert glSwapInterval since it does not actually do what I thought it did. Re-enable nVidia hack.
2007-02-20 22:28:52 +00:00
Steve Checkoway
92fd82b630
RString no longer allows NULL. (I have no idea how it took me so long to catch this.)
2007-02-16 07:28:43 +00:00
Glenn Maynard
972cb25f97
when creating a new window for the first time, we have a new device
2007-02-13 06:09:46 +00:00
Glenn Maynard
3c36b5389d
fix uncaught errors in VC8 triggering watson instead of our crash handler
2007-02-12 00:40:35 +00:00
Steve Checkoway
b88d415b52
Style.
2007-02-11 01:51:44 +00:00