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

Unified Diff: tools/gpu/FenceSync.h

Issue 2395573002: Revert of Move GPU fences into sk_gpu_test (Closed)
Patch Set: Created 4 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 | « include/private/SkGpuFenceSync.h ('k') | tools/gpu/TestContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gpu/FenceSync.h
diff --git a/tools/gpu/FenceSync.h b/tools/gpu/FenceSync.h
deleted file mode 100644
index c3f1182621e08bd07bfdb18ca54f735d3d5899e3..0000000000000000000000000000000000000000
--- a/tools/gpu/FenceSync.h
+++ /dev/null
@@ -1,34 +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.
- */
-
-#ifndef FenceSync_DEFINED
-#define FenceSync_DEFINED
-
-#include "SkTypes.h"
-
-namespace sk_gpu_test {
-
-using PlatformFence = intptr_t;
-static constexpr PlatformFence kInvalidPlatformFence = 0;
-
-/*
- * This class provides an interface to interact with fence syncs. A fence sync is an object that the
- * client can insert into the GPU command stream, and then at any future time, wait until all
- * commands that were issued before the fence have completed.
- */
-class FenceSync {
-public:
- virtual PlatformFence SK_WARN_UNUSED_RESULT insertFence() const = 0;
- virtual bool waitFence(PlatformFence) const = 0;
- virtual void deleteFence(PlatformFence) const = 0;
-
- virtual ~FenceSync() {}
-};
-
-}
-
-#endif
« no previous file with comments | « include/private/SkGpuFenceSync.h ('k') | tools/gpu/TestContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698