|
From: rainbyte <rai...@us...> - 2012-07-17 10:48:26
|
Author: Lasse Karkkainen <tro...@tr...> Date: Sun Feb 19 19:40:26 2012 +0200 Implement threaded Surface/Texture loading. - Uses a background thread for image loading, renders grey squares until the loading is complete. - Removed support for hardware without NPOT. - Removed Cairo Surface constructor (no-one was using it). - Added extra pass in main loop for surface updates. - BUGS: various UI elements are incorrectly sized (too high). --- game/image.hh | 43 +++++++-------- game/main.cc | 3 + game/opengl_text.cc | 7 ++- game/surface.cc | 148 +++++++++++++++++++++++++++++++++++---------------- game/surface.hh | 39 +++++++++++-- game/video.cc | 7 ++- game/webcam.cc | 7 ++- 7 files changed, 173 insertions(+), 81 deletions(-) |