summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
AgeCommit message (Collapse)AuthorFilesLines
2014-07-18Move renderer method createGLContext from protected into public.Andrei Karas1-2/+4
2014-07-09Improve initial OpenGL state.Andrei Karas1-0/+2
Moved shared code into separate method.
2014-07-02Fix resize in modernopengl with own context in SDL1.2 build.Andrei Karas1-0/+6
2014-06-29Remove useless bool return value from renderers.Andrei Karas1-7/+5
2014-06-29In renderers add copyImage function.Andrei Karas1-0/+3
For now it same with drawImage.
2014-06-24Add manual OpenGL context creation.Andrei Karas1-2/+11
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-14fix modernoepngl drawing.Andrei Karas1-0/+7
Add simple draw test in most renders.
2014-06-13Ignore for now "cached" functions in modernopengl.Andrei Karas1-2/+2
2014-06-13In modernopengl add support for buffered draw tile collection.Andrei Karas1-0/+6
This is first cached function implemented in modernopengl. Also add support for bind buffer attributes. Add finalize method to convert any cached data into data for GPU.
2014-06-09Add basic shaders in modernopengl.Andrei Karas1-1/+2
Add draw/fill rectangle functions.
2014-06-08Add simple shader creation.Andrei Karas1-0/+3
2014-06-03Fix wrong includes.Andrei Karas1-2/+2
2014-06-02Add missing final/notfinal to classes.Andrei Karas1-1/+1
2014-05-23Add functions for resize batch size (OpenGL).Andrei Karas1-1/+4
2014-05-22Add to OpenGL renderers function for clear screen.Andrei Karas1-0/+3
2014-05-19fix code style.Andrei Karas1-3/+2
2014-05-18Move imagerect into separate file.Andrei Karas1-44/+2
2014-05-01Add missing const.Andrei Karas1-1/+1
2014-04-29Add type defines for SDL_Rect based on SDL version.Andrei Karas1-2/+10
2014-03-24fix code style.Andrei Karas1-5/+6
2014-02-24Rename Rectangle into Rect.Andrei Karas1-7/+7
Rename ClipRectangle into ClipRect.
2014-02-23Rename drawImage2 methods into drawImage.Andrei Karas1-2/+2
2014-02-22Move Rectangle and ClipRectangle into gui directory.Andrei Karas1-7/+7
2014-02-22Move color into gui dir.Andrei Karas1-8/+9
2014-02-15move some methods from base/graphics into render/graphics.Andrei Karas1-17/+146
Remove base/graphcs.
2014-02-15move exguichan files into gui/base/Andrei Karas1-2/+2
2014-01-29allow apply scale without client restart.Andrei Karas1-1/+3
2014-01-28add support for screen scale in OpenGL modes.Andrei Karas1-6/+23
2014-01-01update copyright year in all sources.Andrei Karas1-1/+1
2013-12-30add calcImageRect into each renderer. but copy function body to shared file.Andrei Karas1-6/+1
2013-12-30add drawImageRect into each renderer. but copy function body to shared file.Andrei Karas1-14/+3
2013-12-30Improve calcImageRect in renderers.Andrei Karas1-9/+1
2013-12-30Improve drawImageRect in renderers.Andrei Karas1-16/+1
2013-12-30Improve drawRescaledImage in renderers.Andrei Karas1-5/+3
2013-12-29improve draw image calls.Andrei Karas1-13/+1
2013-12-29Add cached draw methods into renderers.Andrei Karas1-0/+9
2013-12-28Remove unused method from renders.Andrei Karas1-8/+0
2013-12-28In renderers replace ImagePattern in methods into Pattern.Andrei Karas1-16/+16
2013-12-15rename drawTile methods into separate names drawTileVertexes, ↵Andrei Karas1-2/+3
drawTileCollection.
2013-12-15rename calcTile methods into separate names calcTileVertexes, calTileCollection.Andrei Karas1-6/+6
2013-12-14Improve a bit separate images drawing.Andrei Karas1-8/+17
2013-10-24add final keyword to render files.Andrei Karas1-1/+1
2013-10-19fix const in definition in graphics.hAndrei Karas1-2/+3
2013-09-27fix code style and issues with different builds.Andrei Karas1-1/+0
2013-09-25improve construcors in abstract classes.Andrei Karas1-4/+5
Also add some missing final to classes.
2013-09-16fix compilation with SDL2.Andrei Karas1-0/+4
2013-09-16remove unused includes from render files.Andrei Karas1-3/+1
2013-09-13fix code style.Andrei Karas1-3/+3
2013-09-08fix window resize from settings in SDL2.Andrei Karas1-0/+2
2013-09-01improve speed in software renderer in SDL2.Andrei Karas1-1/+1
now it works almost with same speed like SDL1.2