MCPcopy Create free account
hub / github.com/comaps/comaps / Batch

Method Batch

libs/drape_frontend/overlay_batcher.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void OverlayBatcher::Batch(ref_ptr<dp::GraphicsContext> context, drape_ptr<MapShape> const & shape,
22 ref_ptr<dp::TextureManager> texMng)
23{
24 m_batcher.SetFeatureMinZoom(shape->GetFeatureMinZoom());
25 shape->Draw(context, make_ref(&m_batcher), texMng);
26}
27
28void OverlayBatcher::Finish(ref_ptr<dp::GraphicsContext> context, TOverlaysRenderData & data)
29{

Callers 1

AcceptMessageMethod · 0.80

Calls 4

make_refFunction · 0.85
GetFeatureMinZoomMethod · 0.80
SetFeatureMinZoomMethod · 0.45
DrawMethod · 0.45

Tested by

no test coverage detected