This commit is contained in:
Brian Paul 2006-03-25 16:21:07 +00:00
parent e1998baef8
commit c3c5652602
4 changed files with 9 additions and 3 deletions

View file

@ -57,6 +57,9 @@
*/
/**
* Describes the location of each texture image within a texture region.
*/
struct intel_mipmap_offset {
GLuint offset;
GLuint width;
@ -74,7 +77,7 @@ struct intel_mipmap_tree {
GLuint first_level;
GLuint last_level;
GLuint width0, height0, depth0;
GLuint width0, height0, depth0; /**< Level zero image dimensions */
GLuint cpp;
GLboolean compressed;

View file

@ -43,7 +43,7 @@ GLboolean intel_check_blit_fragment_ops( GLcontext *ctx )
if (ctx->NewState)
_mesa_update_state(ctx);
/* Scissor could be done with the blitter:
/* XXX Note: Scissor could be done with the blitter:
*/
return !(ctx->_ImageTransferState ||
ctx->Color.AlphaEnabled ||

View file

@ -145,7 +145,9 @@ struct intel_region *intel_region_create_static( struct intel_context *intel,
/*
* XXX Move this into core Mesa?
*/
static void _mesa_copy_rect( GLubyte *dst,
GLuint cpp,
GLuint dst_pitch,

View file

@ -185,6 +185,7 @@ intel_map_unmap_buffers(struct intel_context *intel, GLboolean map)
for (j = 0; j < ctx->DrawBuffer->_NumColorDrawBuffers[i]; j++) {
struct gl_renderbuffer *rb = ctx->DrawBuffer->_ColorDrawBuffers[i][j];
irb = intel_renderbuffer(rb);
/* XXX FBO: check irb != NULL to catch software RBs??? */
ASSERT(irb);
if (irb->Base.Name != 0) { /* XXX FBO temporary test */
if (irb->region) {