1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-25 14:15:46 +00:00
Aquaria/BBGE
fgenesis 010f44d264 Add a thread pool for background job processing, and use it for OggDecoder.
The pool adjusts to the amount of required threads.
The implementation is as simple as possible, but should be enough
for future extensions.

This brings down decoder thread creation/destruction even more.

Also fix OpenALSystem::release() to close channels properly on shutdown,
otherwise it would deadlock with the pool, because it waits until all
threads have died off, which did not necessarily happen.
2012-02-09 16:08:35 +01:00
..
GL sync with icculus repo 2011-11-20 15:44:17 +01:00
glext sync with icculus repo 2011-11-20 15:44:17 +01:00
ActionInput.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ActionInput.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ActionMapper.cpp fix ActionMapper crash (thx PL) 2011-08-11 23:43:55 +02:00
ActionMapper.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ActionSet.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ActionSet.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
AfterEffect.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
AfterEffect.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
AnimatedSprite.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
AnimatedSprite.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Base.cpp randVector() & generateEmptyTexture() cleanup 2011-11-20 17:03:09 +01:00
Base.h Fix obstruction grid edge rendering. 2012-02-07 22:25:17 +01:00
BaseText.h Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
BBGECompileConfig.h fixes for win32/MSVC build. This removes SDLmain as dependency, and fixes newer gcc versions refusing to compile FmodOpenALBridge.cpp. Allow enabling/disabling console window in win32 build. 2011-08-11 01:42:10 +02:00
BitmapFont.cpp Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
BitmapFont.h Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
BloomEffect.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
BloomEffect.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Cocoa.mm initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Collision.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Collision.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
CommonEvents.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Core.cpp Little path correction for win32, this repairs screenshot and frame dumping functions. 2011-11-20 23:47:24 +01:00
Core.h Add a thread pool for background job processing, and use it for OggDecoder. 2012-02-09 16:08:35 +01:00
CShim.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Cube.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Cube.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Cutscene.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Cutscene.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
DarkLayer.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
DarkLayer.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Datafile.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Datafile.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
DebugFont.cpp Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
DebugFont.h Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
DFSprite.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
DFSprite.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Effects.cpp sync with icculus repo 2011-11-20 15:44:17 +01:00
Effects.h sync with icculus repo 2011-11-20 15:44:17 +01:00
Emitter.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Event.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Event.h Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
FileVars.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
FileVars.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Flags.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Flags.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
flags.hpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
FmodOpenALBridge.cpp Add a thread pool for background job processing, and use it for OggDecoder. 2012-02-09 16:08:35 +01:00
FmodOpenALBridge.h Fixed positional audio & pitch shift. 2011-11-26 21:00:24 +01:00
FrameBuffer.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
FrameBuffer.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
glfont2.cpp Revert "Revert "move around some files to keep the size of the next commit down"" 2011-09-15 20:17:23 +02:00
glfont2.h Revert "Revert "move around some files to keep the size of the next commit down"" 2011-09-15 20:17:23 +02:00
Gradient.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Gradient.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Interpolator.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Interpolator.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Joystick.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
LensFlare.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
LensFlare.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Light.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Light.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
LightCone.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
LightCone.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Math.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
MathFunctions.h Minor debug improvements + misc 2012-01-31 19:25:13 +01:00
Model.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Model.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
MT.cpp Add a thread pool for background job processing, and use it for OggDecoder. 2012-02-09 16:08:35 +01:00
MT.h Add a thread pool for background job processing, and use it for OggDecoder. 2012-02-09 16:08:35 +01:00
OggStream.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
OggStream.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
OpenGLStubs.h Fix some small performance bottlenecks: 2012-01-02 21:34:29 +01:00
PackRead.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
PackRead.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ParticleEffect.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ParticleManager.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Particles.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Particles.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
PointSprites.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
PointSprites.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Precacher.cpp Revert "added partial VFS support - enough to read static data from any source" 2011-09-15 19:18:53 +02:00
Precacher.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ProfRender.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ProfRender.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Quad.cpp Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
Quad.h Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
QuadTrail.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
QuadTrail.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Rect.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
RenderObject.cpp Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
RenderObject.h Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
RenderObject_inline.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
RenderObjectLayer.cpp Fix missed logic bugs in reordering of RenderObjects within a layer. 2012-02-05 20:31:17 +01:00
RenderRect.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Resource.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Resource.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
RoundedRect.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
RoundedRect.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ScreenTransition.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ScreenTransition.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ScriptObject.cpp Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
ScriptObject.h Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
Shader.cpp Fixed a shader related crash that occured if the following conditions were met: 2012-02-05 20:26:23 +01:00
Shader.h Fixed a shader related crash that occured if the following conditions were met: 2012-02-05 20:26:23 +01:00
SimpleIStringStream.h Revert "added partial VFS support - enough to read static data from any source" 2011-09-15 19:18:53 +02:00
SkeletalSprite.cpp Animation editor enhancements 2012-01-31 18:02:18 +01:00
SkeletalSprite.h Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
Slider.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Slider.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
SoundManager.cpp Fix 2 minor typos from the script update patch, and one in SoundManager 2012-02-06 17:36:07 +01:00
SoundManager.h Fixes for Linux 2012-01-10 19:34:31 +01:00
SpawnParticleData.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
StateMachine.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
StateMachine.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
StateManager.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
StateManager.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Strings.cpp sync with icculus repo 2011-11-20 15:44:17 +01:00
Texture.cpp Revert "added partial VFS support - enough to read static data from any source" 2011-09-15 19:18:53 +02:00
Texture.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
tinyxml.cpp Revert "Revert "move around some files to keep the size of the next commit down"" 2011-09-15 20:17:23 +02:00
tinyxml.h Revert "Revert "move around some files to keep the size of the next commit down"" 2011-09-15 20:17:23 +02:00
tinyxmlerror.cpp Revert "Revert "move around some files to keep the size of the next commit down"" 2011-09-15 20:17:23 +02:00
tinyxmlparser.cpp Revert "Revert "move around some files to keep the size of the next commit down"" 2011-09-15 20:17:23 +02:00
TTFFont.cpp Revert "added partial VFS support - enough to read static data from any source" 2011-09-15 19:18:53 +02:00
TTFFont.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Vector.cpp Animation editor enhancements 2012-01-31 18:02:18 +01:00
Vector.h Animation editor enhancements 2012-01-31 18:02:18 +01:00