Home
last modified time | relevance | path

Searched refs:MAX_DRAW_BUFFERS (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/mesa/main/
Dconfig.h229 #define MAX_DRAW_BUFFERS 8 macro
Dbuffers.c398 GLbitfield destMask[MAX_DRAW_BUFFERS]; in draw_buffers()
699 GLbitfield mask[MAX_DRAW_BUFFERS]; in _mesa_drawbuffers()
Dmtypes.h429 GLubyte ColorMask[MAX_DRAW_BUFFERS][4]; /**< Each flag is 0xff or 0x0 */
431 GLenum DrawBuffer[MAX_DRAW_BUFFERS]; /**< Which buffer to draw into */
469 } Blend[MAX_DRAW_BUFFERS];
3494 GLenum ColorDrawBuffer[MAX_DRAW_BUFFERS];
3499 gl_buffer_index _ColorDrawBufferIndexes[MAX_DRAW_BUFFERS];
3501 struct gl_renderbuffer *_ColorDrawBuffers[MAX_DRAW_BUFFERS];
Dcontext.c627 consts->MaxDrawBuffers = MAX_DRAW_BUFFERS; in _mesa_init_constants()
796 assert(ctx->Const.MaxDrawBuffers <= MAX_DRAW_BUFFERS); in check_context_limits()
799 assert(BUFFER_COLOR0 + MAX_DRAW_BUFFERS <= BUFFER_COUNT); in check_context_limits()
Ddlist.c5340 n = alloc_instruction(ctx, OPCODE_DRAW_BUFFERS_ARB, 1 + MAX_DRAW_BUFFERS); in save_DrawBuffersARB()
5344 if (count > MAX_DRAW_BUFFERS) in save_DrawBuffersARB()
5345 count = MAX_DRAW_BUFFERS; in save_DrawBuffersARB()
8675 GLenum buffers[MAX_DRAW_BUFFERS]; in execute_list()
8676 GLint i, count = MIN2(n[1].i, MAX_DRAW_BUFFERS); in execute_list()
/external/mesa3d/src/compiler/glsl/
Dopt_dead_builtin_varyings.cpp312 info->fragdata_usage, (1 << MAX_DRAW_BUFFERS) - 1); in replace_varyings_visitor()
506 ir_variable *new_fragdata[MAX_DRAW_BUFFERS];
/external/mesa3d/src/mesa/drivers/common/
Dmeta.h93 GLubyte ColorMask[MAX_DRAW_BUFFERS][4];
193 GLenum ColorDrawBuffers[MAX_DRAW_BUFFERS];
Dmeta.c1601 GLenum enums[MAX_DRAW_BUFFERS]; in _mesa_meta_drawbuffers_from_bitfield()
1609 assert(_mesa_bitcount(bits) <= MAX_DRAW_BUFFERS); in _mesa_meta_drawbuffers_from_bitfield()
1653 GLenum enums[MAX_DRAW_BUFFERS]; in _mesa_meta_drawbuffers_and_colormask()
1654 GLubyte colormask[MAX_DRAW_BUFFERS][4]; in _mesa_meta_drawbuffers_and_colormask()
1661 assert(_mesa_bitcount(mask) <= MAX_DRAW_BUFFERS); in _mesa_meta_drawbuffers_and_colormask()
/external/mesa3d/src/compiler/
Dshader_enums.h608 #define FRAG_RESULT_MAX (FRAG_RESULT_DATA0 + MAX_DRAW_BUFFERS)
/external/swiftshader/src/OpenGL/libGLESv2/
DShader.cpp175 resources.MaxDrawBuffers = MAX_DRAW_BUFFERS; in createCompiler()
DContext.h93 MAX_DRAW_BUFFERS = sw::RENDERTARGETS, enumerator
94 MAX_COLOR_ATTACHMENTS = MAX(MAX_DRAW_BUFFERS, 8),
DlibGLESv3.cpp891 if(n < 0 || n > MAX_DRAW_BUFFERS) in DrawBuffers()
2274 if(drawbuffer < 0 || drawbuffer >= MAX_DRAW_BUFFERS) in ClearBufferiv()
2311 if(drawbuffer < 0 || drawbuffer >= MAX_DRAW_BUFFERS) in ClearBufferuiv()
2338 if(drawbuffer < 0 || drawbuffer >= MAX_DRAW_BUFFERS) in ClearBufferfv()
3591 if(attachments[i] - GL_COLOR_ATTACHMENT0 >= MAX_DRAW_BUFFERS) in InvalidateSubFramebuffer()
DContext.cpp2166 if((pname - GL_DRAW_BUFFER0) < MAX_DRAW_BUFFERS) in getIntegerv()
2177 *params = MAX_DRAW_BUFFERS; in getIntegerv()
2735 for(int i = 0; i < MAX_DRAW_BUFFERS; i++) in applyRenderTarget()
2910 for(int i = 0; i < MAX_DRAW_BUFFERS; i++) in applyState()
DlibGLESv2.cpp6228 if(n < 0 || n > MAX_DRAW_BUFFERS) in DrawBuffersEXT()
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c116 1, MAX_DRAW_BUFFERS); in st_init_limits()
121 0, MAX_DRAW_BUFFERS); in st_init_limits()
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.h70 MAX_DRAW_BUFFERS = 1, enumerator
/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_vtbl.c717 struct intel_region *colorRegions[MAX_DRAW_BUFFERS], *depthRegion = NULL; in i830_update_draw_buffer()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.h1297 enum isl_aux_usage draw_aux_usage[MAX_DRAW_BUFFERS];
Dbrw_draw.c741 bool draw_aux_buffer_disabled[MAX_DRAW_BUFFERS] = { }; in brw_prepare_drawing()