summaryrefslogtreecommitdiff
path: root/src/render
AgeCommit message (Collapse)AuthorFilesLines
2014-07-12Add functions to get ARB or EXT OpenGL functions.Andrei Karas2-7/+29
2014-07-12Simplify assignFunction and add two args function assignFunction2.Andrei Karas2-9/+18
2014-07-12Fix logging about emulated OpenGL functions.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 Karas7-45/+43
Moved shared code into separate method.
2014-07-05Fix code style.Andrei Karas4-20/+23
2014-07-02Add basic support for functions from OpenGL extension ↵Andrei Karas6-0/+99
GL_EXT_direct_state_access.
2014-07-02Rename some variables in renderers.Andrei Karas7-61/+61
2014-07-02Fix resize in modernopengl with own context in SDL1.2 build.Andrei Karas4-6/+28
2014-07-02Fix compilation error with SDL2.Andrei Karas1-2/+1
2014-06-29Remove useless bool return value from renderers.Andrei Karas16-223/+163
2014-06-29Add imagegraphics for drawing into texture/image.Andrei Karas2-0/+275
For now it empty.
2014-06-29In renderers add copyImage function.Andrei Karas12-0/+85
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 Karas3-9/+1
2014-06-28Improve a bit performance test in modernopengl.Andrei Karas1-5/+7
2014-06-24Add glXSwapBuffers into GLX functions.Andrei Karas4-0/+4
2014-06-24Add manual OpenGL context creation.Andrei Karas8-6/+47
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-23Add glx functions helpers.Andrei Karas7-0/+240
Add some glx functions.
2014-06-22Add OpenGL extension GL_EXT_timer_query.Andrei Karas3-0/+26
2014-06-21Validate shader program after compilation.Andrei Karas1-1/+9
2014-06-21add Support for OpenGL extension GL_ARB_texture_storage.Andrei Karas3-0/+4
2014-06-20Fix code style.Andrei Karas8-28/+39
2014-06-19Add some more OpenGL functions from GL_KHR_debug.Andrei Karas4-0/+13
2014-06-19Add functions from OpenGL extension GL_ARB_copy_image.Andrei Karas3-0/+8
2014-06-18Add error logging if shader compilation failure.Andrei Karas1-0/+5
2014-06-15Fix compilation warning.Andrei Karas1-2/+1
2014-06-15In normalopengl dont bind buffers pointers if it already binded.Andrei Karas1-35/+44
2014-06-15Add OpenGL extension GL_ARB_invalidate_subdata.Andrei Karas3-0/+3
And use it for invalidate prepared for deletion images.
2014-06-14In modernopengl add support for EBO, but unused.Andrei Karas2-2/+34
2014-06-14Fix compilation warnings.Andrei Karas1-62/+21
2014-06-14Add OpenGL function glVertexAttribIPointer.Andrei Karas4-0/+8
2014-06-14Fix draw test in normalopengl and safeopengl.Andrei Karas2-8/+12
2014-06-14Switch modernopengl from float into int buffers.Andrei Karas5-144/+148
2014-06-14fix modernoepngl drawing.Andrei Karas10-0/+178
Add simple draw test in most renders.
2014-06-13In modernopengl use correct buffer flags STATIC/STREAM.Andrei Karas1-10/+10
2014-06-13Allow pattern/batched draw in modernopengl.Andrei Karas1-2/+1
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 Karas2-7/+9
2014-06-13In modernopengl add support for buffered draw tile collection.Andrei Karas3-0/+203
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 Karas9-16/+16
2014-06-12Add set vbo function into modernopengl.Andrei Karas2-7/+14
2014-06-12In modernopengl enable scissor.Andrei Karas1-5/+0
2014-06-12For now disable batch draw in modern opengl because it not implimented.Andrei Karas1-1/+2
2014-06-12In modernopengl add drawimagerect function.Andrei Karas1-0/+1
2014-06-12In modernopengl add drawnet function.Andrei Karas2-0/+68
2014-06-12In modernopengl add rescaleddraw.Andrei Karas1-3/+72
Also fix drawpattern.
2014-06-12In modernopengl add draw rescaled image.Andrei Karas2-6/+64