aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/SurfaceFlinger/Status.cs
blob: 5a1519021d4e67989462871db27b7ccc8d1333c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
    enum Status : int
    {
        Success          = 0,
        WouldBlock       = -11,
        NoMemory         = -12,
        Busy             = -16,
        NoInit           = -19,
        BadValue         = -22,
        InvalidOperation = -37,

        // Producer flags
        BufferNeedsReallocation = 1,
        ReleaseAllBuffers       = 2,

        // Consumer errors
        StaleBufferSlot    = 1,
        NoBufferAvailaible = 2,
        PresentLater       = 3,
    }
}