[core] port outlinepattern for fill-pattern anti-aliasing from gl-js to native
add outlinepattern shader class to relevant files add outlinepattern code to painter_fill.cpp add outlinepattern code to fill_bucket refactor painter_fill, fix tests fix merge conflicts and setDepthSublayer update render test to no antialiasing so travis will be happy
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include <mbgl/shader/pattern_shader.hpp>
|
||||
#include <mbgl/shader/plain_shader.hpp>
|
||||
#include <mbgl/shader/outline_shader.hpp>
|
||||
#include <mbgl/shader/outlinepattern_shader.hpp>
|
||||
#include <mbgl/shader/line_shader.hpp>
|
||||
#include <mbgl/shader/linesdf_shader.hpp>
|
||||
#include <mbgl/shader/linepattern_shader.hpp>
|
||||
@@ -49,6 +50,7 @@ Painter::Painter(const TransformState& state_, gl::GLObjectStore& glObjectStore_
|
||||
|
||||
plainShader = std::make_unique<PlainShader>(glObjectStore);
|
||||
outlineShader = std::make_unique<OutlineShader>(glObjectStore);
|
||||
outlinePatternShader = std::make_unique<OutlinePatternShader>(glObjectStore);
|
||||
lineShader = std::make_unique<LineShader>(glObjectStore);
|
||||
linesdfShader = std::make_unique<LineSDFShader>(glObjectStore);
|
||||
linepatternShader = std::make_unique<LinepatternShader>(glObjectStore);
|
||||
|
||||
Reference in New Issue
Block a user