summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-01-03Update copyright year.Andrei Karas1-1/+1
2016-09-23Add missing comments into defines.Andrei Karas1-30/+36
2016-09-03Add option for create custom OpenGL context.Andrei Karas1-3/+3
By default this option disabled, because may create issues.
2016-06-18Fix compilation with Android and SDL2.Andrei Karas1-2/+1
2016-06-15Fix other include issues.Andrei Karas1-2/+6
2016-02-17Fix unit tests if build with SDL2 support.Andrei Karas1-1/+3
2016-02-07Fix code style.Andrei Karas1-1/+2
2016-02-07Replace most static_cast<Type> to shorter versions from defines.Andrei Karas1-8/+8
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-12-25Add restrict to all methods in graphics.Andrei Karas1-18/+25
2015-12-25Add restrict keyword in openglgraphicsdef.hppAndrei Karas1-1/+1
2015-12-25Add restrict keyword into graphicsdef.hppAndrei Karas1-5/+5
2015-12-24Add restrict keyword into graphics.Andrei Karas1-1/+1
2015-12-20Move nacl rendering related files into nacl directory.Andrei Karas1-2/+2
2015-12-20Move OpenGLX related files into openglx directory.Andrei Karas1-1/+1
2015-12-20Move OpenGL functions related files into opengl directory.Andrei Karas1-1/+1
2015-12-15Add safeopenglimagehelper for using in safe opengl mode only.Andrei Karas1-4/+15
2015-12-13Fix code style.Andrei Karas1-1/+0
2015-12-13Fix compilation warning.Andrei Karas1-2/+2
2015-12-13Allow resize nacl window with OpenGL without recreating context.Andrei Karas1-10/+32
2015-12-12Replace glGetString into mglGetString.Andrei Karas1-0/+7
2015-12-11Add pseudo function for some gl calls.Andrei Karas1-0/+2
2015-12-10Add support for mobileopengl2 backend (still copy from modern opengl).Andrei Karas1-0/+1
2015-08-09Show error message in log if selected texture compression not supported.Andrei Karas1-0/+1
2015-08-09Add some missing checks to render found by paranucker.Andrei Karas1-1/+1
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