• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name
2
3    ANGLE_logic_op
4
5Name Strings
6
7    GL_ANGLE_logic_op
8
9Contributors
10
11    Shahbaz Youssefi, Google
12
13Contact
14
15    Shahbaz Youssefi, Google (syoussefi 'at' google.com)
16
17Status
18
19    Draft
20
21Version
22
23    Last Modified Date: Sep 14, 2022
24    Revision: 1
25
26Number
27
28    TBD
29
30Dependencies
31
32    Written against the OpenGL ES 2.0 specifications
33
34Overview
35
36    For internal use of ANGLE for GLES1 emulation, through this extension the
37    backend lets the frontend know that the equivalent of glLogicOp is natively
38    supported and can be used.
39
40New Procedures and Functions
41
42    The following commands are added:
43
44        void LogicOpANGLE(enum op);
45
46New Tokens
47
48    The following tokens are added:
49
50    Accepted by the <cap> parameter of Enable, Disable, and IsEnabled:
51
52        COLOR_LOGIC_OP_ANGLE                 0x0BF2
53
54    Accepted by the <op> parameter of LogicOpANGLE:
55
56        LOGIC_OP_CLEAR_ANGLE                 0x1500
57        LOGIC_OP_AND_ANGLE                   0x1501
58        LOGIC_OP_AND_REVERSE_ANGLE           0x1502
59        LOGIC_OP_COPY_ANGLE                  0x1503
60        LOGIC_OP_AND_INVERTED_ANGLE          0x1504
61        LOGIC_OP_NOOP_ANGLE                  0x1505
62        LOGIC_OP_XOR_ANGLE                   0x1506
63        LOGIC_OP_OR_ANGLE                    0x1507
64        LOGIC_OP_NOR_ANGLE                   0x1508
65        LOGIC_OP_EQUIV_ANGLE                 0x1509
66        LOGIC_OP_INVERT_ANGLE                0x150A
67        LOGIC_OP_OR_REVERSE_ANGLE            0x150B
68        LOGIC_OP_COPY_INVERTED_ANGLE         0x150C
69        LOGIC_OP_OR_INVERTED_ANGLE           0x150D
70        LOGIC_OP_NAND_ANGLE                  0x150E
71        LOGIC_OP_SET_ANGLE                   0x150F
72
73The semantics of LogicOpANGLE and COLOR_LOGIC_OP_ANGLE are identical to LogicOp
74and COLOR_LOGIC_OP in the OpenGL ES 1.0 specification.
75
76Revision History
77
78    Revision 1, 2022-07-14 (Shahbaz Youssefi)
79        - Initial draft
80