/* Copyright (c) 2001, Stanford University
* All rights reserved
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#include "packer.h"
#include "cr_opcodes.h"
#include "cr_error.h"
#define UNUSED(x) ((void)(x))
/**
* \mainpage Packer
*
* \section PackerIntroduction Introduction
*
* Chromium consists of all the top-level files in the cr
* directory. The packer module basically takes care of API dispatch,
* and OpenGL state management.
*
*/
void PACK_APIENTRY crPackVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
{
/* Packing this command is only useful if we have server-side vertex
* arrays - GL_ARB_vertex_buffer_object. Note that pointer will really
* be an offset into a server-side buffer.
* @todo Because of that we'd only transfer lowest 32bit as there're no 4gb+VBOs (yet?).
* Look at glgets regarding max vertices in arrays.
*/
unsigned char *data_ptr;
}
void PACK_APIENTRY crPackColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
{
unsigned char *data_ptr;
}
{
unsigned char *data_ptr;
}
void PACK_APIENTRY crPackTexCoordPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
{
unsigned char *data_ptr;
}
{
unsigned char *data_ptr;
}
{
unsigned char *data_ptr;
}
void PACK_APIENTRY crPackSecondaryColorPointerEXT( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
{
unsigned char *data_ptr;
}
{
unsigned char *data_ptr;
}
void PACK_APIENTRY crPackVertexAttribPointerARB( GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer )
{
unsigned char *data_ptr;
}
void PACK_APIENTRY crPackVertexAttribPointerNV( GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
{
unsigned char *data_ptr;
}
{
unsigned char *data_ptr;
}
{
crWarning( "Unimplemented crPackVertexArrayRangeNV" );
}