Lines Matching refs:destMask
289 GLbitfield destMask; in draw_buffer() local
298 destMask = 0x0; in draw_buffer()
303 destMask = draw_buffer_enum_to_bitmask(ctx, buffer); in draw_buffer()
304 if (!no_error && destMask == BAD_MASK) { in draw_buffer()
310 destMask &= supportedMask; in draw_buffer()
311 if (!no_error && destMask == 0x0) { in draw_buffer()
321 _mesa_drawbuffers(ctx, fb, 1, &buffer16, &destMask); in draw_buffer()
436 GLbitfield destMask[MAX_DRAW_BUFFERS]; in draw_buffers() local
517 destMask[output] = draw_buffer_enum_to_bitmask(ctx, buffers[output]); in draw_buffers()
524 if (destMask[output] == BAD_MASK) { in draw_buffers()
549 destMask[output] = 0x0; in draw_buffers()
578 destMask[output] &= supportedMask; in draw_buffers()
580 if (destMask[output] == 0) { in draw_buffers()
607 if (destMask[output] & usedBufferMask) { in draw_buffers()
616 usedBufferMask |= destMask[output]; in draw_buffers()
625 _mesa_drawbuffers(ctx, fb, n, buffers16, destMask); in draw_buffers()
765 const GLbitfield *destMask) in _mesa_drawbuffers() argument
770 if (!destMask) { in _mesa_drawbuffers()
779 destMask = mask; in _mesa_drawbuffers()
787 if (n > 0 && util_bitcount(destMask[0]) > 1) { in _mesa_drawbuffers()
788 GLuint count = 0, destMask0 = destMask[0]; in _mesa_drawbuffers()
803 if (destMask[buf]) { in _mesa_drawbuffers()
804 gl_buffer_index bufIndex = ffs(destMask[buf]) - 1; in _mesa_drawbuffers()
806 assert(util_bitcount(destMask[buf]) == 1); in _mesa_drawbuffers()