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

renderbuffer.c File Reference

#include "glheader.h"
#include "imports.h"
#include "context.h"
#include "mtypes.h"
#include "fbobject.h"
#include "renderbuffer.h"
#include "rbadaptors.h"

Defines

#define COLOR_INDEX32   0x424243
 Functions for allocating/managing renderbuffers.

Functions

static void * get_pointer_ubyte (GLcontext *ctx, struct gl_renderbuffer *rb, GLint x, GLint y)
static void get_row_ubyte (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, void *values)
static void get_values_ubyte (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], void *values)
static void put_row_ubyte (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void put_mono_row_ubyte (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *value, const GLubyte *mask)
static void put_values_ubyte (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *values, const GLubyte *mask)
static void put_mono_values_ubyte (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask)
static void * get_pointer_ushort (GLcontext *ctx, struct gl_renderbuffer *rb, GLint x, GLint y)
static void get_row_ushort (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, void *values)
static void get_values_ushort (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], void *values)
static void put_row_ushort (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void put_mono_row_ushort (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *value, const GLubyte *mask)
static void put_values_ushort (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *values, const GLubyte *mask)
static void put_mono_values_ushort (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask)
static void * get_pointer_uint (GLcontext *ctx, struct gl_renderbuffer *rb, GLint x, GLint y)
static void get_row_uint (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, void *values)
static void get_values_uint (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], void *values)
static void put_row_uint (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void put_mono_row_uint (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *value, const GLubyte *mask)
static void put_values_uint (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *values, const GLubyte *mask)
static void put_mono_values_uint (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask)
static void * get_pointer_ubyte3 (GLcontext *ctx, struct gl_renderbuffer *rb, GLint x, GLint y)
static void get_row_ubyte3 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, void *values)
static void get_values_ubyte3 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], void *values)
static void put_row_ubyte3 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void put_row_rgb_ubyte3 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void put_mono_row_ubyte3 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *value, const GLubyte *mask)
static void put_values_ubyte3 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *values, const GLubyte *mask)
static void put_mono_values_ubyte3 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask)
static void * get_pointer_ubyte4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLint x, GLint y)
static void get_row_ubyte4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, void *values)
static void get_values_ubyte4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], void *values)
static void put_row_ubyte4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void put_row_rgb_ubyte4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void put_mono_row_ubyte4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *value, const GLubyte *mask)
static void put_values_ubyte4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *values, const GLubyte *mask)
static void put_mono_values_ubyte4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask)
static void * get_pointer_ushort4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLint x, GLint y)
static void get_row_ushort4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, void *values)
static void get_values_ushort4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], void *values)
static void put_row_ushort4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void put_row_rgb_ushort4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void put_mono_row_ushort4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *value, const GLubyte *mask)
static void put_values_ushort4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *values, const GLubyte *mask)
static void put_mono_values_ushort4 (GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask)
GLboolean _mesa_soft_renderbuffer_storage (GLcontext *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height)
 This is a software fallback for the gl_renderbuffer->AllocStorage function.
static GLboolean alloc_storage_alpha8 (GLcontext *ctx, struct gl_renderbuffer *arb, GLenum internalFormat, GLuint width, GLuint height)
 Here we utilize the gl_renderbuffer->Wrapper field to put an alpha buffer wrapper around an existing RGB renderbuffer (hw or sw).
static void delete_renderbuffer_alpha8 (struct gl_renderbuffer *arb)
 Delete an alpha_renderbuffer object, as well as the wrapped RGB buffer.
static void * get_pointer_alpha8 (GLcontext *ctx, struct gl_renderbuffer *arb, GLint x, GLint y)
static void get_row_alpha8 (GLcontext *ctx, struct gl_renderbuffer *arb, GLuint count, GLint x, GLint y, void *values)
static void get_values_alpha8 (GLcontext *ctx, struct gl_renderbuffer *arb, GLuint count, const GLint x[], const GLint y[], void *values)
static void put_row_alpha8 (GLcontext *ctx, struct gl_renderbuffer *arb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void put_row_rgb_alpha8 (GLcontext *ctx, struct gl_renderbuffer *arb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
static void put_mono_row_alpha8 (GLcontext *ctx, struct gl_renderbuffer *arb, GLuint count, GLint x, GLint y, const void *value, const GLubyte *mask)
static void put_values_alpha8 (GLcontext *ctx, struct gl_renderbuffer *arb, GLuint count, const GLint x[], const GLint y[], const void *values, const GLubyte *mask)
static void put_mono_values_alpha8 (GLcontext *ctx, struct gl_renderbuffer *arb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask)
static void copy_buffer_alpha8 (struct gl_renderbuffer *dst, struct gl_renderbuffer *src)
static void * nop_get_pointer (GLcontext *ctx, struct gl_renderbuffer *rb, GLint x, GLint y)
 Default GetPointer routine.
void _mesa_init_renderbuffer (struct gl_renderbuffer *rb, GLuint name)
 Initialize the fields of a gl_renderbuffer to default values.
struct gl_renderbuffer_mesa_new_renderbuffer (GLcontext *ctx, GLuint name)
 Allocate a new gl_renderbuffer object.
void _mesa_delete_renderbuffer (struct gl_renderbuffer *rb)
 Delete a gl_framebuffer.
struct gl_renderbuffer_mesa_new_soft_renderbuffer (GLcontext *ctx, GLuint name)
 Allocate a software-based renderbuffer.
GLboolean _mesa_add_color_renderbuffers (GLcontext *ctx, struct gl_framebuffer *fb, GLuint rgbBits, GLuint alphaBits, GLboolean frontLeft, GLboolean backLeft, GLboolean frontRight, GLboolean backRight)
 Add software-based color renderbuffers to the given framebuffer.
GLboolean _mesa_add_color_index_renderbuffers (GLcontext *ctx, struct gl_framebuffer *fb, GLuint indexBits, GLboolean frontLeft, GLboolean backLeft, GLboolean frontRight, GLboolean backRight)
 Add software-based color index renderbuffers to the given framebuffer.
GLboolean _mesa_add_alpha_renderbuffers (GLcontext *ctx, struct gl_framebuffer *fb, GLuint alphaBits, GLboolean frontLeft, GLboolean backLeft, GLboolean frontRight, GLboolean backRight)
 Add software-based alpha renderbuffers to the given framebuffer.
void _mesa_copy_soft_alpha_renderbuffers (GLcontext *ctx, struct gl_framebuffer *fb)
 For framebuffers that use a software alpha channel wrapper created by _mesa_add_alpha_renderbuffer or _mesa_add_soft_renderbuffers, copy the back buffer alpha channel into the front buffer alpha channel.
GLboolean _mesa_add_depth_renderbuffer (GLcontext *ctx, struct gl_framebuffer *fb, GLuint depthBits)
 Add a software-based depth renderbuffer to the given framebuffer.
GLboolean _mesa_add_stencil_renderbuffer (GLcontext *ctx, struct gl_framebuffer *fb, GLuint stencilBits)
 Add a software-based stencil renderbuffer to the given framebuffer.
GLboolean _mesa_add_accum_renderbuffer (GLcontext *ctx, struct gl_framebuffer *fb, GLuint redBits, GLuint greenBits, GLuint blueBits, GLuint alphaBits)
 Add a software-based accumulation renderbuffer to the given framebuffer.
GLboolean _mesa_add_aux_renderbuffers (GLcontext *ctx, struct gl_framebuffer *fb, GLuint colorBits, GLuint numBuffers)
 Add a software-based accumulation renderbuffer to the given framebuffer.
void _mesa_add_soft_renderbuffers (struct gl_framebuffer *fb, GLboolean color, GLboolean depth, GLboolean stencil, GLboolean accum, GLboolean alpha, GLboolean aux)
 Create/attach software-based renderbuffers to the given framebuffer.
void _mesa_add_renderbuffer (struct gl_framebuffer *fb, GLuint bufferName, struct gl_renderbuffer *rb)
 Attach a renderbuffer to a framebuffer.
void _mesa_remove_renderbuffer (struct gl_framebuffer *fb, GLuint bufferName)
 Remove the named renderbuffer from the given framebuffer.
void _mesa_reference_renderbuffer (struct gl_renderbuffer **ptr, struct gl_renderbuffer *rb)
 Set *ptr to point to rb.
struct gl_renderbuffer_mesa_new_depthstencil_renderbuffer (GLcontext *ctx, GLuint name)
 Create a new combined depth/stencil renderbuffer for implementing the GL_EXT_packed_depth_stencil extension.


Define Documentation

#define COLOR_INDEX32   0x424243

Functions for allocating/managing renderbuffers.

Also, routines for reading/writing software-based renderbuffer data as ubytes, ushorts, uints, etc.

The 'alpha8' renderbuffer is interesting. It's used to add a software-based alpha channel to RGB renderbuffers. This is done by wrapping the RGB renderbuffer with the alpha renderbuffer. We can do this because of the OO-nature of renderbuffers.

Down the road we'll use this for run-time support of 8, 16 and 32-bit color channels. For example, Mesa may use 32-bit/float color channels internally (swrast) and use wrapper renderbuffers to convert 32-bit values down to 16 or 8-bit values for whatever kind of framebuffer we have.


Function Documentation

GLboolean _mesa_add_accum_renderbuffer ( GLcontext ctx,
struct gl_framebuffer fb,
GLuint  redBits,
GLuint  greenBits,
GLuint  blueBits,
GLuint  alphaBits 
)

Add a software-based accumulation renderbuffer to the given framebuffer.

This is a helper routine for device drivers when creating a window system framebuffer (not a user-created render/framebuffer). Once this function is called, you can basically forget about this renderbuffer; core Mesa will handle all the buffer management and rendering!

GLboolean _mesa_add_alpha_renderbuffers ( GLcontext ctx,
struct gl_framebuffer fb,
GLuint  alphaBits,
GLboolean  frontLeft,
GLboolean  backLeft,
GLboolean  frontRight,
GLboolean  backRight 
)

Add software-based alpha renderbuffers to the given framebuffer.

This is a helper routine for device drivers when creating a window system framebuffer (not a user-created render/framebuffer). Once this function is called, you can basically forget about this renderbuffer; core Mesa will handle all the buffer management and rendering!

GLboolean _mesa_add_aux_renderbuffers ( GLcontext ctx,
struct gl_framebuffer fb,
GLuint  colorBits,
GLuint  numBuffers 
)

Add a software-based accumulation renderbuffer to the given framebuffer.

This is a helper routine for device drivers when creating a window system framebuffer (not a user-created render/framebuffer). Once this function is called, you can basically forget about this renderbuffer; core Mesa will handle all the buffer management and rendering!

NOTE: color-index aux buffers not supported.

GLboolean _mesa_add_color_index_renderbuffers ( GLcontext ctx,
struct gl_framebuffer fb,
GLuint  indexBits,
GLboolean  frontLeft,
GLboolean  backLeft,
GLboolean  frontRight,
GLboolean  backRight 
)

Add software-based color index renderbuffers to the given framebuffer.

This is a helper routine for device drivers when creating a window system framebuffer (not a user-created render/framebuffer). Once this function is called, you can basically forget about this renderbuffer; core Mesa will handle all the buffer management and rendering!

GLboolean _mesa_add_color_renderbuffers ( GLcontext ctx,
struct gl_framebuffer fb,
GLuint  rgbBits,
GLuint  alphaBits,
GLboolean  frontLeft,
GLboolean  backLeft,
GLboolean  frontRight,
GLboolean  backRight 
)

Add software-based color renderbuffers to the given framebuffer.

This is a helper routine for device drivers when creating a window system framebuffer (not a user-created render/framebuffer). Once this function is called, you can basically forget about this renderbuffer; core Mesa will handle all the buffer management and rendering!

GLboolean _mesa_add_depth_renderbuffer ( GLcontext ctx,
struct gl_framebuffer fb,
GLuint  depthBits 
)

Add a software-based depth renderbuffer to the given framebuffer.

This is a helper routine for device drivers when creating a window system framebuffer (not a user-created render/framebuffer). Once this function is called, you can basically forget about this renderbuffer; core Mesa will handle all the buffer management and rendering!

void _mesa_add_renderbuffer ( struct gl_framebuffer fb,
GLuint  bufferName,
struct gl_renderbuffer rb 
)

Attach a renderbuffer to a framebuffer.

void _mesa_add_soft_renderbuffers ( struct gl_framebuffer fb,
GLboolean  color,
GLboolean  depth,
GLboolean  stencil,
GLboolean  accum,
GLboolean  alpha,
GLboolean  aux 
)

Create/attach software-based renderbuffers to the given framebuffer.

This is a helper routine for device drivers. Drivers can just as well call the individual _mesa_add_*_renderbuffer() routines directly.

GLboolean _mesa_add_stencil_renderbuffer ( GLcontext ctx,
struct gl_framebuffer fb,
GLuint  stencilBits 
)

Add a software-based stencil renderbuffer to the given framebuffer.

This is a helper routine for device drivers when creating a window system framebuffer (not a user-created render/framebuffer). Once this function is called, you can basically forget about this renderbuffer; core Mesa will handle all the buffer management and rendering!

void _mesa_copy_soft_alpha_renderbuffers ( GLcontext ctx,
struct gl_framebuffer fb 
)

For framebuffers that use a software alpha channel wrapper created by _mesa_add_alpha_renderbuffer or _mesa_add_soft_renderbuffers, copy the back buffer alpha channel into the front buffer alpha channel.

void _mesa_delete_renderbuffer ( struct gl_renderbuffer rb  ) 

Delete a gl_framebuffer.

This is the default function for renderbuffer->Delete().

void _mesa_init_renderbuffer ( struct gl_renderbuffer rb,
GLuint  name 
)

Initialize the fields of a gl_renderbuffer to default values.

struct gl_renderbuffer* _mesa_new_depthstencil_renderbuffer ( GLcontext ctx,
GLuint  name 
) [read]

Create a new combined depth/stencil renderbuffer for implementing the GL_EXT_packed_depth_stencil extension.

Returns:
new depth/stencil renderbuffer

struct gl_renderbuffer* _mesa_new_renderbuffer ( GLcontext ctx,
GLuint  name 
) [read]

Allocate a new gl_renderbuffer object.

This can be used for user-created renderbuffers or window-system renderbuffers.

struct gl_renderbuffer* _mesa_new_soft_renderbuffer ( GLcontext ctx,
GLuint  name 
) [read]

Allocate a software-based renderbuffer.

This is called via the ctx->Driver.NewRenderbuffer() function when the user creates a new renderbuffer. This would not be used for hardware-based renderbuffers.

void _mesa_reference_renderbuffer ( struct gl_renderbuffer **  ptr,
struct gl_renderbuffer rb 
)

Set *ptr to point to rb.

If *ptr points to another renderbuffer, dereference that buffer first. The new renderbuffer's refcount will be incremented. The old renderbuffer's refcount will be decremented.

void _mesa_remove_renderbuffer ( struct gl_framebuffer fb,
GLuint  bufferName 
)

Remove the named renderbuffer from the given framebuffer.

GLboolean _mesa_soft_renderbuffer_storage ( GLcontext ctx,
struct gl_renderbuffer rb,
GLenum  internalFormat,
GLuint  width,
GLuint  height 
)

This is a software fallback for the gl_renderbuffer->AllocStorage function.

Device drivers will typically override this function for the buffers which it manages (typically color buffers, Z and stencil). Other buffers (like software accumulation and aux buffers) which the driver doesn't manage can be handled with this function.

This one multi-purpose function can allocate stencil, depth, accum, color or color-index buffers!

This function also plugs in the appropriate GetPointer, Get/PutRow and Get/PutValues functions.

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

Here we utilize the gl_renderbuffer->Wrapper field to put an alpha buffer wrapper around an existing RGB renderbuffer (hw or sw).

When PutRow is called (for example), we store the alpha values in this buffer, then pass on the PutRow call to the wrapped RGB buffer.

static void copy_buffer_alpha8 ( struct gl_renderbuffer dst,
struct gl_renderbuffer src 
) [static]

static void delete_renderbuffer_alpha8 ( struct gl_renderbuffer arb  )  [static]

Delete an alpha_renderbuffer object, as well as the wrapped RGB buffer.

static void* get_pointer_alpha8 ( GLcontext ctx,
struct gl_renderbuffer arb,
GLint  x,
GLint  y 
) [static]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Default GetPointer routine.

Always return NULL to indicate that direct buffer access is not supported.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

static void put_values_ushort4 ( 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