summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h')
-rw-r--r--Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h b/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h
index bea4baa41..ee9895ae1 100644
--- a/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h
+++ b/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h
@@ -130,6 +130,7 @@ public:
const CCVideoLayerImpl::RGBAProgram* videoLayerRGBAProgram();
const CCVideoLayerImpl::YUVProgram* videoLayerYUVProgram();
const CCVideoLayerImpl::NativeTextureProgram* videoLayerNativeTextureProgram();
+ const CCVideoLayerImpl::StreamTextureProgram* streamTextureLayerProgram();
void getFramebufferPixels(void *pixels, const IntRect&);
@@ -168,6 +169,14 @@ private:
void drawPluginQuad(const CCPluginDrawQuad*);
ManagedTexture* getOffscreenLayerTexture();
+ void copyPlaneToTexture(const CCVideoDrawQuad*, const void* plane, int index);
+ bool copyFrameToTextures(const CCVideoDrawQuad*);
+ template<class Program> void drawSingleTextureVideoQuad(const CCVideoDrawQuad*, Program*, float widthScaleFactor, Platform3DObject textureId, GC3Denum target);
+ void drawNativeTexture2D(const CCVideoDrawQuad*);
+ void drawStreamTexture(const CCVideoDrawQuad*);
+ void drawRGBA(const CCVideoDrawQuad*);
+ void drawYUV(const CCVideoDrawQuad*);
+
void copyOffscreenTextureToDisplay();
void setDrawViewportRect(const IntRect&, bool flipY);
@@ -226,6 +235,7 @@ private:
OwnPtr<CCVideoLayerImpl::RGBAProgram> m_videoLayerRGBAProgram;
OwnPtr<CCVideoLayerImpl::YUVProgram> m_videoLayerYUVProgram;
OwnPtr<CCVideoLayerImpl::NativeTextureProgram> m_videoLayerNativeTextureProgram;
+ OwnPtr<CCVideoLayerImpl::StreamTextureProgram> m_streamTextureLayerProgram;
OwnPtr<TextureManager> m_renderSurfaceTextureManager;
OwnPtr<TrackingTextureAllocator> m_contentsTextureAllocator;