summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.h
AgeCommit message (Collapse)AuthorFilesLines
2014-06-24Add manual OpenGL context creation.Andrei Karas1-0/+3
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-14In modernopengl add support for EBO, but unused.Andrei Karas1-0/+4
2014-06-14Switch modernopengl from float into int buffers.Andrei Karas1-3/+3
2014-06-14fix modernoepngl drawing.Andrei Karas1-0/+5
Add simple draw test in most renders.
2014-06-13In modernopengl add support for buffered draw tile collection.Andrei Karas1-0/+12
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-1/+1
2014-06-12Add set vbo function into modernopengl.Andrei Karas1-3/+3
2014-06-12In modernopengl add drawnet function.Andrei Karas1-0/+2
2014-06-12In modernopengl add draw rescaled image.Andrei Karas1-0/+7
2014-06-12Use only one shader program for all drawing.Andrei Karas1-9/+5
2014-06-11In modernopengl add alpha for textures.Andrei Karas1-0/+1
2014-06-11In modernopengl for textures use one attribute (before was two)Andrei Karas1-1/+0
2014-06-10In modernopengl implimented drawpattern.Andrei Karas1-4/+6
2014-06-10In modernopengl Use one global VBOAndrei Karas1-0/+1
2014-06-10In modernopengl add basic VAO usage.Andrei Karas1-0/+1
2014-06-10Remove unused buffers from modernopengl.Andrei Karas1-4/+2
2014-06-10Add basic texture drawing in modernopengl.Andrei Karas1-4/+15
2014-06-09Add basic shaders in modernopengl.Andrei Karas1-0/+11
Add draw/fill rectangle functions.
2014-06-08Add simple shader creation.Andrei Karas1-0/+4
2014-06-08Clean modernopenglgraphics from legacy code.Andrei Karas1-11/+1
Now it cant draw anything.
2014-06-08copy mobileopengl into modernopengl.Andrei Karas1-0/+98