diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.h')
-rw-r--r-- | Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.h b/Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.h index 09f198a..fc68f1d 100644 --- a/Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.h +++ b/Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.h @@ -28,13 +28,15 @@ #if USE(ACCELERATED_COMPOSITING) #include "Font.h" -#include "LayerRendererChromium.h" - +#include "ProgramBinding.h" +#include "ShaderChromium.h" namespace WebCore { class GeometryBinding; class GraphicsContext3D; +class LayerRendererChromium; +class LayerTexture; // Class that handles drawing of composited render layers using GL. class CCHeadsUpDisplay { @@ -58,6 +60,8 @@ public: bool enabled() const { return m_showPlatformLayerTree || m_showFPSCounter; } void draw(); + typedef ProgramBinding<VertexShaderPosTex, FragmentShaderBGRATexAlpha> Program; + private: explicit CCHeadsUpDisplay(LayerRendererChromium* owner); void drawHudContents(GraphicsContext*, const IntSize& hudSize); |