Home
last modified time | relevance | path

Searched refs:color_mask (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/panfrost/lib/tests/
Dtest-blend.c46 .color_mask = 0xF,
58 .color_mask = 0xF,
75 .color_mask = 0xF,
93 .color_mask = 0xF,
110 .color_mask = 0xF,
128 .color_mask = 0xF,
145 .color_mask = 0xF,
161 .color_mask = 0x3,
173 .color_mask = 0xA,
189 .color_mask = 0xF,
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_blit.h137 uint16_t color_mask = 0; in nv50_blit_derive_color_mask() local
144 color_mask |= 0x1000; in nv50_blit_derive_color_mask()
146 color_mask |= 0x0111; in nv50_blit_derive_color_mask()
152 color_mask |= 0x0001; in nv50_blit_derive_color_mask()
154 color_mask |= 0x1110; in nv50_blit_derive_color_mask()
157 if (mask & (PIPE_MASK_R | PIPE_MASK_Z)) color_mask |= 0x0001; in nv50_blit_derive_color_mask()
158 if (mask & (PIPE_MASK_G | PIPE_MASK_S)) color_mask |= 0x0010; in nv50_blit_derive_color_mask()
159 if (mask & PIPE_MASK_B) color_mask |= 0x0100; in nv50_blit_derive_color_mask()
160 if (mask & PIPE_MASK_A) color_mask |= 0x1000; in nv50_blit_derive_color_mask()
164 return color_mask; in nv50_blit_derive_color_mask()
Dnv50_surface.c848 uint16_t color_mask; member
1208 PUSH_DATA (push, blit->color_mask); in nv50_blitctx_prepare_state()
1384 blit->color_mask = nv50_blit_derive_color_mask(info); in nv50_blit_3d()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blend.c287 if (equation.color_mask != 0xF) in pan_blend_is_opaque()
324 return (equation.color_mask && equation.color_mask != 0xF) || in pan_blend_reads_dest()
342 out->color_mask = equation.color_mask; in pan_blend_to_fixed_function_equation()
366 out->color_mask = equation.color_mask; in pan_blend_to_fixed_function_equation()
454 if (rt_state->equation.color_mask & 7) { in get_equation_str()
459 (rt_state->equation.color_mask & 1) ? "R" : "", in get_equation_str()
460 (rt_state->equation.color_mask & 2) ? "G" : "", in get_equation_str()
461 (rt_state->equation.color_mask & 4) ? "B" : "", in get_equation_str()
467 rt_state->equation.color_mask & 8 ? ";" : ""); in get_equation_str()
473 if (rt_state->equation.color_mask & 8) { in get_equation_str()
[all …]
Dpan_blend.h52 unsigned color_mask : 4; member
Dpan_blitter.c150 cfg.equation.color_mask = 0xf; in pan_blitter_emit_blend()
298 cfg.blend_equation.color_mask = 0xf; in pan_blitter_emit_rsd()
369 .color_mask = 0xf, in pan_blitter_get_blend_shaders()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend_aos.c425 LLVMValueRef color_mask; in lp_build_blend_aos() local
427 color_mask = lp_build_const_mask_aos_swizzled(gallivm, bld.base.type, in lp_build_blend_aos()
429 lp_build_name(color_mask, "color_mask"); in lp_build_blend_aos()
437 mask = lp_build_and(&bld.base, color_mask, mask); in lp_build_blend_aos()
441 mask = color_mask; in lp_build_blend_aos()
/third_party/boost/boost/gil/extension/io/bmp/detail/
Dreader_backend.hpp29 struct color_mask struct
237 color_mask _mask;
/third_party/libdrm/include/drm/
Dr128_drm.h262 unsigned int color_mask; member
Dmga_drm.h371 unsigned int color_mask; member
Dradeon_drm.h620 unsigned int color_mask; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DProcess.inc418 const WORD color_mask = foreground_mask | background_mask;
430 new_attributes = (attributes & ~color_mask) | (new_attributes & color_mask);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DProcess.inc418 const WORD color_mask = foreground_mask | background_mask;
430 new_attributes = (attributes & ~color_mask) | (new_attributes & color_mask);
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c337 options.rt[rt].colormask = rt_state->equation.color_mask; in panvk_lower_blend()
364 rt_state->equation.color_mask = 0xf; in panvk_lower_blend()
Dpanvk_vX_meta_clear.c244 cfg.equation.color_mask = 0xf; in panvk_meta_clear_attachments_emit_rsd()
251 cfg.equation.color_mask = in panvk_meta_clear_attachments_emit_rsd()
Dpanvk_vX_pipeline.c596 out->equation.color_mask = in->colorWriteMask; in panvk_pipeline_builder_parse_color_blend()
731 if (blend->rts[i].equation.color_mask) in panvk_fs_required()
Dpanvk_vX_cs.c599 if (!blend->rt_count || !rts->equation.color_mask) { in panvk_per_arch()
/third_party/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c74 color_mask(struct gl_context *ctx, in color_mask() function
849 driver->ColorMask = color_mask; in xmesa_init_driver_functions()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pStateChangeCallTests.cpp810 ADD_ARG_CASE4(color_mask, "Test cost of glColorMask() calls", in init()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pStateChangeCallTests.cpp872 ADD_ARG_CASE4(color_mask, "Test cost of glColorMask() calls", in init()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_blorp.c1168 const unsigned color_mask, uint8_t *color_write_disable) in set_write_disables() argument
1178 *color_write_disable = ~color_mask & BITFIELD_MASK(components); in set_write_disables()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_surface.c818 uint16_t color_mask; member
1018 PUSH_DATA (push, blit->color_mask); in nvc0_blitctx_prepare_state()
1213 blit->color_mask = nv50_blit_derive_color_mask(info); in nvc0_blit_3d()
/third_party/mesa3d/src/gtest/src/
Dgtest.cc2942 static int GetBitOffset(WORD color_mask) { in GetBitOffset() argument
2943 if (color_mask == 0) return 0; in GetBitOffset()
2946 while ((color_mask & 1) == 0) { in GetBitOffset()
2947 color_mask >>= 1; in GetBitOffset()
/third_party/googletest/googletest/src/
Dgtest.cc3183 static int GetBitOffset(WORD color_mask) { in GetBitOffset() argument
3184 if (color_mask == 0) return 0; in GetBitOffset()
3187 while ((color_mask & 1) == 0) { in GetBitOffset()
3188 color_mask >>= 1; in GetBitOffset()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c476 cfg.blend_equation.color_mask = 0xf; in panfrost_prepare_fs_state()
3438 equation.color_mask = pipe.colormask; in panfrost_create_blend_state()
3458 .no_colour = (equation.color_mask == 0), in panfrost_create_blend_state()

12