• Maciej Suminski's avatar
    Introducing shaders. · 28511cf4
    Maciej Suminski authored
    Shader's parameters are stored in VBO_ITEM. Changed VBO_ITEM data structure. Added UseShader() function for selecting shader for a given VBO_ITEM.
    Added one main vertex & fragment shader program to be used for with all kinds of items (type of shader is selected using attributes that are stored in VBO). Currently available shaders are: at-least-1px-width line, filled circle and stroked circle.
    Removed unnecessary param (aDepthOffset) from a few functions (OPENGL_GAL::drawSemiCircle(), OPENGL_GAL::drawLineCap()). Removed function OPENGL_GAL::DrawRoundedSegment(). Changed some asserts to debug info or error log.
    28511cf4
Name
Last commit
Last update
..
cairo Loading commit data...
opengl Loading commit data...
color4d.h Loading commit data...
definitions.h Loading commit data...
graphics_abstraction_layer.h Loading commit data...
stroke_font.h Loading commit data...