diff options
author | csmartdalton <csmartdalton@google.com> | 2016-10-04 11:08:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-04 11:08:45 -0700 |
commit | 421a3c1cc1b227084c7c84618d0b6a6804faabef (patch) | |
tree | 121df15df779adc93866c323571c3a02ee349429 /include | |
parent | d36baa7a4a5ae3cc94cc4a45379f55658f80c0a6 (diff) |
Move GPU fences into sk_gpu_test
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2383383002
Review-Url: https://codereview.chromium.org/2383383002
Diffstat (limited to 'include')
-rw-r--r-- | include/private/SkGpuFenceSync.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/private/SkGpuFenceSync.h b/include/private/SkGpuFenceSync.h deleted file mode 100644 index 5e5d3a6a4e..0000000000 --- a/include/private/SkGpuFenceSync.h +++ /dev/null @@ -1,30 +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; -constexpr static SkPlatformGpuFence kInvalidPlatformGpuFence = nullptr; - -/* - * 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 waitFence(SkPlatformGpuFence) const = 0; - virtual void deleteFence(SkPlatformGpuFence) const = 0; - - virtual ~SkGpuFenceSync() {} -}; - -#endif |