int __glXTexParameterfvReqSize(GLbyte *pc, Bool swap ) { GLenum pname = *(GLenum *)(pc + 4); if (swap) { pname = SWAPL( pname ); } return 4 * __glTexParameterfv_size( pname ); /* defined in samplegl lib */ }
int __glXTexParameterfvReqSize( const GLbyte * pc, Bool swap, int reqlen ) { GLenum pname = * (GLenum *)(pc + 4); GLsizei compsize; if (swap) { pname = bswap_32(pname); } compsize = __glTexParameterfv_size(pname); return safe_pad(safe_mul(compsize , 4)); }
int __glXTexParameterfvReqSize( const GLbyte * pc, Bool swap ) { GLenum pname = * (GLenum *)(pc + 4); GLsizei compsize; if (swap) { pname = bswap_32(pname); } compsize = __glTexParameterfv_size(pname); return __GLX_PAD((compsize * 4)); }
void __glXDispSwap_TexParameterfv(GLbyte *pc) { GLenum pname; GLint compsize; __GLX_DECLARE_SWAP_VARIABLES; __GLX_DECLARE_SWAP_ARRAY_VARIABLES; __GLX_SWAP_INT(pc + 4); pname = *(GLenum *)(pc + 4); compsize = __glTexParameterfv_size(pname); if (compsize < 0) compsize = 0; __GLX_SWAP_INT(pc + 0); __GLX_SWAP_FLOAT_ARRAY(pc + 8, compsize); }
GLint __glTexParameteriv_size(GLenum e) { return __glTexParameterfv_size(e); }