summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
AgeCommit message (Collapse)AuthorFilesLines
2015-12-26Fix code style.Andrei Karas1-7/+13
2015-12-25Add restrict keyword into graphicsdef.hppAndrei Karas1-1/+1
2015-12-24Fix compilation with clang.Andrei Karas1-79/+81
2015-12-24Add restrict keyword into graphics.Andrei Karas1-101/+107
2015-12-23Add const attribute to render.Andrei Karas1-0/+8
2015-12-16Use screenshort helpers for creating screenshotsAndrei Karas1-8/+3
2015-12-16Add sdlscreenshothelper.Andrei Karas1-0/+2
2015-12-13Move spells and graphics related constants into separate files.Andrei Karas1-3/+0
2015-08-09Add some missing checks to render found by paranucker.Andrei Karas1-1/+1
2015-05-25Remove color2 from graphics.Andrei Karas1-16/+0
2015-05-17Fix code style.Andrei Karas1-3/+0
2015-05-13Remove duplicate function from graphics.Andrei Karas1-8/+0
2015-05-13New stack class in graphics areas stack.Andrei Karas1-2/+3
2015-03-17Remove useless includes from .h files.Andrei Karas1-0/+1
2015-01-13Move rendertype.h into enums directory.Andrei Karas1-2/+2
2015-01-01Update copyrights year.Andrei Karas1-1/+1
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