diff options
author | mtklein <mtklein@chromium.org> | 2015-07-29 08:18:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-29 08:18:34 -0700 |
commit | 117842223bd13325b6da26110d80e0590c1a742b (patch) | |
tree | 860d279a06ceccbc6cd27e2fb1771f4c831f631e /src/gpu | |
parent | 0f07c3f855a02379176d74341d241f8bc881ddad (diff) |
Move headers with no dependencies.
C.f. https://codereview.chromium.org/1261013003/
BUG=skia:4126
Will follow up with two more CLs if this works:
- one moving SkRecords.h
- one moving SkMiniRecorder.h
No public API changes.
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1266593002
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/SkGpuFenceSync.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/gpu/SkGpuFenceSync.h b/src/gpu/SkGpuFenceSync.h deleted file mode 100644 index b78398fed8..0000000000 --- a/src/gpu/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 |