aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Gpu/Synchronization/HostSyncFlags.cs
blob: 42666991422364ec15453b4b2cc350f16e25edbc (plain) (blame)
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
using System;

namespace Ryujinx.Graphics.Gpu.Synchronization
{
    /// <summary>
    /// Modifier flags for creating host sync.
    /// </summary>
    [Flags]
    internal enum HostSyncFlags
    {
        None = 0,

        /// <summary>
        /// Present if host sync is being created by a syncpoint.
        /// </summary>
        Syncpoint = 1 << 0,

        /// <summary>
        /// Present if the sync should signal as soon as possible.
        /// </summary>
        Strict = 1 << 1,

        /// <summary>
        /// Present will force the sync to be created, even if no actions are eligible.
        /// </summary>
        Force = 1 << 2,

        StrictSyncpoint = Strict | Syncpoint
    }
}