packspu_client.c revision 236b6e0fdf652661ff4c655314fe488998c5c17d
/* Copyright (c) 2001, Stanford University
* All rights reserved
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#include "packspu.h"
#include "cr_packfunctions.h"
#include "cr_glstate.h"
#include "packspu_proto.h"
void PACKSPU_APIENTRY packspu_FogCoordPointerEXT( GLenum type, GLsizei stride, const GLvoid *pointer )
{
else
}
#endif
}
void PACKSPU_APIENTRY packspu_ColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
{
else
}
#endif
}
void PACKSPU_APIENTRY packspu_SecondaryColorPointerEXT( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
{
else
}
#endif
}
void PACKSPU_APIENTRY packspu_VertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
{
else
}
#endif
}
void PACKSPU_APIENTRY packspu_TexCoordPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
{
else
}
#endif
}
{
else
}
#endif
}
{
else
}
#endif
}
void PACKSPU_APIENTRY packspu_VertexAttribPointerARB( GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer )
{
else
}
#endif
}
void PACKSPU_APIENTRY packspu_VertexAttribPointerNV( GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
{
else
}
#endif
}
{
}
void PACKSPU_APIENTRY packspu_InterleavedArrays( GLenum format, GLsizei stride, const GLvoid *pointer )
{
else
}
#endif
/*crDebug("packspu_InterleavedArrays");*/
}
void PACKSPU_APIENTRY
{
#if 0
/*crDebug("packspu_ArrayElement index:%i", index);*/
#endif
if (serverArrays) {
/* Send the DrawArrays command over the wire */
else
}
else {
/* evaluate locally */
else
}
#else
#endif
}
void PACKSPU_APIENTRY
{
/*crDebug("DrawElements count=%d, indices=%p", count, indices);*/
#endif
if (serverArrays) {
/* Send the DrawArrays command over the wire */
else
}
else {
/* evaluate locally */
else
{
//packspu_Begin(mode);
//packspu_End();
}
}
}
void PACKSPU_APIENTRY
packspu_DrawRangeElements( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices )
{
/*crDebug("DrawRangeElements count=%d", count);*/
#endif
if (serverArrays) {
/* Send the DrawRangeElements command over the wire */
else
}
else {
/* evaluate locally */
else
{
}
}
}
void PACKSPU_APIENTRY
{
/*crDebug("DrawArrays count=%d", count);*/
#endif
if (serverArrays) {
/* Send the DrawArrays command over the wire */
else
}
else {
/* evaluate locally */
else
}
}
#ifdef CR_EXT_multi_draw_arrays
void PACKSPU_APIENTRY packspu_MultiDrawArraysEXT( GLenum mode, GLint *first, GLsizei *count, GLsizei primcount )
{
GLint i;
for (i = 0; i < primcount; i++) {
if (count[i] > 0) {
}
}
}
void PACKSPU_APIENTRY packspu_MultiDrawElementsEXT( GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount )
{
GLint i;
for (i = 0; i < primcount; i++) {
if (count[i] > 0) {
}
}
}
#endif
{
}
{
}
{
}
{
}
{
}
{
else
}
{
else
}
{
#ifdef DEBUG
{
int writeback = 1;
packspuFlush( (void *) thread );
while (writeback)
crNetRecv();
}
#endif
return res;
}
{
}
void PACKSPU_APIENTRY packspu_PopClientAttrib( void )
{
}