Searched refs:BUFFER_COLOR0 (Results 1 – 15 of 15) sorted by relevance
126 BUFFER_COLOR0, enumerator
170 fb->_ColorDrawBufferIndexes[0] = BUFFER_COLOR0; in _mesa_initialize_user_framebuffer()172 fb->_ColorReadBufferIndex = BUFFER_COLOR0; in _mesa_initialize_user_framebuffer()
64 mask = ((1 << ctx->Const.MaxColorAttachments) - 1) << BUFFER_COLOR0; in supported_buffer_bitmask()225 return BUFFER_COLOR0; in read_buffer_enum_to_index()
297 assert(BUFFER_COLOR0 + i < ARRAY_SIZE(fb->Attachment)); in get_attachment()298 return &fb->Attachment[BUFFER_COLOR0 + i]; in get_attachment()1167 att = &fb->Attachment[BUFFER_COLOR0 + i]; in _mesa_test_framebuffer_completeness()5176 assert(BUFFER_COLOR0 + i < ARRAY_SIZE(fb->Attachment)); in get_fb_attachment()5177 return &fb->Attachment[BUFFER_COLOR0 + i]; in get_fb_attachment()
720 assert(BUFFER_COLOR0 + MAX_DRAW_BUFFERS <= BUFFER_COUNT); in check_context_limits()
126 #define BUFFER_BIT_COLOR0 (1 << BUFFER_COLOR0)
51 [BUFFER_COLOR0] = "color0",
71 flip_y = ctx->ReadBuffer->Attachment[BUFFER_COLOR0].Type == GL_NONE; in do_copy_texsubimage()
848 att = &fb->Attachment[BUFFER_COLOR0 + i]; in radeon_validate_framebuffer()
50 [BUFFER_COLOR0] = "color0",
298 &fb->Attachment[BUFFER_COLOR0]; in nouveau_check_framebuffer_complete()
775 &fb->Attachment[BUFFER_COLOR0 + i]; in st_validate_framebuffer()
1604 if (bits & (1 << (BUFFER_COLOR0 + n))) in _mesa_meta_drawbuffers_from_bitfield()1653 assert(b >= BUFFER_COLOR0 && b <= BUFFER_COLOR7); in _mesa_meta_drawbuffers_and_colormask()1654 enums[num_bufs] = GL_COLOR_ATTACHMENT0 + (b - BUFFER_COLOR0); in _mesa_meta_drawbuffers_and_colormask()