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

Side by Side Diff: src/gpu/SkGpuFenceSync.h

Issue 1258293004: Revert "Move the rest of src headers used by include to include/private." (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « src/core/SkRecords.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2015 Google Inc. 3 * Copyright 2015 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #ifndef SkGpuFenceSync_DEFINED 8 #ifndef SkGpuFenceSync_DEFINED
9 #define SkGpuFenceSync_DEFINED 9 #define SkGpuFenceSync_DEFINED
10 10
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12 12
13 typedef void* SkPlatformGpuFence; 13 typedef void* SkPlatformGpuFence;
14 14
15 /* 15 /*
16 * This class provides an interface to interact with fence syncs. A fence sync i s an object that the 16 * This class provides an interface to interact with fence syncs. A fence sync i s an object that the
17 * client can insert into the GPU command stream, and then at any future time, w ait until all 17 * client can insert into the GPU command stream, and then at any future time, w ait until all
18 * commands that were issued before the fence have completed. 18 * commands that were issued before the fence have completed.
19 */ 19 */
20 class SkGpuFenceSync { 20 class SkGpuFenceSync {
21 public: 21 public:
22 virtual SkPlatformGpuFence SK_WARN_UNUSED_RESULT insertFence() const = 0; 22 virtual SkPlatformGpuFence SK_WARN_UNUSED_RESULT insertFence() const = 0;
23 virtual bool flushAndWaitFence(SkPlatformGpuFence) const = 0; 23 virtual bool flushAndWaitFence(SkPlatformGpuFence) const = 0;
24 virtual void deleteFence(SkPlatformGpuFence) const = 0; 24 virtual void deleteFence(SkPlatformGpuFence) const = 0;
25 25
26 virtual ~SkGpuFenceSync() {} 26 virtual ~SkGpuFenceSync() {}
27 }; 27 };
28 28
29 #endif 29 #endif
OLDNEW
« no previous file with comments | « src/core/SkRecords.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698