MCPcopy Create free account
hub / github.com/MapServer/MapServer / getTexture

Method getTexture

mapoglrenderer.cpp:136–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136OglCachePtr OglRenderer::getTexture()
137{
138 if (!texture)
139 {
140 makeCurrent();
141 texture = new OglCache();
142 texture->texture = createTexture(0,0);//TEXTURE_BORDER/2, TEXTURE_BORDER/2);
143 texture->width = this->width;
144 texture->height = this->height;
145 }
146 return texture;
147}
148
149GLuint OglRenderer::createTexture(ms_uint32 offsetX, ms_uint32 offsetY)
150{

Callers 3

msDrawLineTiledOglFunction · 0.80
msDrawPolygonTiledOglFunction · 0.80
msRenderTileOglFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected