| // Copyright 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CCCheckerboardDrawQuad_h |
| #define CCCheckerboardDrawQuad_h |
| |
| #include "CCDrawQuad.h" |
| #include <wtf/PassOwnPtr.h> |
| |
| namespace cc { |
| |
| #pragma pack(push, 4) |
| |
| class CCCheckerboardDrawQuad : public CCDrawQuad { |
| public: |
| static PassOwnPtr<CCCheckerboardDrawQuad> create(const CCSharedQuadState*, const IntRect&); |
| |
| static const CCCheckerboardDrawQuad* materialCast(const CCDrawQuad*); |
| private: |
| CCCheckerboardDrawQuad(const CCSharedQuadState*, const IntRect&); |
| }; |
| |
| #pragma pack(pop) |
| |
| } |
| |
| #endif |