forked from dotnet/macios
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIODefs.cs
More file actions
38 lines (31 loc) · 658 Bytes
/
Copy pathIODefs.cs
File metadata and controls
38 lines (31 loc) · 658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// IOSurface
//
// Authors:
// Miguel de Icaza (miguel@xamarin.com)
//
// Copyright 2017 Microsoft
//
using System;
using XamCore.ObjCRuntime;
namespace XamCore.IOSurface {
public enum IOSurfaceLockOptions : uint {
ReadOnly = 1,
AvoidSync = 2,
}
public enum IOSurfacePurgeabilityState : uint {
NonVolatile = 0,
Volatile = 1,
Empty = 2,
KeepCurrent = 3,
}
// To be used with kIOSurfaceCacheMode or IOSurfacePropertyKeyCacheMode
public enum IOSurfaceMemoryMap {
DefaultCache = 0,
InhibitCache = 1 << 8,
WriteThruCache = 2 << 8,
CopybackCache = 3 << 8,
WriteCombineCache = 4 << 8,
CopybackInnerCache = 5 << 8,
};
}