summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/chromium/GLES2Canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/chromium/GLES2Canvas.h')
-rw-r--r--Source/WebCore/platform/graphics/chromium/GLES2Canvas.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/chromium/GLES2Canvas.h b/Source/WebCore/platform/graphics/chromium/GLES2Canvas.h
index f6a8bcf..635eb10 100644
--- a/Source/WebCore/platform/graphics/chromium/GLES2Canvas.h
+++ b/Source/WebCore/platform/graphics/chromium/GLES2Canvas.h
@@ -100,14 +100,14 @@ public:
DrawingBuffer* drawingBuffer() const { return m_drawingBuffer; }
private:
+ void applyState();
void scissorClear(float x, float y, float width, float height);
void drawTexturedRectTile(Texture* texture, int tile, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform&, float alpha);
void drawTexturedQuad(const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform&, float alpha);
void drawTexturedQuadMitchell(const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform&, float alpha);
void convolveRect(unsigned texture, const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, float imageIncrement[2], const float* kernel, int kernelWidth);
- void applyCompositeOperator(CompositeOperator);
- void createVertexBufferFromPath(const Path&, int* count, unsigned* vertexBuffer, unsigned* indexBuffer);
+ void tesselateAndFillPath(const Path&, const Color&);
void fillPathInternal(const Path&, const Color&);
void fillRectInternal(const FloatRect&, const Color&);
FloatRect flipRect(const FloatRect&);
@@ -131,6 +131,7 @@ private:
// Members for GPU-accelerated path rendering.
LoopBlinnPathCache m_pathCache;
+ unsigned m_pathIndexBuffer;
unsigned m_pathVertexBuffer;
};