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

Side by Side Diff: mojo/public/c/gpu/MGL/mgl_signal_sync_point.h

Issue 1320833003: Expose SignalSyncPoint through MGL api (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Note: This header should be compilable as C.
6
7 #ifndef MOJO_PUBLIC_C_GPU_MGL_MGL_SIGNAL_SYNC_POINT_H_
8 #define MOJO_PUBLIC_C_GPU_MGL_MGL_SIGNAL_SYNC_POINT_H_
9
10 #include <stdint.h>
11
12 #include "mojo/public/c/gpu/MGL/mgl_types.h"
13 #include "mojo/public/c/system/types.h"
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 typedef void (*MGLSyncPointCallback)(void* closure);
20
21 // MGLSignalSyncPoint signals the given sync point in the current context and
22 // invokes |callback| when the service side acknowleges that the sync point has
23 // been passed.
24 void MGLSignalSyncPoint(uint32_t sync_point,
25 MGLSignalSyncPointCallback callback,
26 void* closure);
27
28 #ifdef __cplusplus
29 } // extern "C"
30 #endif
31
32 #endif // MOJO_PUBLIC_C_GPU_MGL_MGL_SIGNAL_SYNC_POINT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698