server_readpixels.c revision af8d59d05d72f134aeea62712f1286b369807d52
/* Copyright (c) 2001, Stanford University
* All rights reserved
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#include "cr_spu.h"
#include "chromium.h"
#include "cr_error.h"
#include "cr_mem.h"
#include "cr_net.h"
#include "cr_pixeldata.h"
#include "cr_unpack.h"
#include "server_dispatch.h"
#include "server.h"
{
CRASSERT(bytes_per_row > 0);
#ifdef CR_ARB_pixel_buffer_object
{
/*pixels are actualy a pointer to location of 8byte network pointer in hgcm buffer
pbo>4gb (yet?)
*/
}
else
#endif
{
/* Note: the ReadPixels data gets densely packed into the buffer
* (no skip pixels, skip rows, etc. It's up to the receiver (pack spu,
* tilesort spu, etc) to apply the real PixelStore packing parameters.
*/
/* <pixels> points to the 8-byte network pointer */
}
}