diff options
Diffstat (limited to 'cc/tile_draw_quad.h')
-rw-r--r-- | cc/tile_draw_quad.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cc/tile_draw_quad.h b/cc/tile_draw_quad.h index 4802d82..12e9a61 100644 --- a/cc/tile_draw_quad.h +++ b/cc/tile_draw_quad.h @@ -15,9 +15,9 @@ namespace cc { #pragma pack(push, 4) -class CCTileDrawQuad : public CCDrawQuad { +class TileDrawQuad : public DrawQuad { public: - static scoped_ptr<CCTileDrawQuad> create(const CCSharedQuadState*, const IntRect& quadRect, const IntRect& opaqueRect, unsigned resourceId, const IntPoint& textureOffset, const IntSize& textureSize, GLint textureFilter, bool swizzleContents, bool leftEdgeAA, bool topEdgeAA, bool rightEdgeAA, bool bottomEdgeAA); + static scoped_ptr<TileDrawQuad> create(const SharedQuadState*, const IntRect& quadRect, const IntRect& opaqueRect, unsigned resourceId, const IntPoint& textureOffset, const IntSize& textureSize, GLint textureFilter, bool swizzleContents, bool leftEdgeAA, bool topEdgeAA, bool rightEdgeAA, bool bottomEdgeAA); unsigned resourceId() const { return m_resourceId; } IntPoint textureOffset() const { return m_textureOffset; } @@ -32,9 +32,9 @@ public: bool isAntialiased() const { return leftEdgeAA() || topEdgeAA() || rightEdgeAA() || bottomEdgeAA(); } - static const CCTileDrawQuad* materialCast(const CCDrawQuad*); + static const TileDrawQuad* materialCast(const DrawQuad*); private: - CCTileDrawQuad(const CCSharedQuadState*, const IntRect& quadRect, const IntRect& opaqueRect, unsigned resourceId, const IntPoint& textureOffset, const IntSize& textureSize, GLint textureFilter, bool swizzleContents, bool leftEdgeAA, bool topEdgeAA, bool rightEdgeAA, bool bottomEdgeAA); + TileDrawQuad(const SharedQuadState*, const IntRect& quadRect, const IntRect& opaqueRect, unsigned resourceId, const IntPoint& textureOffset, const IntSize& textureSize, GLint textureFilter, bool swizzleContents, bool leftEdgeAA, bool topEdgeAA, bool rightEdgeAA, bool bottomEdgeAA); unsigned m_resourceId; IntPoint m_textureOffset; |