summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
AgeCommit message (Collapse)AuthorFilesLines
2018-01-09Remove useless A_CONST attributes.Andrei Karas1-2/+2
2018-01-04Update copyrights year.Andrei Karas1-1/+1
2017-09-12Add option for enable high dpi mode in SDL 2.Andrei Karas1-2/+5
2017-07-17Do actual SDL2 graphics cleanup before exit.Andrei Karas1-3/+5
2017-06-20Fix sdl warning hiding pragmas for old compilers.Andrei Karas1-3/+3
2017-06-20Prevent Wshadow varnings in SDL code.Andrei Karas1-0/+3
2017-01-03Update copyright year.Andrei Karas1-1/+1
2016-12-12Add noexcept in some files.Andrei Karas1-1/+1
2016-09-23Add missing comments into defines.Andrei Karas1-12/+15
2016-09-03Add option for create custom OpenGL context.Andrei Karas1-2/+2
By default this option disabled, because may create issues.
2016-06-15Fix other include issues.Andrei Karas1-3/+3
2016-06-13Fix includes and update deheader ci script.Andrei Karas1-1/+0
2016-04-30Disable noexcept for clang and old gcc versions.Andrei Karas1-16/+16
2016-03-26Fix code style.Andrei Karas1-1/+1
2016-03-11Fix code style.Andrei Karas1-1/+2
2016-03-07In renderers in function calcWindow add non null attributes.Andrei Karas1-1/+1
2016-03-07In renderers in function drawTileCollection add non null attributes.Andrei Karas1-1/+2
2016-03-07In renderers in function calcTileVertexes add non null attributes.Andrei Karas1-1/+2
2016-01-06Add noexcept into graphics.Andrei Karas1-16/+16
2016-01-02Update copyrights year.Andrei Karas1-1/+1
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