source: trunk/sys/TinyGL/src/opinfo.h @ 186

Last change on this file since 186 was 1, checked in by alain, 8 years ago

First import

File size: 1.6 KB
Line 
1
2
3ADD_OP(Color,7,"%f %f %f %f %d %d %d")
4ADD_OP(TexCoord,4,"%f %f %f %f")
5ADD_OP(EdgeFlag,1,"%d")
6ADD_OP(Normal,3,"%f %f %f")
7
8ADD_OP(Begin,1,"%C")
9ADD_OP(Vertex,4,"%f %f %f %f")
10ADD_OP(End,0,"")
11
12ADD_OP(EnableDisable,2,"%C %d")
13
14ADD_OP(MatrixMode,1,"%C")
15ADD_OP(LoadMatrix,16,"")
16ADD_OP(LoadIdentity,0,"")
17ADD_OP(MultMatrix,16,"")
18ADD_OP(PushMatrix,0,"")
19ADD_OP(PopMatrix,0,"")
20ADD_OP(Rotate,4,"%f %f %f %f")
21ADD_OP(Translate,3,"%f %f %f")
22ADD_OP(Scale,3,"%f %f %f")
23
24ADD_OP(Viewport,4,"%d %d %d %d")
25ADD_OP(Frustum,6,"%f %f %f %f %f %f")
26
27ADD_OP(Material,6,"%C %C %f %f %f %f")
28ADD_OP(ColorMaterial,2,"%C %C")
29ADD_OP(Light,6,"%C %C %f %f %f %f")
30ADD_OP(LightModel,5,"%C %f %f %f %f")
31
32ADD_OP(Clear,1,"%d")
33ADD_OP(ClearColor,4,"%f %f %f %f")
34ADD_OP(ClearDepth,1,"%f")
35
36ADD_OP(InitNames,0,"")
37ADD_OP(PushName,1,"%d")
38ADD_OP(PopName,0,"")
39ADD_OP(LoadName,1,"%d")
40
41ADD_OP(TexImage2D,9,"%d %d %d %d %d %d %d %d %d")
42ADD_OP(BindTexture,2,"%C %d")
43ADD_OP(TexEnv,7,"%C %C %C %f %f %f %f")
44ADD_OP(TexParameter,7,"%C %C %C %f %f %f %f")
45ADD_OP(PixelStore,2,"%C %C")
46
47ADD_OP(ShadeModel,1,"%C")
48ADD_OP(CullFace,1,"%C")
49ADD_OP(FrontFace,1,"%C")
50ADD_OP(PolygonMode,2,"%C %C")
51
52ADD_OP(CallList,1,"%d")
53ADD_OP(Hint,2,"%C %C")
54
55/* special opcodes */
56ADD_OP(EndList,0,"")
57ADD_OP(NextBuffer,1,"%p")
58
59/* opengl 1.1 arrays */
60ADD_OP(ArrayElement, 1, "%d")
61ADD_OP(EnableClientState, 1, "%C")
62ADD_OP(DisableClientState, 1, "%C")
63ADD_OP(VertexPointer, 4, "%d %C %d %p")
64ADD_OP(ColorPointer, 4, "%d %C %d %p")
65ADD_OP(NormalPointer, 3, "%C %d %p")
66ADD_OP(TexCoordPointer, 4, "%d %C %d %p")
67
68/* opengl 1.1 polygon offset */
69ADD_OP(PolygonOffset, 2, "%f %f")
70
71#undef ADD_OP
Note: See TracBrowser for help on using the repository browser.