MCPcopy Create free account
hub / github.com/comaps/comaps / ~HWTexture

Method ~HWTexture

libs/drape/hw_texture.cpp:94–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94HWTexture::~HWTexture()
95{
96#if defined(TRACK_GPU_MEM)
97 dp::GPUMemTracker::Inst().RemoveDeallocated("Texture", m_textureID);
98 dp::GPUMemTracker::Inst().RemoveDeallocated("PBO", m_pixelBufferID);
99#endif
100}
101
102void HWTexture::Create(ref_ptr<dp::GraphicsContext> context, Params const & params)
103{

Callers

nothing calls this directly

Calls 1

RemoveDeallocatedMethod · 0.80

Tested by

no test coverage detected