diff options
Diffstat (limited to 'WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp')
-rw-r--r-- | WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp b/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp index 64981ee..9ce0efe 100644 --- a/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp +++ b/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp @@ -39,12 +39,6 @@ #include "Canvas2DLayerChromium.h" #endif -#include <GLES2/gl2.h> -#ifndef GL_GLEXT_PROTOTYPES -#define GL_GLEXT_PROTOTYPES 1 -#endif -#include <GLES2/gl2ext.h> - namespace WebCore { struct DrawingBufferInternal { @@ -105,8 +99,8 @@ void DrawingBuffer::publishToPlatformLayer() // happens before the compositor draws. This means we might draw stale frames sometimes. Ideally this // would insert a fence into the child command stream that the compositor could wait for. m_context->makeContextCurrent(); - glCopyTextureToParentTexture(m_internal->offscreenColorTexture, parentTexture); - glFlush(); + m_context->copyTextureToParentTextureCHROMIUM(m_internal->offscreenColorTexture, parentTexture); + m_context->flush(); } #endif |