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

Method Unmap

libs/drape/gpu_buffer.cpp:136–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void GPUBuffer::Unmap()
137{
138#ifdef DEBUG
139 ASSERT(m_isMapped, ());
140 m_isMapped = false;
141#endif
142
143 m_mappingOffset = 0;
144 if (IsMapBufferSupported())
145 GLFunctions::glUnmapBuffer(glTarget(m_t));
146}
147
148void GPUBuffer::Resize(void const * data, uint32_t elementCount)
149{

Callers 1

~DataBufferMapperMethod · 0.45

Calls 3

ASSERTFunction · 0.85
IsMapBufferSupportedFunction · 0.85
glTargetFunction · 0.85

Tested by

no test coverage detected