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

Unified Diff: ui/gfx/gpu_fence.h

Issue 2384243003: ui: Add libsync GLFence implementation.
Patch Set: rebase Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libsync/BUILD.gn ('k') | ui/gfx/ipc/gfx_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gpu_fence.h
diff --git a/ui/gfx/gpu_fence.h b/ui/gfx/gpu_fence.h
index d0f9666cb60f325a1435019218cdc083d5edd5e8..3ce9d81390fe10f11b9ab22d8994c978c19a6087 100644
--- a/ui/gfx/gpu_fence.h
+++ b/ui/gfx/gpu_fence.h
@@ -9,12 +9,19 @@
#include "ui/gfx/gfx_export.h"
#include "ui/gfx/shared_event.h"
+#if defined(OS_LINUX)
+#include "base/file_descriptor_posix.h"
+#endif
+
extern "C" typedef struct _ClientFence* ClientFence;
namespace gfx {
struct GFX_EXPORT GpuFenceHandle {
SharedEventHandle shared_event_handle;
+#if defined(OS_LINUX)
+ base::FileDescriptor fd;
+#endif
};
// This interface correspond to a type of fence that can be shared between
« no previous file with comments | « third_party/libsync/BUILD.gn ('k') | ui/gfx/ipc/gfx_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698