Searched refs:ColorDrawBuffer (Results 1 - 8 of 8) sorted by relevance

/external/mesa3d/src/mesa/main/
H A Dbuffers.c217 * state var _and_ the FB's ColorDrawBuffer state.
218 * In the later case, we update the FB's ColorDrawBuffer state only.
222 * ColorDrawBuffer state to match the context. This is handled in
418 fb->ColorDrawBuffer[0] = buffers[0];
440 fb->ColorDrawBuffer[buf] = buffers[buf];
453 fb->ColorDrawBuffer[buf] = GL_NONE;
459 if (ctx->Color.DrawBuffer[buf] != fb->ColorDrawBuffer[buf]) {
461 ctx->Color.DrawBuffer[buf] = fb->ColorDrawBuffer[buf];
H A Ddrawpix.c62 _mesa_lookup_enum_by_nr(ctx->DrawBuffer->ColorDrawBuffer[0]),
205 _mesa_lookup_enum_by_nr(ctx->DrawBuffer->ColorDrawBuffer[0]),
H A Dframebuffer.c141 fb->ColorDrawBuffer[0] = GL_BACK;
148 fb->ColorDrawBuffer[0] = GL_FRONT;
176 fb->ColorDrawBuffer[0] = GL_COLOR_ATTACHMENT0_EXT;
700 if (fb->ColorDrawBuffer[0] != ctx->Color.DrawBuffer[0]) {
H A Dget.c734 { GL_DRAW_BUFFER0_ARB, BUFFER_ENUM(ColorDrawBuffer[0]), NO_EXTRA },
735 { GL_DRAW_BUFFER1_ARB, BUFFER_ENUM(ColorDrawBuffer[1]),
737 { GL_DRAW_BUFFER2_ARB, BUFFER_ENUM(ColorDrawBuffer[2]),
739 { GL_DRAW_BUFFER3_ARB, BUFFER_ENUM(ColorDrawBuffer[3]),
741 { GL_DRAW_BUFFER4_ARB, BUFFER_ENUM(ColorDrawBuffer[4]),
743 { GL_DRAW_BUFFER5_ARB, BUFFER_ENUM(ColorDrawBuffer[5]),
745 { GL_DRAW_BUFFER6_ARB, BUFFER_ENUM(ColorDrawBuffer[6]),
747 { GL_DRAW_BUFFER7_ARB, BUFFER_ENUM(ColorDrawBuffer[7]),
849 { GL_DRAW_BUFFER, BUFFER_ENUM(ColorDrawBuffer[0]), NO_EXTRA },
H A Ddebug.c481 ctx->DrawBuffer->ColorDrawBuffer[0]);
H A Dfbobject.c826 if (fb->ColorDrawBuffer[j] != GL_NONE) {
828 = _mesa_get_attachment(ctx, fb, fb->ColorDrawBuffer[j]);
H A Dattrib.c240 attr->DrawBuffer[i] = ctx->DrawBuffer->ColorDrawBuffer[i];
H A Dmtypes.h2713 GLenum ColorDrawBuffer[MAX_DRAW_BUFFERS]; member in struct:gl_framebuffer

Completed in 291 milliseconds