mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
comments
This commit is contained in:
parent
e1998baef8
commit
c3c5652602
4 changed files with 9 additions and 3 deletions
|
|
@ -57,6 +57,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the location of each texture image within a texture region.
|
||||||
|
*/
|
||||||
struct intel_mipmap_offset {
|
struct intel_mipmap_offset {
|
||||||
GLuint offset;
|
GLuint offset;
|
||||||
GLuint width;
|
GLuint width;
|
||||||
|
|
@ -74,7 +77,7 @@ struct intel_mipmap_tree {
|
||||||
GLuint first_level;
|
GLuint first_level;
|
||||||
GLuint last_level;
|
GLuint last_level;
|
||||||
|
|
||||||
GLuint width0, height0, depth0;
|
GLuint width0, height0, depth0; /**< Level zero image dimensions */
|
||||||
GLuint cpp;
|
GLuint cpp;
|
||||||
GLboolean compressed;
|
GLboolean compressed;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ GLboolean intel_check_blit_fragment_ops( GLcontext *ctx )
|
||||||
if (ctx->NewState)
|
if (ctx->NewState)
|
||||||
_mesa_update_state(ctx);
|
_mesa_update_state(ctx);
|
||||||
|
|
||||||
/* Scissor could be done with the blitter:
|
/* XXX Note: Scissor could be done with the blitter:
|
||||||
*/
|
*/
|
||||||
return !(ctx->_ImageTransferState ||
|
return !(ctx->_ImageTransferState ||
|
||||||
ctx->Color.AlphaEnabled ||
|
ctx->Color.AlphaEnabled ||
|
||||||
|
|
|
||||||
|
|
@ -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,
|
static void _mesa_copy_rect( GLubyte *dst,
|
||||||
GLuint cpp,
|
GLuint cpp,
|
||||||
GLuint dst_pitch,
|
GLuint dst_pitch,
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,7 @@ intel_map_unmap_buffers(struct intel_context *intel, GLboolean map)
|
||||||
for (j = 0; j < ctx->DrawBuffer->_NumColorDrawBuffers[i]; j++) {
|
for (j = 0; j < ctx->DrawBuffer->_NumColorDrawBuffers[i]; j++) {
|
||||||
struct gl_renderbuffer *rb = ctx->DrawBuffer->_ColorDrawBuffers[i][j];
|
struct gl_renderbuffer *rb = ctx->DrawBuffer->_ColorDrawBuffers[i][j];
|
||||||
irb = intel_renderbuffer(rb);
|
irb = intel_renderbuffer(rb);
|
||||||
|
/* XXX FBO: check irb != NULL to catch software RBs??? */
|
||||||
ASSERT(irb);
|
ASSERT(irb);
|
||||||
if (irb->Base.Name != 0) { /* XXX FBO temporary test */
|
if (irb->Base.Name != 0) { /* XXX FBO temporary test */
|
||||||
if (irb->region) {
|
if (irb->region) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue