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

Unified Diff: tools/vulkan/viewer/GMSlide.cpp

Issue 1945103003: Rename VulkanViewer to Viewer, take 2. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix android path Created 4 years, 7 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 | « tools/vulkan/viewer/GMSlide.h ('k') | tools/vulkan/viewer/SKPSlide.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/vulkan/viewer/GMSlide.cpp
diff --git a/tools/vulkan/viewer/GMSlide.cpp b/tools/vulkan/viewer/GMSlide.cpp
deleted file mode 100644
index 6096044a38cdc83b03f1a270842e28a7291c9985..0000000000000000000000000000000000000000
--- a/tools/vulkan/viewer/GMSlide.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-* Copyright 2016 Google Inc.
-*
-* Use of this source code is governed by a BSD-style license that can be
-* found in the LICENSE file.
-*/
-/*
-* Copyright 2014 Google Inc.
-*
-* Use of this source code is governed by a BSD-style license that can be
-* found in the LICENSE file.
-*/
-
-#include "GMSlide.h"
-#include "SkCanvas.h"
-
-GMSlide::GMSlide(skiagm::GM* gm) : fGM(gm) {
- fName.printf("GM_%s", gm->getName());
-}
-
-GMSlide::~GMSlide() { delete fGM; }
-
-void GMSlide::draw(SkCanvas* canvas) {
- // Do we care about timing the draw of the background (once)?
- // Does the GM ever rely on drawBackground to lazily compute something?
- fGM->drawBackground(canvas);
- fGM->drawContent(canvas);
-}
-
-bool GMSlide::animate(const SkAnimTimer& timer) {
- return fGM->animate(timer);
-}
« no previous file with comments | « tools/vulkan/viewer/GMSlide.h ('k') | tools/vulkan/viewer/SKPSlide.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698