1 | # Copyright (c) 2001, Stanford University
|
---|
2 | # All rights reserved.
|
---|
3 | #
|
---|
4 | # See the file LICENSE.txt for information on redistributing this software.
|
---|
5 | :unpack:unpack.rowLength:PixelStorei,GL_UNPACK_ROW_LENGTH
|
---|
6 | #:unpack:unpack.skipImages:PixelStorei,GL_UNPACK_SKIP_IMAGES
|
---|
7 | :unpack:unpack.skipRows:PixelStorei,GL_UNPACK_SKIP_ROWS
|
---|
8 | :unpack:unpack.skipPixels:PixelStorei,GL_UNPACK_SKIP_PIXELS
|
---|
9 | #:unpack:unpack.imageHeight:PixelStorei,GL_UNPACK_IMAGE_HEIGHT
|
---|
10 | :pack:pack.rowLength:PixelStorei,GL_PACK_ROW_LENGTH
|
---|
11 | #:pack:pack.skipImages:PixelStorei,GL_PACK_SKIP_IMAGES
|
---|
12 | :pack:pack.skipRows:PixelStorei,GL_PACK_SKIP_ROWS
|
---|
13 | :pack:pack.skipPixels:PixelStorei,GL_PACK_SKIP_PIXELS
|
---|
14 | #:pack:pack.imageHeight:PixelStorei,GL_PACK_IMAGE_HEIGHT
|
---|
15 | #:clientPointer:v.size,v.type,v.stride,v.p:VertexPointer
|
---|
16 | #:clientPointer:c.size,c.type,c.stride,c.p:ColorPointer
|
---|
17 | #:clientPointer:s.size,s.type,s.stride,s.p:SecondaryColorPointerEXT
|
---|
18 | #:clientPointer:i.type,i.stride,i.p:IndexPointer
|
---|
19 | #:clientPointer:n.type,n.stride,n.p:NormalPointer
|
---|
20 | #:clientPointer:t.size,t.type,t.stride,t.p:TexCoordPointer
|
---|
21 | #:clientPointer:e.stride,e.p:EdgeFlagPointer
|
---|
22 | #:enableClientState:*glAble able[2];
|
---|
23 | #:enableClientState:*able[0] = diff_api.DisableClientState;
|
---|
24 | #:enableClientState:*able[1] = diff_api.EnableClientState;
|
---|
25 | #:enableClientState:v.enabled:*able[to->v.enabled](GL_VERTEX_ARRAY);
|
---|
26 | #:enableClientState:c.enabled:*able[to->c.enabled](GL_COLOR_ARRAY);
|
---|
27 | #:enableClientState:i.enabled:*able[to->i.enabled](GL_INDEX_ARRAY);
|
---|
28 | #:enableClientState:n.enabled:*able[to->n.enabled](GL_NORMAL_ARRAY);
|
---|
29 | #:enableClientState:t.enabled:*able[to->t.enabled](GL_TEXTURE_COORD_ARRAY);
|
---|
30 | #:enableClientState:e.enabled:*able[to->e.enabled](GL_EDGE_FLAG_ARRAY);
|
---|
31 | #:enableClientState:s.enabled:*able[to->s.enabled](GL_SECONDARY_COLOR_ARRAY_EXT);
|
---|
32 | #+:element:*crError( "element in client state DiffContext!" ); /* __glclient_SendUpdates(b, bitID, from, to); */
|
---|