summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.cpp
AgeCommit message (Collapse)AuthorFilesLines
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.
2014-06-12In modernopengl add draw rescaled image.Andrei Karas1-6/+57
2014-06-12In modernopengl add support for draw point and draw line.Andrei Karas1-0/+25
2014-06-12Use only one shader program for all drawing.Andrei Karas1-80/+50
2014-06-11In modernopengl add alpha for textures.Andrei Karas1-12/+10
2014-06-11In modernopengl for textures use one attribute (before was two)Andrei Karas1-15/+1
2014-06-11in modernopengl use new api for vertex attributes.Andrei Karas1-15/+26
2014-06-10In modernopengl implimented drawpattern.Andrei Karas1-0/+100
2014-06-10In modernopengl dont set color if it already same.Andrei Karas1-16/+19
2014-06-10In modernopengl Use one global VBOAndrei Karas1-13/+5
2014-06-10In modernopengl add basic VAO usage.Andrei Karas1-18/+20
2014-06-10In modernopengl use glProgramUniform.Andrei Karas1-15/+0
2014-06-10testAndrei Karas1-5/+12
2014-06-10Remove unused buffers from modernopengl.Andrei Karas1-20/+11
2014-06-10Use cliparea for texture drawing position in modernopengl.Andrei Karas1-2/+5
2014-06-10Use same varaible names in simple and texture shaders.Andrei Karas1-3/+3
2014-06-10Add basic texture drawing in modernopengl.Andrei Karas1-24/+130
2014-06-09Add basic shaders in modernopengl.Andrei Karas1-5/+111
Add draw/fill rectangle functions.