Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dconfig.h229 #define MAX_DRAW_BUFFERS 8 macro
Dbuffers.c358 GLbitfield destMask[MAX_DRAW_BUFFERS]; in draw_buffers()
611 GLbitfield mask[MAX_DRAW_BUFFERS]; in _mesa_drawbuffers()
Dmtypes.h414 GLubyte ColorMask[MAX_DRAW_BUFFERS][4]; /**< Each flag is 0xff or 0x0 */
416 GLenum DrawBuffer[MAX_DRAW_BUFFERS]; /**< Which buffer to draw into */
454 } Blend[MAX_DRAW_BUFFERS];
3302 GLenum ColorDrawBuffer[MAX_DRAW_BUFFERS];
3307 GLint _ColorDrawBufferIndexes[MAX_DRAW_BUFFERS]; /**< BUFFER_x or -1 */
3309 struct gl_renderbuffer *_ColorDrawBuffers[MAX_DRAW_BUFFERS];
Dcontext.c619 consts->MaxDrawBuffers = MAX_DRAW_BUFFERS; in _mesa_init_constants()
788 assert(ctx->Const.MaxDrawBuffers <= MAX_DRAW_BUFFERS); in check_context_limits()
791 assert(BUFFER_COLOR0 + MAX_DRAW_BUFFERS <= BUFFER_COUNT); in check_context_limits()
Ddlist.c5339 n = alloc_instruction(ctx, OPCODE_DRAW_BUFFERS_ARB, 1 + MAX_DRAW_BUFFERS); in save_DrawBuffersARB()
5343 if (count > MAX_DRAW_BUFFERS) in save_DrawBuffersARB()
5344 count = MAX_DRAW_BUFFERS; in save_DrawBuffersARB()
8677 GLenum buffers[MAX_DRAW_BUFFERS]; in execute_list()
8678 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.c1587 GLenum enums[MAX_DRAW_BUFFERS]; in _mesa_meta_drawbuffers_from_bitfield()
1595 assert(_mesa_bitcount(bits) <= MAX_DRAW_BUFFERS); in _mesa_meta_drawbuffers_from_bitfield()
1639 GLenum enums[MAX_DRAW_BUFFERS]; in _mesa_meta_drawbuffers_and_colormask()
1640 GLubyte colormask[MAX_DRAW_BUFFERS][4]; in _mesa_meta_drawbuffers_and_colormask()
1647 assert(_mesa_bitcount(mask) <= MAX_DRAW_BUFFERS); in _mesa_meta_drawbuffers_and_colormask()
/external/mesa3d/src/compiler/
Dshader_enums.h539 #define FRAG_RESULT_MAX (FRAG_RESULT_DATA0 + MAX_DRAW_BUFFERS)
/external/swiftshader/src/OpenGL/libGL/
DShader.cpp174 resources.MaxDrawBuffers = MAX_DRAW_BUFFERS; in createCompiler()
DContext.h325 MAX_DRAW_BUFFERS = 1, enumerator
/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 glDrawBuffers()
2264 if(drawbuffer < 0 || drawbuffer >= MAX_DRAW_BUFFERS) in glClearBufferiv()
2301 if(drawbuffer < 0 || drawbuffer >= MAX_DRAW_BUFFERS) in glClearBufferuiv()
2328 if(drawbuffer < 0 || drawbuffer >= MAX_DRAW_BUFFERS) in glClearBufferfv()
3574 if(attachments[i] - GL_COLOR_ATTACHMENT0 >= MAX_DRAW_BUFFERS) in glInvalidateSubFramebuffer()
DContext.cpp2178 if((pname - GL_DRAW_BUFFER0) < MAX_DRAW_BUFFERS) in getIntegerv()
2189 *params = MAX_DRAW_BUFFERS; in getIntegerv()
2763 for(int i = 0; i < MAX_DRAW_BUFFERS; i++) in applyRenderTarget()
2937 for(int i = 0; i < MAX_DRAW_BUFFERS; i++) in applyState()
DlibGLESv2.cpp6759 if(n < 0 || n > MAX_DRAW_BUFFERS) in DrawBuffersEXT()
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c113 1, MAX_DRAW_BUFFERS); in st_init_limits()
118 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.h1200 bool draw_aux_buffer_disabled[MAX_DRAW_BUFFERS];