[ElmSharp] Fix SetNextFocusObject issue (#401)
[platform/core/csapi/tizenfx.git] / external / src / OpenTK / OpenTK / Graphics / GraphicsContextFlags.cs
1 //
2 // The Open Toolkit Library License
3 //
4 // Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted.
5 //
6 // Permission is hereby granted, free of charge, to any person obtaining a copy
7 // of this software and associated documentation files (the "Software"), to deal
8 // in the Software without restriction, including without limitation the rights to
9 // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 // the Software, and to permit persons to whom the Software is furnished to do
11 // so, subject to the following conditions:
12 //
13 // The above copyright notice and this permission notice shall be included in all
14 // copies or substantial portions of the Software.
15 //
16 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18 // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21 // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 // OTHER DEALINGS IN THE SOFTWARE.
24 //
25
26 using System;
27
28 namespace OpenTK.Graphics
29 {
30     /// <summary>
31     /// Enumerates various flags that affect the creation of new GraphicsContexts.
32     /// </summary>
33     [Flags]
34     public enum GraphicsContextFlags
35     {
36         /// <summary>
37         /// The default value of the GraphicsContextFlags enumeration.
38         /// </summary>
39         Default = 0x0000,
40         /// <summary>
41         /// Indicates that this is a debug GraphicsContext. Debug contexts may provide
42         /// additional debugging information at the cost of performance.
43         /// </summary>
44         /// <remarks></remarks>
45         Debug = 0x0001,
46         /// <summary>
47         /// Indicates that this is a forward compatible GraphicsContext. Forward-compatible contexts
48         /// do not support functionality marked as deprecated in the current GraphicsContextVersion.
49         /// </summary>
50         /// <remarks>Forward-compatible contexts are defined only for OpenGL versions 3.0 and later.</remarks>
51         ForwardCompatible = 0x0002,
52         /// <summary>
53         /// Indicates that this GraphicsContext is targeting OpenGL|ES.
54         /// </summary>
55         Embedded = 0x0004,
56         /// <summary>
57         /// Indicates that this GraphicsContext is intended for offscreen rendering.
58         /// </summary>
59         Offscreen = 0x0008,
60         /// <summary>
61         /// Indicates that this GraphicsContext is targeting OpenGL|ES via Angle
62         /// and that angle-specific extensions are available.
63         /// </summary>
64         Angle = 0x0010,
65         /// <summary>
66         /// Indicates that this GraphicsContext is targeting OpenGL|ES via Angle
67         /// and uses Direct3D9 as rendering backend.
68         /// </summary>
69         AngleD3D9 = 0x0020,
70         /// <summary>
71         /// Indicates that this GraphicsContext is targeting OpenGL|ES via Angle
72         /// and uses Direct3D11 as rendering backend.
73         /// </summary>
74         AngleD3D11 = 0x0040,
75         /// <summary>
76         /// Indicates that this GraphicsContext is targeting OpenGL|ES via Angle
77         /// and uses OpenGL as rendering backend.
78         /// </summary>
79         AngleOpenGL = 0x0080,
80     }
81 }