• Tomaž Vajngerl's avatar
    opengl: shader based polyline rendering - fixes tdf#97137 for OGL · d18ad8a7
    Tomaž Vajngerl yazdı
    Adds native opengl polyline rendering to draw polylines, line joins
    and line caps as triangle strips. The vertex shader allows for the
    dynamic line width by calculating the correct vertex posiitons,
    and the fragment shader is used for anti-aliasing.
    
    Change-Id: If7982c828cae1fae59c57194c8ac77e5ad7f1d26
    d18ad8a7
lineFragmentShader.glsl 1.1 KB