summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-12-25Add restrict keyword to all renderers.Andrei Karas1-17/+24
2015-12-25Add restrict to all methods in graphics.Andrei Karas1-1/+1
2015-12-25Add restrict keyword in openglgraphicsdefadvanced.hppAndrei Karas1-5/+8
2015-12-25Add restrict keyword in openglgraphicsdef1.hppAndrei Karas1-1/+1
2015-12-25Add restrict keyword in openglgraphicsdef.hppAndrei Karas1-4/+4
2015-12-25Add restrict keyword into graphicsdef.hppAndrei Karas1-59/+76
2015-12-20Fix regal and nacl conflict in headers.Andrei Karas1-1/+1
2015-12-20Move OpenGL functions related files into opengl directory.Andrei Karas1-2/+2
2015-12-16Use screenshort helpers for creating screenshotsAndrei Karas1-57/+0
2015-12-15Replace all left OpenGL calls in mobile and modern backends to defines.Andrei Karas1-3/+3
2015-12-13Fix code style.Andrei Karas1-1/+2
2015-12-13Not build unsupported render backends on nacl.Andrei Karas1-2/+2
2015-12-11Add pseudo function for some gl calls.Andrei Karas1-24/+24
2015-12-11Add nacl gl init and nacl defines and includes in most files.Andrei Karas1-0/+3
2015-11-02Add some missing checks in renderers.Andrei Karas1-0/+2
2015-06-25Add missing checks into render directory.Andrei Karas1-8/+16
2015-05-25Remove color2 from graphics.Andrei Karas1-7/+0
2015-03-23Fix leak on exit in modernopenglgraphics.Andrei Karas1-2/+2
2015-03-16Remove useless includes from cpp filesAndrei Karas1-2/+0
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-07-12Add macro for checking OpenGL function is it null or not null.Andrei Karas1-1/+1
2014-07-10In OpenGL context creation add support for compatability context.Andrei Karas1-1/+1
2014-07-09Improve initial OpenGL state.Andrei Karas1-16/+3
Moved shared code into separate method.
2014-07-02Rename some variables in renderers.Andrei Karas1-41/+41
2014-07-02Fix resize in modernopengl with own context in SDL1.2 build.Andrei Karas1-5/+17
2014-06-29Remove useless bool return value from renderers.Andrei Karas1-18/+15
2014-06-29In renderers add copyImage function.Andrei Karas1-0/+6
For now it same with drawImage.
2014-06-29Fix compilation warning.Andrei Karas1-1/+2
2014-06-28Remove some depricated code from modernopengl or move it to renderers.Andrei Karas1-8/+0
2014-06-28Improve a bit performance test in modernopengl.Andrei Karas1-5/+7
2014-06-24Add manual OpenGL context creation.Andrei Karas1-0/+6
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-20Fix code style.Andrei Karas1-17/+17
2014-06-18Add error logging if shader compilation failure.Andrei Karas1-0/+5
2014-06-14In modernopengl add support for EBO, but unused.Andrei Karas1-2/+30
2014-06-14Fix compilation warnings.Andrei Karas1-62/+21
2014-06-14Add OpenGL function glVertexAttribIPointer.Andrei Karas1-0/+4
2014-06-14Switch modernopengl from float into int buffers.Andrei Karas1-141/+141
2014-06-14fix modernoepngl drawing.Andrei Karas1-0/+77
Add simple draw test in most renders.
2014-06-13In modernopengl use correct buffer flags STATIC/STREAM.Andrei Karas1-10/+10
2014-06-13In modernopengl add calcimagerect.Andrei Karas1-0/+1
This is last function for cached draw, now modernopengl can be used for all
2014-06-13In modernopengl add support for draw cached tile vertexes.Andrei Karas1-0/+57
2014-06-13Remove debug logging from modernopengl.Andrei Karas1-8/+0
2014-06-13Ignore for now "cached" functions in modernopengl.Andrei Karas1-5/+7
2014-06-13In modernopengl add support for buffered draw tile collection.Andrei Karas1-0/+185
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-12Rename NormalOpenGLGraphicsVertexes into OpenGLGraphicsVertexes.Andrei Karas1-2/+2
2014-06-12Add set vbo function into modernopengl.Andrei Karas1-4/+11
2014-06-12In modernopengl enable scissor.Andrei Karas1-5/+0
2014-06-12In modernopengl add drawimagerect function.Andrei Karas1-0/+1
2014-06-12In modernopengl add drawnet function.Andrei Karas1-0/+66
2014-06-12In modernopengl add rescaleddraw.Andrei Karas1-3/+72
Also fix drawpattern.