From: Robert E. <pa...@us...> - 2003-07-25 01:51:21
|
CVSROOT: /cvsroot/blockbuster Module name: blockbuster Repository: blockbuster/src/ Changes by: papillo@sc8-pr-cvs1. 03/07/24 18:51:19 Log message: Threaded Image Caching Primary changes are in cache.c, where the ImageCache abstraction can now create additional threads for the express purpose of offloading work to them to preload images. Only a single thread can use any given ImageCache (because the code was not created to share ImageCaches between multiple threads); but underneath, each ImageCache can have one ore more dedicated reader threads. To support the ability to preload frames, the Renderers all added Preload functions to indicate frames that are likely to appear next. The main program just takes a rough guess at additional frames to preload (one and two frames away from the current frame). The new file (queue.c) isolates the job queue management functions. Modified files: blockbuster/src/: Makefile cache.c dmx.c gl.c gltexture.c movie.c movie.h x11.c Added files: blockbuster/src/: queue.c Revision Changes Path 1.15 +2 -3 blockbuster/src/Makefile 1.3 +751 -123 blockbuster/src/cache.c 1.20 +1 -0 blockbuster/src/dmx.c 1.19 +10 -0 blockbuster/src/gl.c 1.23 +9 -0 blockbuster/src/gltexture.c 1.26 +16 -7 blockbuster/src/movie.c 1.23 +58 -2 blockbuster/src/movie.h 1.20 +10 -0 blockbuster/src/x11.c |