m_size = size;
}
- int getPlatformSurfaceTextureID(bool useLinearFilter, bool updateTexture) {
+ int getPlatformSurfaceTextureID(bool useLinearFilter) {
if (!m_frontBuffer)
return 0;
m_platformSurfaceTextures.set(m_frontBuffer, platformSurfaceTexture);
} else
platformSurfaceTexture = it->second;
-
- if (updateTexture)
- platformSurfaceTexture->updateTexture();
-
return platformSurfaceTexture->id();
}
uint32_t GraphicsSurface::platformGetTextureID()
{
- return m_private->getPlatformSurfaceTextureID(m_canvasFlags & GraphicsSurface::UseLinearFilter, m_canvasFlags & GraphicsSurface::UpdateTexture);
+ return m_private->getPlatformSurfaceTextureID(m_canvasFlags & GraphicsSurface::UseLinearFilter);
}
void GraphicsSurface::platformPaintToTextureMapper(TextureMapper* textureMapper, const FloatRect& targetRect, const TransformationMatrix& transform, float opacity)