Commit Graph
11782 Commits
Author SHA1 Message Date
Glenn Maynard ba5b881acf quiet warning 2004-09-09 04:20:21 +00:00
Glenn Maynard 8989cc096d log TLS 2004-09-09 03:27:56 +00:00
Glenn Maynard 685c83543a cache tid in tls 2004-09-09 03:23:16 +00:00
Glenn Maynard b88146f3e6 tls check 2004-09-09 03:22:24 +00:00
Glenn Maynard 65b0be2513 cleanup 2004-09-09 03:09:39 +00:00
Glenn Maynard 0a11fe26df fix pages being given default maps that they shouldn't have 2004-09-09 02:59:15 +00:00
Glenn Maynard 82a2c657fd GetSupportsTLS/SetSupportsTLS 2004-09-09 02:28:05 +00:00
Glenn Maynard 481cde47a3 SM_TLS 2004-09-09 02:25:28 +00:00
Glenn Maynard 006c10e1e4 add tls check 2004-09-09 02:24:52 +00:00
Glenn Maynard 49f5ce2f8c update 2004-09-09 02:24:08 +00:00
Glenn Maynard b2ea5452e8 fix SongUtil::SortSongPointerArrayBySectionName ordering 2004-09-09 01:56:05 +00:00
Josh Allen 6e3fd323df Changes to ScreenNetSelectMusic. 2004-09-09 01:02:50 +00:00
Glenn Maynard 6b450d396e debug 2004-09-09 00:20:45 +00:00
Glenn Maynard 8e7164dae5 improve backtracing 2004-09-08 22:39:28 +00:00
Glenn Maynard 34f22e588c fix up SemaImpl_Pthreads::Wait 2004-09-08 21:58:47 +00:00
Glenn Maynard 22570a4c33 cleanup 2004-09-08 21:19:13 +00:00
Glenn Maynard 07cc95f520 cleanup 2004-09-08 21:18:33 +00:00
Glenn Maynard 4d829e3d29 wait, no. It's GetThreadBacktraceContext's job to suspend the thread. 2004-09-08 21:17:43 +00:00
Glenn Maynard 3e7f55ae30 no, don't use pthreads extensions if we don't at least have timedlock (not going to bother making it two tests unless it's actually needed) 2004-09-08 08:56:19 +00:00
Steve Checkoway 7da3bacbda update 2004-09-08 08:51:46 +00:00
Steve Checkoway bf3ce581af OS X has pthread_cond_timedwait but not pthread_mutex_timedlock. 2004-09-08 08:36:43 +00:00
Steve Checkoway 03e703e447 Fix OS X compile. 2004-09-08 08:35:07 +00:00
Steve Checkoway c0c98557c0 Fix warnings. 2004-09-08 08:33:38 +00:00
Glenn Maynard 96d780514e ForceCrashHandlerDeadlock(GetInvalidThreadId()) support 2004-09-08 08:08:06 +00:00
Steve Checkoway dbbf9497cd Fix connect. Just about everything has gethostbyname. It is not thread safe and probably should not be used in general; however, it is fine here. 2004-09-08 08:06:35 +00:00
Glenn Maynard 2625da14f2 cleanup
support semaphore timeouts
2004-09-08 07:56:32 +00:00
Glenn Maynard 8c92f9ec0f cleanup, simplify 2004-09-08 07:34:38 +00:00
Glenn Maynard b582fa5ebc update 2004-09-08 06:48:45 +00:00
Glenn Maynard 81f2f6460a hopefully fix init order in vc6 2004-09-08 06:33:07 +00:00
Chris Danford eb5e274128 fix Xbox compile 2004-09-08 05:48:48 +00:00
Chris Danford 26b6c80b91 remove VISE uninstall check 2004-09-08 05:34:46 +00:00
Chris Danford 1f6ed69612 remove old installer 2004-09-08 05:13:16 +00:00
Glenn Maynard 30a5054533 fix mutexes under valgrind; type fix 2004-09-08 04:45:16 +00:00
Glenn Maynard 546e048fa2 Support background loading. The principle is simple: when the song
changes, request all of its assets that we need be loaded.  Once each
piece finishes, load it from cache.  We still take a skip to decode graphics
(banners in particular), but not from disk seeks, which is an issue on hard
drives and fatal on CDs.

This also handles fading banners much more precisely: we fade to the
high res banner once the music wheel has settled.  Before, it was approximate;
we'd often load the banner before we settled.  It still skips, but it's much less
prominent to skip when the music wheel is completely settled, than to skip
just before it settles.

Some more work is necessary to resolve lock contention; currently, you'll
still see frequent skips off a CD (but not constant as before).  I'm working
on that, but I'm not sure if I want to put that in before the release, since
it's caused some crashes that I havn't tracked down.

The actual background work is disabled, and may not be enabled for the
release.  I'm committing this to get the basic API work ironed out.  It still
gives perceptual skip improvements even without the background thread.
2004-09-08 02:53:54 +00:00
Glenn Maynard d42b2b965c FadingBanner no longer auto-fades low res banners; that's up to
ScreenSelectMusic.  (If we want simpler screens to use low res banners,
we can create an AutoFadingBanner to do what this logic did.)  It's ugly
to have music wheel metrics, etc. in here.
2004-09-08 02:46:13 +00:00
Glenn Maynard 6370cf385f update 2004-09-08 02:31:08 +00:00
Glenn Maynard be22d989cb fix warning 2004-09-08 02:28:32 +00:00
Glenn Maynard b86988a538 update 2004-09-08 02:21:09 +00:00
Glenn Maynard 8296900391 This is a helper to precache files in the background, which is used to
make the music selection screen playable when music is being read
off a CD.  This is actually disabled; I'm adding it so I can shift
ScreenSelectMusic to use the API.
2004-09-08 02:17:08 +00:00
Glenn Maynard a5dae29422 reduce lock contention 2004-09-08 01:38:22 +00:00
Glenn Maynard eff24b6380 fix odd newline behavior in wrap mode 2004-09-08 01:21:52 +00:00
Glenn Maynard 96e96f042f cleanup 2004-09-08 00:42:07 +00:00
Glenn Maynard d6d3a3ccc5 typo 2004-09-08 00:36:30 +00:00
Glenn Maynard 2846fb4c9c fix crashes on invalid #MODS entry 2004-09-08 00:33:20 +00:00
Glenn Maynard 8c284daa36 fix TexCoordArrayFromRect crash 2004-09-08 00:21:25 +00:00
Glenn Maynard f633a309d7 cleanup
fix crash
2004-09-08 00:03:06 +00:00
Charles Lohr 71fbc18e1f Oops. Accidently added network options... again. 2004-09-07 23:34:18 +00:00
Glenn Maynard 2accf47cf3 fix false "underruns" 2004-09-07 22:57:53 +00:00
Glenn Maynard 3d5d6687f6 whoops 2004-09-07 21:29:12 +00:00
Glenn Maynard bfd8078f5d OSC3 update 2004-09-07 21:27:22 +00:00