aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/SkGpuFenceSync.h
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2015-07-01 09:45:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-01 09:45:46 -0700
commit4417c7f8bb85aa1eae536cc50c70c0cc87f31171 (patch)
treefba28ed61b62ff520d00983e5f8b3d1e0f1ef6d7 /include/private/SkGpuFenceSync.h
parenta89f55198bdc58f0b6f6196907ab25a6afc1a661 (diff)
Revert "Move headers used by headers in include/ to include/private."
This reverts commit a89f55198bdc58f0b6f6196907ab25a6afc1a661. Reason: breaking the roll. TBR=mtklein@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1216033008
Diffstat (limited to 'include/private/SkGpuFenceSync.h')
-rw-r--r--include/private/SkGpuFenceSync.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/include/private/SkGpuFenceSync.h b/include/private/SkGpuFenceSync.h
deleted file mode 100644
index b78398fed8..0000000000
--- a/include/private/SkGpuFenceSync.h
+++ /dev/null
@@ -1,29 +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 SkGpuFenceSync_DEFINED
-#define SkGpuFenceSync_DEFINED
-
-#include "SkTypes.h"
-
-typedef void* SkPlatformGpuFence;
-
-/*
- * 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 SkGpuFenceSync {
-public:
- virtual SkPlatformGpuFence SK_WARN_UNUSED_RESULT insertFence() const = 0;
- virtual bool flushAndWaitFence(SkPlatformGpuFence) const = 0;
- virtual void deleteFence(SkPlatformGpuFence) const = 0;
-
- virtual ~SkGpuFenceSync() {}
-};
-
-#endif