1 | /* Copyright (c) 2001, Stanford University
|
---|
2 | * All rights reserved
|
---|
3 | *
|
---|
4 | * See the file LICENSE.txt for information on redistributing this software.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #include "unpacker.h"
|
---|
8 |
|
---|
9 | void crUnpackPixelMapfv( void )
|
---|
10 | {
|
---|
11 | GLenum map = READ_DATA( sizeof( int ) + 0, GLenum );
|
---|
12 | GLsizei mapsize = READ_DATA( sizeof( int ) + 4, GLsizei );
|
---|
13 | GLfloat *values = DATA_POINTER( sizeof( int ) + 8, GLfloat );
|
---|
14 |
|
---|
15 | cr_unpackDispatch.PixelMapfv( map, mapsize, values );
|
---|
16 | INCR_VAR_PTR();
|
---|
17 | }
|
---|
18 |
|
---|
19 | void crUnpackPixelMapuiv( void )
|
---|
20 | {
|
---|
21 | GLenum map = READ_DATA( sizeof( int ) + 0, GLenum );
|
---|
22 | GLsizei mapsize = READ_DATA( sizeof( int ) + 4, GLsizei );
|
---|
23 | GLuint *values = DATA_POINTER( sizeof( int ) + 8, GLuint );
|
---|
24 |
|
---|
25 | cr_unpackDispatch.PixelMapuiv( map, mapsize, values );
|
---|
26 | INCR_VAR_PTR();
|
---|
27 | }
|
---|
28 |
|
---|
29 | void crUnpackPixelMapusv( void )
|
---|
30 | {
|
---|
31 | GLenum map = READ_DATA( sizeof( int ) + 0, GLenum );
|
---|
32 | GLsizei mapsize = READ_DATA( sizeof( int ) + 4, GLsizei );
|
---|
33 | GLushort *values = DATA_POINTER( sizeof( int ) + 8, GLushort );
|
---|
34 |
|
---|
35 | cr_unpackDispatch.PixelMapusv( map, mapsize, values );
|
---|
36 | INCR_VAR_PTR();
|
---|
37 | }
|
---|