summaryrefslogtreecommitdiff
path: root/src/render
AgeCommit message (Collapse)AuthorFilesLines
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
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 Karas4-97/+55
2014-06-11In modernopengl add alpha for textures.Andrei Karas2-12/+11
2014-06-11In modernopengl for textures use one attribute (before was two)Andrei Karas2-16/+1
2014-06-11Add OpenGL glBindVertexBuffers.Andrei Karas3-0/+4
Add info about missing and found OpenGL functions.
2014-06-11in modernopengl use new api for vertex attributes.Andrei Karas1-15/+26
2014-06-10Add some vertex OpenGL functions.Andrei Karas3-0/+12
2014-06-10In modernopengl implimented drawpattern.Andrei Karas2-4/+106
2014-06-10In modernopengl dont set color if it already same.Andrei Karas1-16/+19