diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-02-28 17:41:38 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-03-01 09:33:37 +0100 |
commit | fd37d9065029c732d97e6fa59bc0a0d27ecd3c72 (patch) | |
tree | 32111ffa986b6338f2aa4311b2974c90ec09baff /src/mbgl/gl/context.hpp | |
parent | c53cbe52461e3c1f6f4e1bb6383a6a2e3e5a2cae (diff) | |
download | qtlocation-mapboxgl-fd37d9065029c732d97e6fa59bc0a0d27ecd3c72.tar.gz |
[core] move draw mode and primitives to gfx namespace
Diffstat (limited to 'src/mbgl/gl/context.hpp')
-rw-r--r-- | src/mbgl/gl/context.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mbgl/gl/context.hpp b/src/mbgl/gl/context.hpp index a10b49da48..b09c64de5a 100644 --- a/src/mbgl/gl/context.hpp +++ b/src/mbgl/gl/context.hpp @@ -11,7 +11,7 @@ #include <mbgl/gl/index_buffer.hpp> #include <mbgl/gl/vertex_array.hpp> #include <mbgl/gl/types.hpp> -#include <mbgl/gl/draw_mode.hpp> +#include <mbgl/gfx/draw_mode.hpp> #include <mbgl/gl/depth_mode.hpp> #include <mbgl/gl/stencil_mode.hpp> #include <mbgl/gl/color_mode.hpp> @@ -164,18 +164,18 @@ public: optional<float> depth, optional<int32_t> stencil); - void setDrawMode(const Points&); - void setDrawMode(const Lines&); - void setDrawMode(const LineStrip&); - void setDrawMode(const Triangles&); - void setDrawMode(const TriangleStrip&); + void setDrawMode(const gfx::Points&); + void setDrawMode(const gfx::Lines&); + void setDrawMode(const gfx::LineStrip&); + void setDrawMode(const gfx::Triangles&); + void setDrawMode(const gfx::TriangleStrip&); void setDepthMode(const DepthMode&); void setStencilMode(const StencilMode&); void setColorMode(const ColorMode&); void setCullFaceMode(const CullFaceMode&); - void draw(PrimitiveType, + void draw(gfx::PrimitiveType, std::size_t indexOffset, std::size_t indexLength); |