summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-09-04add const to more classes,Andrei Karas1-2/+1
fix other small style issues.
2012-09-02Add const to more classes.Andrei Karas1-10/+13
2012-08-26Add const to graphics class.Andrei Karas1-1/+1
2012-08-23Remove useless includes.Andrei Karas1-3/+0
2012-07-23Improve perfomance in some object constructors.Andrei Karas1-6/+6
2012-07-19Rename openglgraphics to normalopenglgraphics.Andrei Karas1-1/+1
2012-07-19Rename opengl1graphics to safeopenglgraphics.Andrei Karas1-1/+1
2012-06-18Fix code style.Andrei Karas1-1/+2
2012-06-17Replace SDL int types to C++ types.Andrei Karas1-9/+9
2012-06-11Fix code style.Andrei Karas1-1/+1
2012-06-10Split ImageHelper to ImageHelper, SDLImageHelper, OpenGLImageHelper.Andrei Karas1-5/+7
2012-06-10Move SubImage class to separate file.Andrei Karas1-103/+1
2012-06-09Move static methods from Image class to ImageHelper class.Andrei Karas1-634/+8
Remove SDL merge method. It was very slow and unused.
2012-06-07More improve load image speed in opengl mode.Andrei Karas1-31/+73
2012-06-06Dump surface format at start.Andrei Karas1-2/+21
2012-06-05Fix code style.Andrei Karas1-2/+4
2012-06-05Fix OpenGL fast image load. Add also check for rmaks.Andrei Karas1-8/+2
Remove debug code.
2012-06-04Improve images load speed in openGL modes for correct image sizes.Andrei Karas1-9/+20
2012-06-03Improve dye speed.Andrei Karas1-13/+28
2012-05-17Add support for normal internal texture format (before was old format).Andrei Karas1-1/+1
Add option to switch new/old texture format.
2012-04-28Fix code style and add some checks.Andrei Karas1-4/+14
2012-04-27Add option for enable textures compression (disabled by default)Andrei Karas1-2/+15
2012-04-07Add option to enable/disable texture blurring. (GL_LINEAR/GL_LINEAR)Andrei Karas1-2/+11
2012-03-02Move texture settings.Andrei Karas1-3/+4
2012-02-18Fix code style.Andrei Karas1-4/+14
2012-02-08Fix code style with new tool.Andrei Karas1-5/+5
2012-01-27A bit cleanup in image.cppAndrei Karas1-21/+21
2012-01-24Use SDL_RWops directly on top of PhysFSThorbjørn Lindeijer1-5/+2
This avoids the creation of a temporary buffer containing a complete file for the sole purpose of wrapping it up in an SDL_RWops. The necessary wrapper is by Ryan C. Gordon and is included in the PhysFS repository under 'extras'. Reviewed-by: Yohann Ferreira Conflicts: mana.files src/CMakeLists.txt src/resources/resourcemanager.cpp src/resources/soundeffect.cpp
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-12-23Fix code style and some auto checked errors.Andrei Karas1-2/+2
2011-11-08Fix more gcc 4.7 warnings.Andrei Karas1-13/+13
2011-11-07Fix some warnings under gcc 4.7.Andrei Karas1-21/+21
2011-09-09Last fix part of shadow variables/methods errors.Andrei Karas1-3/+3
2011-09-08Replace most iterator to const_iterator.Andrei Karas1-2/+2
Some other minor changes.
2011-08-12Rename file names log and chatlog to correct logger and chatlogger.Andrei Karas1-1/+1
2011-08-03Small optimisation in loading images in software mode.Andrei Karas1-4/+6
2011-07-20Small optimisations.Andrei Karas1-14/+16
2011-07-20Remove old comments from image.cppAndrei Karas1-4/+3
2011-07-20Improve setAlpha speed in software mode.Andrei Karas1-12/+9
2011-07-20Improve perfomance in creation SDL font surfaces.Andrei Karas1-0/+77
2011-07-17Improve map reduce speed.Andrei Karas1-1/+3
2011-07-07Add map reduce feature for software drawing.Andrei Karas1-1/+14
Now invisible tiles will be removed if this mode enabled.
2011-07-02Replace some getters to direct member access in Image class.Andrei Karas1-2/+4
2011-06-30Fix memory leak in desktop.cppAndrei Karas1-0/+3
2011-06-10Improve image loading speed in Software mode.Andrei Karas1-13/+16
2011-06-08Zero variables after calling decRef().Andrei Karas1-0/+3
2011-05-24Add simple memory leak detector.Andrei Karas1-0/+2
Can be enabled by configure option -enable-memdebug=yes. Known issue: not all memory allocations hooked with it.
2011-05-08Add opengl texture counter for debugging.Andrei Karas1-0/+8
2011-04-22Fix code style.Andrei Karas1-1/+1
2011-04-22Improve speed in _SDLLoad function.Andrei Karas1-7/+26