summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-01-03Fix SDL_gfx confict from broken header.Andrei Karas1-0/+6
2012-12-27Move setColor in graphics classes from cpp to h.Andrei Karas1-6/+0
2012-12-27Move setColor from guichan to own graphics class.Andrei Karas1-0/+6
2012-12-06Fix compilation warnings.Andrei Karas1-1/+1
2012-12-06Remove unused drawing class.Andrei Karas1-189/+0
2012-12-05Another fix for fillrectangle function.Andrei Karas1-5/+15
2012-12-04Possible fix for incorrect colors in fillRectangle function.Andrei Karas1-10/+16
2012-12-01Add batch drawing for any images.Andrei Karas1-4/+199
Add this drawing to Button.
2012-11-21Add some consts to draw backend.Andrei Karas1-7/+7
2012-11-07Add own profiler and profiler info to some code.Andrei Karas1-0/+10
2012-10-26Add initial version of mobile OpenGL backend.Andrei Karas1-1/+1
2012-10-08Store OpenGL renderer and vendor in graphics manager.Andrei Karas1-3/+2
2012-10-08improve map draw speed.Andrei Karas1-3/+4
2012-10-06Disable rectangular textures if texture sampler enabled.Andrei Karas1-1/+2
2012-10-06Improve map draw speed in fast opengl.Andrei Karas1-0/+5
2012-09-11switch to hardware depend batch sizes.Andrei Karas1-5/+2
but limit max batch size to 1024.
2012-09-05Improve constructors in some classes.Andrei Karas1-0/+1
2012-09-05Fix useless variables initialisations.Andrei Karas1-3/+1
2012-08-26Add const to some classes.Andrei Karas1-1/+1
2012-08-26Add const to graphics class.Andrei Karas1-92/+117
2012-08-24fix includes.Andrei Karas1-1/+0
2012-08-23Remove useless includes.Andrei Karas1-1/+0
2012-08-14Add support for GLX and wGL extensions.Andrei Karas1-0/+1
2012-08-14Fow OpenGL >= 3.0 check extensions in modern way.Andrei Karas1-7/+2
2012-08-11Extend FBO support.Andrei Karas1-0/+1
Use FBO only if it supported. Use better FBO functions if possible.
2012-07-17Fix more code style and additional warnings.Andrei Karas1-28/+35
2012-06-29Fix incorrect gpu memory log report.Andrei Karas1-1/+0
2012-06-18Fix code style.Andrei Karas1-2/+3
2012-06-17Replace SDL int types to C++ types.Andrei Karas1-28/+28
2012-06-10Split ImageHelper to ImageHelper, SDLImageHelper, OpenGLImageHelper.Andrei Karas1-8/+9
2012-06-09Move static methods from Image class to ImageHelper class.Andrei Karas1-8/+10
Remove SDL merge method. It was very slow and unused.
2012-06-06Dump surface format at start.Andrei Karas1-5/+1
2012-05-23OpenGL fix for mac version.Andrei Karas1-1/+13
2012-05-06Fix code style.Andrei Karas1-2/+2
2012-05-06Add const to images in drawing functions.Andrei Karas1-4/+4
2012-05-05Improve images drawing and remove some useless code.Andrei Karas1-14/+1
2012-04-29Add graphicsmanager class and move some code to it.Andrei Karas1-12/+164
2012-04-28Fix code style and add some checks.Andrei Karas1-1/+1
2012-04-26Add to log draw backend name.Andrei Karas1-0/+1
Add ability to get free video memory (fast openg with NVIDIA). Add test with id 100 for long perfomance testing.
2012-04-25Improve iterators part 2.Andrei Karas1-2/+4
2012-04-23Remove outdated fix for windows builds.Andrei Karas1-2/+1
2012-04-21Extract SDL video info to separate method.Andrei Karas1-0/+5
2012-04-12Fix fast fill rectangle function.Andrei Karas1-4/+4
2012-04-05Improve fillrectangle speed.Andrei Karas1-1/+53
2012-02-25Fix old casts.Andrei Karas1-9/+14
2012-02-18Fix code style.Andrei Karas1-1/+1
2012-02-11Remove some unneeded includes.Andrei Karas1-1/+0
2012-02-08Fix code style with new tool.Andrei Karas1-3/+3
2012-02-02Add "no frame" option to hide window frame. Disabled by default.Andrei Karas1-5/+11
2012-01-30Add option for enable/disable window resize.Andrei Karas1-8/+15