Lots of changes to support runtime renderbuffer depths.
_swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases.
This commit is contained in:
@@ -60,8 +60,8 @@ _swrast_write_rgba_span( GLcontext *ctx, SWspan *span);
|
||||
|
||||
|
||||
extern void
|
||||
_swrast_read_rgba_span( GLcontext *ctx, struct gl_renderbuffer *rb,
|
||||
GLuint n, GLint x, GLint y, GLchan rgba[][4] );
|
||||
_swrast_read_rgba_span(GLcontext *ctx, struct gl_renderbuffer *rb,
|
||||
GLuint n, GLint x, GLint y, GLenum type, GLvoid *rgba);
|
||||
|
||||
extern void
|
||||
_swrast_read_index_span( GLcontext *ctx, struct gl_renderbuffer *rb,
|
||||
|
Reference in New Issue
Block a user