| Index: Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.h
|
| ===================================================================
|
| --- Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.h (revision 85349)
|
| +++ Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.h (working copy)
|
| @@ -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 @@
|
| 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);
|
|
|