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

Unified Diff: tools/VisualBench/VisualBench.h

Issue 2018603003: Remove VisualBench and its Android implementation. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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/VisualBench/TimingStateMachine.cpp ('k') | tools/VisualBench/VisualBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/VisualBench/VisualBench.h
diff --git a/tools/VisualBench/VisualBench.h b/tools/VisualBench/VisualBench.h
deleted file mode 100644
index e965b094d981f47bf29cbf6b136fdfc97a07f777..0000000000000000000000000000000000000000
--- a/tools/VisualBench/VisualBench.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright 2015 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- *
- */
-
-#ifndef VisualBench_DEFINED
-#define VisualBench_DEFINED
-
-#include "SkWindow.h"
-
-#include "SkPicture.h"
-#include "SkString.h"
-#include "SkSurface.h"
-#include "VisualFlags.h"
-#include "VisualModule.h"
-#include "gl/GLTestContext.h"
-
-class GrContext;
-struct GrGLInterface;
-class GrRenderTarget;
-class SkCanvas;
-
-/*
- * A Visual benchmarking tool for gpu benchmarking
- */
-class VisualBench : public SkOSWindow {
-public:
- VisualBench(void* hwnd, int argc, char** argv);
- ~VisualBench() override;
-
- void reset() { this->resetContext(); }
-
- void clear(SkCanvas* canvas, SkColor color, int frames);
-
-protected:
- SkSurface* createSurface() override;
-
- void draw(SkCanvas* canvas) override;
-
- void onSizeChange() override;
-
-private:
- void setTitle();
- bool setupBackend();
- void resetContext();
- void setupRenderTarget();
- bool onHandleChar(SkUnichar unichar) override;
- void tearDownContext();
- void setupContext();
-
- // support framework
- SkAutoTDelete<VisualModule> fModule;
- SkAutoTUnref<SkSurface> fSurface;
- SkAutoTUnref<GrContext> fContext;
- SkAutoTUnref<GrRenderTarget> fRenderTarget;
- AttachmentInfo fAttachmentInfo;
- SkAutoTUnref<const GrGLInterface> fInterface;
-
- typedef SkOSWindow INHERITED;
-};
-
-#endif
« no previous file with comments | « tools/VisualBench/TimingStateMachine.cpp ('k') | tools/VisualBench/VisualBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698