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

Unified Diff: cc/SkPictureCanvasLayerTextureUpdater.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/SkPictureCanvasLayerTextureUpdater.h ('k') | cc/SolidColorLayerChromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/SkPictureCanvasLayerTextureUpdater.cpp
diff --git a/cc/SkPictureCanvasLayerTextureUpdater.cpp b/cc/SkPictureCanvasLayerTextureUpdater.cpp
deleted file mode 100644
index 62026d7227c3fd6f0e796a29bf1af8af3c23f3ce..0000000000000000000000000000000000000000
--- a/cc/SkPictureCanvasLayerTextureUpdater.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2011 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"
-
-#if USE(ACCELERATED_COMPOSITING)
-
-#include "SkPictureCanvasLayerTextureUpdater.h"
-
-#include "LayerPainterChromium.h"
-#include "SkCanvas.h"
-#include "TraceEvent.h"
-
-namespace cc {
-
-SkPictureCanvasLayerTextureUpdater::SkPictureCanvasLayerTextureUpdater(PassOwnPtr<LayerPainterChromium> painter)
- : CanvasLayerTextureUpdater(painter)
- , m_layerIsOpaque(false)
-{
-}
-
-SkPictureCanvasLayerTextureUpdater::~SkPictureCanvasLayerTextureUpdater()
-{
-}
-
-void SkPictureCanvasLayerTextureUpdater::prepareToUpdate(const IntRect& contentRect, const IntSize&, float contentsWidthScale, float contentsHeightScale, IntRect& resultingOpaqueRect, CCRenderingStats& stats)
-{
- SkCanvas* canvas = m_picture.beginRecording(contentRect.width(), contentRect.height());
- paintContents(canvas, contentRect, contentsWidthScale, contentsHeightScale, resultingOpaqueRect, stats);
- m_picture.endRecording();
-}
-
-void SkPictureCanvasLayerTextureUpdater::drawPicture(SkCanvas* canvas)
-{
- TRACE_EVENT0("cc", "SkPictureCanvasLayerTextureUpdater::drawPicture");
- canvas->drawPicture(m_picture);
-}
-
-void SkPictureCanvasLayerTextureUpdater::setOpaque(bool opaque)
-{
- m_layerIsOpaque = opaque;
-}
-
-} // namespace cc
-#endif // USE(ACCELERATED_COMPOSITING)
« no previous file with comments | « cc/SkPictureCanvasLayerTextureUpdater.h ('k') | cc/SolidColorLayerChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698