diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2018-09-07 12:06:52 +0300 |
---|---|---|
committer | Aleksey Belousov <beloal@users.noreply.github.com> | 2018-09-25 12:33:08 +0300 |
commit | f46b9a375a56239171b15111d32882a64b07360f (patch) | |
tree | 4878d10eeba0e73e379b327221cdfc28e45abe56 /drape_frontend/user_mark_shapes.hpp | |
parent | 320c691763deb4d0483cca1f82ee8f0f75b26623 (diff) |
[drape][metal] Refactored vertex array buffer and context usage.
Diffstat (limited to 'drape_frontend/user_mark_shapes.hpp')
-rw-r--r-- | drape_frontend/user_mark_shapes.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drape_frontend/user_mark_shapes.hpp b/drape_frontend/user_mark_shapes.hpp index 05881cf678..90b48c82ff 100644 --- a/drape_frontend/user_mark_shapes.hpp +++ b/drape_frontend/user_mark_shapes.hpp @@ -83,11 +83,11 @@ using TUserMarksRenderData = std::vector<UserMarkRenderData>; void ProcessSplineSegmentRects(m2::SharedSpline const & spline, double maxSegmentLength, std::function<bool(m2::RectD const & segmentRect)> const & func); -void CacheUserMarks(TileKey const & tileKey, ref_ptr<dp::TextureManager> textures, - kml::MarkIdCollection const & marksId, UserMarksRenderCollection & renderParams, - dp::Batcher & batcher); +void CacheUserMarks(ref_ptr<dp::GraphicsContext> context, TileKey const & tileKey, + ref_ptr<dp::TextureManager> textures, kml::MarkIdCollection const & marksId, + UserMarksRenderCollection & renderParams, dp::Batcher & batcher); -void CacheUserLines(TileKey const & tileKey, ref_ptr<dp::TextureManager> textures, - kml::TrackIdCollection const & linesId, UserLinesRenderCollection & renderParams, - dp::Batcher & batcher); +void CacheUserLines(ref_ptr<dp::GraphicsContext> context, TileKey const & tileKey, + ref_ptr<dp::TextureManager> textures, kml::TrackIdCollection const & linesId, + UserLinesRenderCollection & renderParams, dp::Batcher & batcher); } // namespace df |