Home
last modified time | relevance | path

Searched refs:color_count (Results 1 – 25 of 34) sorted by relevance

12

/external/harfbuzz_ng/src/
Dhb-ot-color-cpal-table.hh70 unsigned int color_count) const in get_color_name_id()
73 return (base+colorLabelsZ).as_array (color_count)[color_index]; in get_color_name_id()
80 unsigned int color_count) const in sanitize()
86 (!colorLabelsZ || (base+colorLabelsZ).sanitize (c, color_count))); in sanitize()
131 unsigned int *color_count, /* IN/OUT. May be NULL. */ in get_palette_colors()
136 if (color_count) *color_count = 0; in get_palette_colors()
143 if (color_count) in get_palette_colors()
145 …hb_array_t<const BGRAColor> segment_colors = palette_colors.sub_array (start_offset, *color_count); in get_palette_colors()
147 …nsigned int count = hb_min ((unsigned) hb_max ((int) (numColors - start_offset), 0), *color_count); in get_palette_colors()
148 *color_count = count; in get_palette_colors()
Dhb-ot-color.h85 unsigned int *color_count, /* IN/OUT. May be NULL. */
/external/skqp/src/compute/skc/
Dstyling.c349 uint32_t const color_count = ds_count + 1; in skc_styling_layer_fill_gradient_encoder() local
352 union skc_styling_cmd * color_g = color_r + color_count; in skc_styling_layer_fill_gradient_encoder()
353 union skc_styling_cmd * color_b = color_r + color_count * 2; in skc_styling_layer_fill_gradient_encoder()
354 union skc_styling_cmd * color_a = color_r + color_count * 3; in skc_styling_layer_fill_gradient_encoder()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pass.c77 for (uint32_t j = 0; j < subpass->color_count; j++) { in lvp_render_pass_compile()
105 for (uint32_t j = 0; j < subpass->color_count; j++) { in lvp_render_pass_compile()
120 for (uint32_t k = 0; k < subpass->color_count; ++k) { in lvp_render_pass_compile()
213 subpass->color_count = desc->colorAttachmentCount; in lvp_CreateRenderPass()
Dlvp_private.h356 uint32_t color_count; member
Dlvp_execute.c1096 for (uint32_t i = 0; i < subpass->color_count; i++) { in subpass_needs_clear()
1116 for (unsigned i = 0; i < subpass->color_count; i++) { in render_subpass_clear()
1188 for (uint32_t i = 0; i < subpass->color_count; i++) { in render_pass_resolve()
1229 for (unsigned i = 0; i < subpass->color_count; i++) { in begin_render_subpass()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pass.c54 for (uint32_t j = 0; j < subpass->color_count; j++) { in pass_find_subpass_range_for_attachments()
89 for (uint32_t j = 0; j < subpass->color_count; j++) { in pass_find_subpass_range_for_attachments()
160 subpass->color_count = desc->colorAttachmentCount; in v3dv_CreateRenderPass()
278 const uint32_t color_attachment_count = subpass->color_count; in subpass_get_granularity()
Dv3dv_meta_clear.c382 const uint32_t color_count = pass->subpasses[subpass_idx].color_count; in create_color_clear_pipeline() local
383 assert(rt_idx < color_count); in create_color_clear_pipeline()
386 for (uint32_t i = 0; i < color_count; i++) { in create_color_clear_pipeline()
396 .attachmentCount = color_count, in create_color_clear_pipeline()
453 .attachmentCount = pass->subpasses[subpass_idx].color_count, in create_depth_clear_pipeline()
1031 assert(rt_idx < subpass->color_count); in emit_subpass_color_clear_rects()
Dv3dv_cmd_buffer.c409 prev_subpass->color_count, in cmd_buffer_can_merge_subpass()
411 subpass->color_count); in cmd_buffer_can_merge_subpass()
417 subpass->color_count, in cmd_buffer_can_merge_subpass()
419 prev_subpass->color_count); in cmd_buffer_can_merge_subpass()
1010 for (uint32_t i = 0; i < subpass->color_count; i++) { in cmd_buffer_subpass_handle_pending_resolves()
1440 if (rt >= subpass->color_count) in v3dv_render_pass_setup_render_target()
1516 for (uint32_t i = 0; i < subpass->color_count; i++) { in cmd_buffer_render_pass_emit_loads()
1723 for (uint32_t i = 0; i < subpass->color_count; i++) { in cmd_buffer_render_pass_emit_stores()
2026 config.number_of_render_targets = MAX2(subpass->color_count, 1); in cmd_buffer_emit_render_pass_rcl()
2051 for (uint32_t i = 0; i < subpass->color_count; i++) { in cmd_buffer_emit_render_pass_rcl()
[all …]
Dv3dv_pipeline.c1160 for (uint32_t i = 0; i < subpass->color_count; i++) { in pipeline_populate_v3d_fs_key()
2237 if (pipeline->subpass->color_count == 0) in pack_blend()
2240 assert(pipeline->subpass->color_count == cb_info->attachmentCount); in pack_blend()
2244 for (uint32_t i = 0; i < pipeline->subpass->color_count; i++) { in pack_blend()
/external/mesa3d/src/amd/vulkan/
Dradv_pass.c233 for (uint32_t j = 0; j < subpass->color_count; j++) { in radv_render_pass_compile()
263 for (uint32_t j = 0; j < subpass->color_count; j++) { in radv_render_pass_compile()
278 for (uint32_t k = 0; k < subpass->color_count; ++k) { in radv_render_pass_compile()
395 subpass->color_count = desc->colorAttachmentCount; in radv_CreateRenderPass()
578 subpass->color_count = desc->colorAttachmentCount; in radv_CreateRenderPass2()
Dradv_meta_resolve.c818 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass()
854 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass()
878 .color_count = 2, in radv_cmd_buffer_resolve_subpass()
916 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_decompress_resolve_subpass_src()
Dradv_meta_clear.c462 assert(clear_att->colorAttachment < subpass->color_count); in emit_color_clear()
470 .color_count = 1, in emit_color_clear()
871 .color_count = 0, in emit_depthstencil_clear()
1854 assert(subpass_att < subpass->color_count); in emit_clear()
1919 for (uint32_t i = 0; i < cmd_state->subpass->color_count; ++i) { in radv_subpass_needs_clear()
1987 for (uint32_t i = 0; i < cmd_state->subpass->color_count; ++i) { in radv_cmd_buffer_clear_subpass()
Dradv_meta_resolve_fs.c1183 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass_fs()
1194 .color_count = 1, in radv_cmd_buffer_resolve_subpass_fs()
1251 .color_count = 0, in radv_depth_stencil_resolve_subpass_fs()
Dradv_meta_resolve_cs.c913 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass_cs()
/external/mesa3d/src/intel/vulkan/
Danv_pass.c110 for (uint32_t j = 0; j < subpass->color_count; j++) { in anv_render_pass_compile()
298 subpass->color_count = desc->colorAttachmentCount; in anv_CreateRenderPass()
539 subpass->color_count = desc->colorAttachmentCount; in anv_CreateRenderPass2()
Danv_pipeline.c523 assert(subpass->color_count <= MAX_RTS); in populate_wm_prog_key()
524 for (uint32_t i = 0; i < subpass->color_count; i++) { in populate_wm_prog_key()
529 key->nr_color_regions = subpass->color_count; in populate_wm_prog_key()
1938 for (unsigned i = 0; i < subpass->color_count; ++i) { in copy_non_dynamic_state()
2075 if (subpass && subpass->color_count > 0) { in anv_pipeline_validate_create_info()
2077 for (int i = 0; i < subpass->color_count; i++) { in anv_pipeline_validate_create_info()
/external/libpng/contrib/tools/
Dgenpng.c109 #define color_count ((sizeof colors)/(sizeof colors[0])) macro
114 int icolor = color_count; in color_of()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd_vgpu10.c343 unsigned color_count, in SVGA3D_vgpu10_SetRenderTargets() argument
347 const unsigned surf_count = color_count + 1; in SVGA3D_vgpu10_SetRenderTargets()
358 color_count * sizeof(SVGA3dRenderTargetViewId), in SVGA3D_vgpu10_SetRenderTargets()
382 for (i = 0; i < color_count; i++) { in SVGA3D_vgpu10_SetRenderTargets()
Dsvga_cmd.h379 unsigned color_count,
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp99 int color_count = kSingleColorPerPatch; in GetShadingBBox() local
101 color_count = kQuadColorsPerPatch; in GetShadingBBox()
113 color_count -= 2; in GetShadingBBox()
129 nBits *= color_count; in GetShadingBBox()
/external/mesa3d/src/freedreno/vulkan/
Dtu_pass.c553 subpass->color_count = desc->colorAttachmentCount; in tu_CreateRenderPass2()
Dtu_pipeline.c2796 assert(subpass->color_count == 0 || in tu_pipeline_builder_init_graphics()
2798 subpass->color_count == create_info->pColorBlendState->attachmentCount); in tu_pipeline_builder_init_graphics()
2799 builder->color_attachment_count = subpass->color_count; in tu_pipeline_builder_init_graphics()
2800 for (uint32_t i = 0; i < subpass->color_count; i++) { in tu_pipeline_builder_init_graphics()
Dtu_cmd_buffer.c246 for (uint32_t i = 0; i < subpass->color_count; ++i) { in tu6_emit_mrt()
332 for (uint32_t i = 0; i < subpass->color_count; ++i) { in tu6_emit_render_cntl()
657 for (unsigned i = 0; i < subpass->color_count; i++) { in tu6_emit_sysmem_resolves()
695 for (unsigned i = 0; i < subpass->color_count; i++) { in tu6_emit_tile_store()
2968 for (unsigned i = 0; i < subpass->color_count; i++) { in tu_CmdNextSubpass2()
Dtu_private.h1450 uint32_t color_count; member

12