core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

rbadaptors.c File Reference

#include "glheader.h"
#include "mtypes.h"
#include "colormac.h"
#include "renderbuffer.h"
#include "rbadaptors.h"

Functions

static void Delete_wrapper (struct gl_renderbuffer *rb)
 Renderbuffer adaptors.
static GLboolean AllocStorage_wrapper (GLcontext *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height)
static void * GetPointer_wrapper (GLcontext *ctx, struct gl_renderbuffer *rb, GLint x, GLint y)
static void GetRow_16wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, void *values)
static void GetValues_16wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], void *values)
static void PutRow_16wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void PutRowRGB_16wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void PutMonoRow_16wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *value, const GLubyte *mask)
static void PutValues_16wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *values, const GLubyte *mask)
static void PutMonoValues_16wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask)
struct gl_renderbuffer_mesa_new_renderbuffer_16wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb8)
 Wrap an 8-bit/channel renderbuffer with a 16-bit/channel renderbuffer adaptor.
static void GetRow_32wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, void *values)
static void GetValues_32wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], void *values)
static void PutRow_32wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void PutRowRGB_32wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void PutMonoRow_32wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *value, const GLubyte *mask)
static void PutValues_32wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *values, const GLubyte *mask)
static void PutMonoValues_32wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask)
struct gl_renderbuffer_mesa_new_renderbuffer_32wrap8 (GLcontext *ctx, struct gl_renderbuffer *rb8)
 Wrap an 8-bit/channel renderbuffer with a 32-bit/channel renderbuffer adaptor.
static void GetRow_32wrap16 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, void *values)
static void GetValues_32wrap16 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], void *values)
static void PutRow_32wrap16 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void PutRowRGB_32wrap16 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void PutMonoRow_32wrap16 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *value, const GLubyte *mask)
static void PutValues_32wrap16 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *values, const GLubyte *mask)
static void PutMonoValues_32wrap16 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask)
struct gl_renderbuffer_mesa_new_renderbuffer_32wrap16 (GLcontext *ctx, struct gl_renderbuffer *rb16)
 Wrap an 16-bit/channel renderbuffer with a 32-bit/channel renderbuffer adaptor.


Function Documentation

struct gl_renderbuffer* _mesa_new_renderbuffer_16wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb8 
) [read]

Wrap an 8-bit/channel renderbuffer with a 16-bit/channel renderbuffer adaptor.

struct gl_renderbuffer* _mesa_new_renderbuffer_32wrap16 ( GLcontext ctx,
struct gl_renderbuffer rb16 
) [read]

Wrap an 16-bit/channel renderbuffer with a 32-bit/channel renderbuffer adaptor.

struct gl_renderbuffer* _mesa_new_renderbuffer_32wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb8 
) [read]

Wrap an 8-bit/channel renderbuffer with a 32-bit/channel renderbuffer adaptor.

static GLboolean AllocStorage_wrapper ( GLcontext ctx,
struct gl_renderbuffer rb,
GLenum  internalFormat,
GLuint  width,
GLuint  height 
) [static]

static void Delete_wrapper ( struct gl_renderbuffer rb  )  [static]

Renderbuffer adaptors.

These fuctions are used to convert rendering from core Mesa's GLchan colors to 8 or 16-bit color channels in RGBA renderbuffers. This means Mesa can be compiled for 16 or 32-bit color processing and still render into 8 and 16-bit/channel renderbuffers.

static void* GetPointer_wrapper ( GLcontext ctx,
struct gl_renderbuffer rb,
GLint  x,
GLint  y 
) [static]

static void GetRow_16wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
GLint  x,
GLint  y,
void *  values 
) [static]

static void GetRow_32wrap16 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
GLint  x,
GLint  y,
void *  values 
) [static]

static void GetRow_32wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
GLint  x,
GLint  y,
void *  values 
) [static]

static void GetValues_16wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
const GLint  x[],
const GLint  y[],
void *  values 
) [static]

static void GetValues_32wrap16 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
const GLint  x[],
const GLint  y[],
void *  values 
) [static]

static void GetValues_32wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
const GLint  x[],
const GLint  y[],
void *  values 
) [static]

static void PutMonoRow_16wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
GLint  x,
GLint  y,
const void *  value,
const GLubyte *  mask 
) [static]

static void PutMonoRow_32wrap16 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
GLint  x,
GLint  y,
const void *  value,
const GLubyte *  mask 
) [static]

static void PutMonoRow_32wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
GLint  x,
GLint  y,
const void *  value,
const GLubyte *  mask 
) [static]

static void PutMonoValues_16wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
const GLint  x[],
const GLint  y[],
const void *  value,
const GLubyte *  mask 
) [static]

static void PutMonoValues_32wrap16 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
const GLint  x[],
const GLint  y[],
const void *  value,
const GLubyte *  mask 
) [static]

static void PutMonoValues_32wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
const GLint  x[],
const GLint  y[],
const void *  value,
const GLubyte *  mask 
) [static]

static void PutRow_16wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
GLint  x,
GLint  y,
const void *  values,
const GLubyte *  mask 
) [static]

static void PutRow_32wrap16 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
GLint  x,
GLint  y,
const void *  values,
const GLubyte *  mask 
) [static]

static void PutRow_32wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
GLint  x,
GLint  y,
const void *  values,
const GLubyte *  mask 
) [static]

static void PutRowRGB_16wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
GLint  x,
GLint  y,
const void *  values,
const GLubyte *  mask 
) [static]

static void PutRowRGB_32wrap16 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
GLint  x,
GLint  y,
const void *  values,
const GLubyte *  mask 
) [static]

static void PutRowRGB_32wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
GLint  x,
GLint  y,
const void *  values,
const GLubyte *  mask 
) [static]

static void PutValues_16wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
const GLint  x[],
const GLint  y[],
const void *  values,
const GLubyte *  mask 
) [static]

static void PutValues_32wrap16 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
const GLint  x[],
const GLint  y[],
const void *  values,
const GLubyte *  mask 
) [static]

static void PutValues_32wrap8 ( GLcontext ctx,
struct gl_renderbuffer rb,
GLuint  count,
const GLint  x[],
const GLint  y[],
const void *  values,
const GLubyte *  mask 
) [static]


Generated on Sun Sep 27 06:47:46 2009 for Mesa Main by  doxygen 1.5.4