summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-05-25Remove color2 from graphics.Andrei Karas1-2/+1
2015-05-17Fix code style.Andrei Karas1-1/+0
2015-05-13Remove duplicate function from graphics.Andrei Karas1-8/+0
2015-05-13New stack class in graphics areas stack.Andrei Karas1-14/+17
2015-03-16Remove useless includes from cpp filesAndrei Karas1-3/+7
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-07-09Improve initial OpenGL state.Andrei Karas1-0/+29
Moved shared code into separate method.
2014-07-02Fix resize in modernopengl with own context in SDL1.2 build.Andrei Karas1-0/+2
2014-06-29Remove useless bool return value from renderers.Andrei Karas1-10/+5
2014-06-28Remove some depricated code from modernopengl or move it to renderers.Andrei Karas1-1/+0
2014-06-24Add manual OpenGL context creation.Andrei Karas1-3/+17
For SDL2 set attributes for context version. For SDL1.2 in X11 create own context. For SDL1.2 and other platforms not implimented for now. Also try fallback if need to older context versions.
2014-06-08Add Modern OpenGL render type.Andrei Karas1-0/+1
Now it using normal OpenGL renderer.
2014-05-23Add functions for resize batch size (OpenGL).Andrei Karas1-1/+1
2014-05-08Fix code style in render.Andrei Karas1-2/+4
2014-05-01Add missing const.Andrei Karas1-1/+1
2014-04-29Add type defines for SDL_Rect based on SDL version.Andrei Karas1-6/+6
2014-03-24fix code style.Andrei Karas1-5/+5
2014-02-24Rename Rectangle into Rect.Andrei Karas1-6/+6
Rename ClipRectangle into ClipRect.
2014-02-22Move Rectangle and ClipRectangle into gui directory.Andrei Karas1-6/+6
2014-02-15move some methods from base/graphics into render/graphics.Andrei Karas1-1/+123
Remove base/graphcs.
2014-02-15Fix scale apply if using SDL 2.Andrei Karas1-1/+3
2014-02-05fix adjusting scale if resolution too low.Andrei Karas1-2/+15
2014-02-02Add missing const and static into render classes.Andrei Karas1-1/+1
2014-01-30Fix code style.Andrei Karas1-2/+2
2014-01-29fix on the fly scalle changing.Andrei Karas1-5/+4
2014-01-29allow apply scale without client restart.Andrei Karas1-3/+22
2014-01-28add support for screen scale in OpenGL modes.Andrei Karas1-18/+30
2014-01-01update copyright year in all sources.Andrei Karas1-1/+1
2013-12-31fix code style.Andrei Karas1-1/+0
2013-12-30add calcImageRect into each renderer. but copy function body to shared file.Andrei Karas1-70/+0
2013-12-30add drawImageRect into each renderer. but copy function body to shared file.Andrei Karas1-64/+0
2013-12-30Improve calcImageRect in renderers.Andrei Karas1-9/+13
2013-12-30Remove unused comments from graphics.Andrei Karas1-3/+0
2013-12-30Improve drawImageRect in renderers.Andrei Karas1-18/+13
2013-12-29improve draw image calls.Andrei Karas1-4/+4
2013-12-28Remove unused method from renders.Andrei Karas1-13/+0
2013-12-28In renderers replace ImagePattern in methods into Pattern.Andrei Karas1-10/+10
2013-12-22allow correct draw control background if width smaller than some image sizes.Andrei Karas1-9/+27
2013-12-15rename calcTile methods into separate names calcTileVertexes, calTileCollection.Andrei Karas1-4/+4
2013-12-14Improve a bit separate images drawing.Andrei Karas1-4/+4
2013-11-01fix dyecmd. now it works.Andrei Karas1-0/+2
2013-10-10fix code style.Andrei Karas1-1/+1
2013-09-16remove unused includes from render files.Andrei Karas1-3/+1
2013-09-12fix compilation warning.Andrei Karas1-1/+2
2013-09-08fix window resize from settings in SDL2.Andrei Karas1-0/+7
2013-09-01fix renderer names and types.Andrei Karas1-2/+2
2013-08-31move render classes into render dir.Andrei Karas1-0/+586