Searched refs:compsize (Results 1 - 25 of 25) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/mapi/glapi/gen/
H A DglX_proto_common.py52 """Create C code to calculate 'compsize'.
54 Creates code to calculate 'compsize'. If the function does
55 not need 'compsize' to be calculated, None will be
58 compsize = None
65 compsize = '__glImageSize(%s, %s, %s, %s, %s, %s)' % (w, h, d, param.img_format, param.img_type, param.img_target)
67 compsize = '(%s != NULL) ? %s : 0' % (param.name, compsize)
69 return compsize
73 compsize = "__gl%s_size(%s)" % (func.name, parameters)
75 return compsize
[all...]
H A DglX_proto_recv.py360 compsize = self.size_call(f, 1)
361 print ' %s = (%s) %s( (%s *) (pc + %s), %s );' % (param.name, param.type_string(), swap_func, self.real_types[type_size], o, compsize)
431 print ' const GLuint compsize = %s;' % (self.size_call(f, 1))
433 print ' %s %s = __glXGetAnswerBuffer(cl, compsize%s, answerBuffer, sizeof(answerBuffer), %u);' % (param.type_string(), param.name, size_scale, type_size )
435 answer_count = "compsize"
/external/mesa3d/src/mapi/glapi/gen/
H A DglX_proto_common.py52 """Create C code to calculate 'compsize'.
54 Creates code to calculate 'compsize'. If the function does
55 not need 'compsize' to be calculated, None will be
58 compsize = None
65 compsize = '__glImageSize(%s, %s, %s, %s, %s, %s)' % (w, h, d, param.img_format, param.img_type, param.img_target)
67 compsize = '(%s != NULL) ? %s : 0' % (param.name, compsize)
69 return compsize
73 compsize = "__gl%s_size(%s)" % (func.name, parameters)
75 return compsize
[all...]
H A DglX_proto_recv.py360 compsize = self.size_call(f, 1)
361 print ' %s = (%s) %s( (%s *) (pc + %s), %s );' % (param.name, param.type_string(), swap_func, self.real_types[type_size], o, compsize)
431 print ' const GLuint compsize = %s;' % (self.size_call(f, 1))
433 print ' %s %s = __glXGetAnswerBuffer(cl, compsize%s, answerBuffer, sizeof(answerBuffer), %u);' % (param.type_string(), param.name, size_scale, type_size )
435 answer_count = "compsize"
/external/chromium_org/third_party/mesa/src/src/glx/
H A Drender2.c58 compsize = k * order * __GLX_SIZE_FLOAT64;
59 cmdlen = 28 + compsize;
92 buf = (GLubyte *) Xmalloc(compsize);
98 __glXSendLargeCommand(gc, pc, 32, buf, compsize);
103 __glXSendLargeCommand(gc, pc, 32, pnts, compsize);
125 compsize = k * order * __GLX_SIZE_FLOAT32;
126 cmdlen = 20 + compsize;
155 buf = (GLubyte *) Xmalloc(compsize);
161 __glXSendLargeCommand(gc, pc, 24, buf, compsize);
166 __glXSendLargeCommand(gc, pc, 24, pnts, compsize);
[all...]
H A Dsinglepix.c58 compsize = reply.length << 2;
60 if (compsize != 0) {
74 _XEatData(dpy, compsize);
88 _XEatData(dpy, compsize - __GLX_PAD(widthsize));
138 unsigned compsize; local
148 compsize = reply.length << 2;
150 if (compsize != 0) {
163 _XEatData(dpy, compsize);
H A Drenderpix.c64 * \param compsize Size, in bytes, of the image portion
81 __glXSendLargeImage(struct glx_context * gc, GLint compsize, GLint dim, argument
87 GLubyte *buf = (GLubyte *) Xmalloc(compsize);
108 __glXSendLargeCommand(gc, gc->pc, pc - gc->pc, buf, compsize);
129 compsize = __glImageSize(width, 1, 1, format, type, 0);
133 image1len = __GLX_PAD(compsize);
149 if (compsize > 0) {
159 if ((compsize == 0) && (compsize2 == 0)) {
H A Dindirect_texture_compression.c92 compsize = 0;
95 compsize = image_size;
98 cmdlen = __GLX_PAD(__GLX_COMPRESSED_TEXIMAGE_CMD_HDR_SIZE + compsize);
108 if (compsize != 0) {
115 assert(compsize != 0);
151 compsize = 0;
154 compsize = image_size;
157 cmdlen = __GLX_PAD(__GLX_COMPRESSED_TEXSUBIMAGE_CMD_HDR_SIZE + compsize);
168 if (compsize != 0) {
175 assert(compsize !
[all...]
H A Dsingle2.c331 __GLX_SINGLE_GET_SIZE(compsize);
333 if (compsize == 0) {
354 if (compsize == 1) {
358 __GLX_SINGLE_GET_CHAR_ARRAY(b, compsize);
382 __GLX_SINGLE_GET_SIZE(compsize);
384 if (compsize == 0) {
405 if (compsize == 1) {
409 __GLX_SINGLE_GET_DOUBLE_ARRAY(d, compsize);
433 __GLX_SINGLE_GET_SIZE(compsize);
435 if (compsize
[all...]
H A Dpackrender.h59 GLuint compsize, cmdlen
66 compsize = 0; (void)compsize; \
H A Dpacksingle.h54 GLuint compsize, cmdlen; \
62 compsize = 0; (void)compsize; \
H A Dglxclient.h681 extern void __glXSendLargeImage(struct glx_context * gc, GLint compsize, GLint dim,
/external/mesa3d/src/glx/
H A Drender2.c58 compsize = k * order * __GLX_SIZE_FLOAT64;
59 cmdlen = 28 + compsize;
92 buf = (GLubyte *) Xmalloc(compsize);
98 __glXSendLargeCommand(gc, pc, 32, buf, compsize);
103 __glXSendLargeCommand(gc, pc, 32, pnts, compsize);
125 compsize = k * order * __GLX_SIZE_FLOAT32;
126 cmdlen = 20 + compsize;
155 buf = (GLubyte *) Xmalloc(compsize);
161 __glXSendLargeCommand(gc, pc, 24, buf, compsize);
166 __glXSendLargeCommand(gc, pc, 24, pnts, compsize);
[all...]
H A Dsinglepix.c58 compsize = reply.length << 2;
60 if (compsize != 0) {
74 _XEatData(dpy, compsize);
88 _XEatData(dpy, compsize - __GLX_PAD(widthsize));
138 unsigned compsize; local
148 compsize = reply.length << 2;
150 if (compsize != 0) {
163 _XEatData(dpy, compsize);
H A Drenderpix.c64 * \param compsize Size, in bytes, of the image portion
81 __glXSendLargeImage(struct glx_context * gc, GLint compsize, GLint dim, argument
87 GLubyte *buf = (GLubyte *) Xmalloc(compsize);
108 __glXSendLargeCommand(gc, gc->pc, pc - gc->pc, buf, compsize);
129 compsize = __glImageSize(width, 1, 1, format, type, 0);
133 image1len = __GLX_PAD(compsize);
149 if (compsize > 0) {
159 if ((compsize == 0) && (compsize2 == 0)) {
H A Dindirect_texture_compression.c92 compsize = 0;
95 compsize = image_size;
98 cmdlen = __GLX_PAD(__GLX_COMPRESSED_TEXIMAGE_CMD_HDR_SIZE + compsize);
108 if (compsize != 0) {
115 assert(compsize != 0);
151 compsize = 0;
154 compsize = image_size;
157 cmdlen = __GLX_PAD(__GLX_COMPRESSED_TEXSUBIMAGE_CMD_HDR_SIZE + compsize);
168 if (compsize != 0) {
175 assert(compsize !
[all...]
H A Dsingle2.c331 __GLX_SINGLE_GET_SIZE(compsize);
333 if (compsize == 0) {
354 if (compsize == 1) {
358 __GLX_SINGLE_GET_CHAR_ARRAY(b, compsize);
382 __GLX_SINGLE_GET_SIZE(compsize);
384 if (compsize == 0) {
405 if (compsize == 1) {
409 __GLX_SINGLE_GET_DOUBLE_ARRAY(d, compsize);
433 __GLX_SINGLE_GET_SIZE(compsize);
435 if (compsize
[all...]
H A Dpackrender.h59 GLuint compsize, cmdlen
66 compsize = 0; (void)compsize; \
H A Dpacksingle.h54 GLuint compsize, cmdlen; \
62 compsize = 0; (void)compsize; \
H A Dglxclient.h681 extern void __glXSendLargeImage(struct glx_context * gc, GLint compsize, GLint dim,
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
H A Dindirect.c335 const GLuint compsize = __glCallLists_size(type); local
336 const GLuint cmdlen = 12 + __GLX_PAD((compsize * n));
349 (void) memcpy((void *)(gc->pc + 12), (void *)(lists), (compsize * n));
361 __glXSendLargeCommand(gc, pc, 16, lists, (compsize * n));
441 const GLuint compsize = (bitmap != NULL) ? __glImageSize(width, height, 1, GL_COLOR_INDEX, GL_BITMAP, 0) : 0; local
442 const GLuint cmdlen = 48 + __GLX_PAD(compsize);
455 if (compsize > 0) {
475 __glXSendLargeImage(gc, compsize, 2, width, height, 1, GL_COLOR_INDEX, GL_BITMAP, bitmap, pc + 52, pc + 8);
1904 const GLuint compsize = __glFogfv_size(pname); local
1905 const GLuint cmdlen = 8 + __GLX_PAD((compsize *
1929 const GLuint compsize = __glFogiv_size(pname); local
1978 const GLuint compsize = __glLightfv_size(pname); local
2005 const GLuint compsize = __glLightiv_size(pname); local
2031 const GLuint compsize = __glLightModelfv_size(pname); local
2056 const GLuint compsize = __glLightModeliv_size(pname); local
2105 const GLuint compsize = __glMaterialfv_size(pname); local
2132 const GLuint compsize = __glMaterialiv_size(pname); local
2169 const GLuint compsize = (mask != NULL) ? __glImageSize(32, 32, 1, GL_COLOR_INDEX, GL_BITMAP, 0) : 0; local
2223 const GLuint compsize = __glTexParameterfv_size(pname); local
2250 const GLuint compsize = __glTexParameteriv_size(pname); local
2264 const GLuint compsize = __glImageSize(width, height, 1, format, type, target); local
2336 const GLuint compsize = __glTexEnvfv_size(pname); local
2363 const GLuint compsize = __glTexEnviv_size(pname); local
2390 const GLuint compsize = __glTexGendv_size(pname); local
2417 const GLuint compsize = __glTexGenfv_size(pname); local
2444 const GLuint compsize = __glTexGeniv_size(pname); local
3122 const GLuint compsize = (pixels != NULL) ? __glImageSize(width, height, 1, format, type, 0) : 0; local
4349 const GLuint compsize = (pixels != NULL) ? __glImageSize(width, height, 1, format, type, target) : 0; local
4435 const GLuint compsize = (table != NULL) ? __glImageSize(width, 1, 1, format, type, target) : 0; local
4476 const GLuint compsize = __glColorTableParameterfv_size(pname); local
4490 const GLuint compsize = __glColorTableParameteriv_size(pname); local
4695 const GLuint compsize = (data != NULL) ? __glImageSize(count, 1, 1, format, type, target) : 0; local
4751 const GLuint compsize = (image != NULL) ? __glImageSize(width, height, 1, format, type, target) : 0; local
4819 const GLuint compsize = __glConvolutionParameterfv_size(pname); local
4846 const GLuint compsize = __glConvolutionParameteriv_size(pname); local
5473 const GLuint compsize = (pixels != NULL) ? __glImageSize(width, height, depth, format, type, target) : 0; local
5532 const GLuint compsize = (pixels != NULL) ? __glImageSize(width, height, depth, format, type, target) : 0; local
6968 const GLuint compsize = __glPointParameterfvEXT_size(pname); local
8115 const GLuint compsize = __glPointParameterivNV_size(pname); local
[all...]
/external/chromium_org/third_party/mesa/src/src/glx/apple/
H A DMakefile45 ../compsize.c \
/external/mesa3d/src/glx/apple/
H A DMakefile45 ../compsize.c \
/external/libogg/src/
H A Dbitwise.c511 void cliptest(unsigned long *b,int vals,int bits,int *comp,int compsize){ argument
520 if(bytes!=compsize)report("wrong number of bytes!\n");
546 void cliptestB(unsigned long *b,int vals,int bits,int *comp,int compsize){ argument
555 if(bytes!=compsize)report("wrong number of bytes!\n");
/external/tremolo/Tremolo/
H A Dbitwise.c390 void cliptest(unsigned long *b,int vals,int bits,int *comp,int compsize){ argument
393 for(i=0;i<compsize;i++)

Completed in 2009 milliseconds