Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1105)

Unified Diff: cc/CCTileDrawQuad.cpp

Issue 11122003: [cc] Rename all cc/ filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/CCTileDrawQuad.h ('k') | cc/CCTiledLayerImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCTileDrawQuad.cpp
diff --git a/cc/CCTileDrawQuad.cpp b/cc/CCTileDrawQuad.cpp
deleted file mode 100644
index a5ac33dbeb04af8f274d30c6ca3339fbbd6c8cf1..0000000000000000000000000000000000000000
--- a/cc/CCTileDrawQuad.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-// 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.
-
-#include "config.h"
-
-#include "CCTileDrawQuad.h"
-
-namespace cc {
-
-scoped_ptr<CCTileDrawQuad> CCTileDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, const IntRect& opaqueRect, unsigned resourceId, const IntPoint& textureOffset, const IntSize& textureSize, GC3Dint textureFilter, bool swizzleContents, bool leftEdgeAA, bool topEdgeAA, bool rightEdgeAA, bool bottomEdgeAA)
-{
- return make_scoped_ptr(new CCTileDrawQuad(sharedQuadState, quadRect, opaqueRect, resourceId, textureOffset, textureSize, textureFilter, swizzleContents, leftEdgeAA, topEdgeAA, rightEdgeAA, bottomEdgeAA));
-}
-
-CCTileDrawQuad::CCTileDrawQuad(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, const IntRect& opaqueRect, unsigned resourceId, const IntPoint& textureOffset, const IntSize& textureSize, GC3Dint textureFilter, bool swizzleContents, bool leftEdgeAA, bool topEdgeAA, bool rightEdgeAA, bool bottomEdgeAA)
- : CCDrawQuad(sharedQuadState, CCDrawQuad::TiledContent, quadRect)
- , m_resourceId(resourceId)
- , m_textureOffset(textureOffset)
- , m_textureSize(textureSize)
- , m_textureFilter(textureFilter)
- , m_swizzleContents(swizzleContents)
- , m_leftEdgeAA(leftEdgeAA)
- , m_topEdgeAA(topEdgeAA)
- , m_rightEdgeAA(rightEdgeAA)
- , m_bottomEdgeAA(bottomEdgeAA)
-{
- if (isAntialiased())
- m_needsBlending = true;
- m_opaqueRect = opaqueRect;
-}
-
-const CCTileDrawQuad* CCTileDrawQuad::materialCast(const CCDrawQuad* quad)
-{
- ASSERT(quad->material() == CCDrawQuad::TiledContent);
- return static_cast<const CCTileDrawQuad*>(quad);
-}
-
-}
« no previous file with comments | « cc/CCTileDrawQuad.h ('k') | cc/CCTiledLayerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698