/external/skia/tests/ |
D | GrPathUtilsTest.cpp | 13 static bool is_linear(SkPoint p0, SkPoint p1, SkPoint p2) { in is_linear() function 17 static bool is_linear(const SkPoint p[4]) { in is_linear() function 18 return is_linear(p[0],p[1],p[2]) && is_linear(p[0],p[2],p[3]) && is_linear(p[1],p[2],p[3]); in is_linear() 50 } else if (!is_linear(p)) { in check_cubic_convex_180()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_srgb.c | 102 LLVMValueRef srcf, part_lin, part_pow, is_linear, lin_const, lin_thresh; in lp_build_srgb_to_linear() local 143 is_linear = lp_build_compare(gallivm, f32_type, PIPE_FUNC_LEQUAL, srcf, lin_thresh); in lp_build_srgb_to_linear() 144 return lp_build_select(&f32_bld, is_linear, part_lin, part_pow); in lp_build_srgb_to_linear() 168 LLVMValueRef lin_thresh, lin, lin_const, is_linear, tmp, pow_final; in lp_build_linear_to_srgb() local 302 is_linear = lp_build_compare(gallivm, src_type, PIPE_FUNC_LEQUAL, src, lin_thresh); in lp_build_linear_to_srgb() 303 tmp = lp_build_select(&f32_bld, is_linear, lin, pow_final); in lp_build_linear_to_srgb()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_test_dma.c | 324 if (!rsrc->surface.is_linear && in r600_test_dma() 325 !rdst->surface.is_linear && in r600_test_dma() 352 if (rsrc->surface.is_linear && in r600_test_dma() 353 !rdst->surface.is_linear && in r600_test_dma()
|
D | r600_texture.c | 375 if (rtex->surface.is_linear) in r600_reallocate_texture_inplace() 1277 assert(rtex->surface.is_linear); in r600_texture_invalidate_storage() 1337 if (!rtex->surface.is_linear) in r600_texture_transfer_map() 1791 if (tex->surface.is_linear) { in evergreen_do_fast_color_clear()
|
D | r600_buffer_common.c | 161 if ((res->b.b.target != PIPE_BUFFER && !rtex->surface.is_linear) || in r600_init_resource_fields()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_test_dma.c | 325 if (!ssrc->surface.is_linear && !sdst->surface.is_linear && rand() & 1) { in si_test_dma() 351 if (ssrc->surface.is_linear && !sdst->surface.is_linear && rand() % 4 == 0) { in si_test_dma()
|
D | cik_sdma.c | 96 if (ssrc->surface.is_linear && sdst->surface.is_linear) { in si_sdma_v4_copy_texture() 134 if (ssrc->surface.is_linear != sdst->surface.is_linear) { in si_sdma_v4_copy_texture() 135 struct si_texture *tiled = ssrc->surface.is_linear ? sdst : ssrc; in si_sdma_v4_copy_texture()
|
D | si_compute_blit.c | 433 bool is_linear = ((struct si_texture*)src)->surface.is_linear || in si_compute_copy_image() local 434 ((struct si_texture*)dst)->surface.is_linear; in si_compute_copy_image() 583 if (is_linear) { in si_compute_copy_image()
|
D | si_blit.c | 1057 info->src.box.height == dst_height && info->src.box.depth == 1 && !dst->surface.is_linear && in do_hardware_msaa_resolve() 1118 assert(!stmp->surface.is_linear); in do_hardware_msaa_resolve() 1152 if (dst->surface.is_linear && util_can_blit_via_copy_region(info, false)) { in si_blit()
|
D | si_texture.c | 457 if (tex->surface.is_linear) in si_reallocate_texture_inplace() 1616 assert(tex->surface.is_linear); in si_texture_invalidate_storage() 1671 if (!tex->surface.is_linear || (tex->buffer.flags & RADEON_FLAG_ENCRYPTED)) in si_texture_transfer_map() 2318 if (bind & PIPE_BIND_LINEAR && !tex->surface.is_linear) in si_check_resource_capability()
|
D | si_clear.c | 419 if (tex->surface.is_linear) { in si_do_fast_color_clear()
|
D | si_buffer.c | 157 if ((res->b.b.target != PIPE_BUFFER && !tex->surface.is_linear) || in si_init_resource_fields()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_spill.cpp | 121 int32_t get_dominator(int idx_a, int idx_b, Program* program, bool is_linear) in get_dominator() argument 128 if (is_linear) { in get_dominator() 173 if (op.regClass().type() == RegType::vgpr && op.regClass().is_linear()) in next_uses_per_block() 209 std::vector<unsigned>& preds = temp.is_linear() ? block->linear_preds : block->logical_preds; in next_uses_per_block() 216 …et_dominator(dom, ctx.next_use_distances_end[pred_idx][temp].first, ctx.program, temp.is_linear()); in next_uses_per_block() 346 if (op.regClass().type() == RegType::vgpr && op.regClass().is_linear()) in local_next_uses() 567 …std::vector<unsigned>& preds = pair.first.is_linear() ? block->linear_preds : block->logical_preds; in init_live_in_vars() 740 if (!live.first.is_linear()) in add_coupling_code() 772 if (live.first.is_linear()) in add_coupling_code() 884 … std::vector<unsigned> preds = pair.first.is_linear() ? block->linear_preds : block->logical_preds; in add_coupling_code() [all …]
|
D | aco_live_var_analysis.cpp | 212 std::vector<unsigned>& preds = rc.is_linear() ? block->linear_preds : block->logical_preds; in process_live_temps_per_block()
|
D | aco_ir.h | 297 constexpr bool is_linear() const { return rc <= RC::s16 || rc & (1 << 6); } in is_linear() function 353 constexpr bool is_linear() const noexcept { return regClass().is_linear(); } in is_linear() function
|
D | aco_register_allocation.cpp | 1585 std::vector<unsigned>& preds = val.is_linear() ? block->linear_preds : block->logical_preds; in handle_live_in() 1599 aco_opcode opcode = val.is_linear() ? aco_opcode::p_linear_phi : aco_opcode::p_phi; in handle_live_in() 1630 aco_opcode opcode = val.is_linear() ? aco_opcode::p_linear_phi : aco_opcode::p_phi; in handle_live_in() 1967 … aco_opcode opcode = pc.first.getTemp().is_linear() ? aco_opcode::p_linear_phi : aco_opcode::p_phi; in register_allocation() 1968 …std::vector<unsigned>& preds = pc.first.getTemp().is_linear() ? block.linear_preds : block.logical… in register_allocation() 2417 …std::vector<unsigned> preds = phi->definitions[0].getTemp().is_linear() ? succ.linear_preds : succ… in register_allocation()
|
D | aco_insert_waitcnt.cpp | 715 wait_entry new_entry(event, imm, !rc.is_linear(), wait_on_read); in insert_wait_entry()
|
/external/mesa3d/src/panfrost/lib/ |
D | pan_texture.c | 337 bool is_linear = modifier == DRM_FORMAT_MOD_LINEAR; in panfrost_emit_texture_payload_v7() local 352 is_linear ? in panfrost_emit_texture_payload_v7()
|
/external/mesa3d/src/amd/common/ |
D | ac_surface.h | 202 unsigned is_linear : 1; member
|
D | ac_surface.c | 778 if (surf->flags & RADEON_SURF_Z_OR_SBUFFER || surf->is_linear || in ac_compute_cmask() 1209 surf->is_linear = surf->u.legacy.level[0].mode == RADEON_SURF_MODE_LINEAR_ALIGNED; in gfx6_compute_surface() 1210 surf->is_displayable = surf->is_linear || surf->micro_tile_mode == RADEON_MICRO_MODE_DISPLAY || in gfx6_compute_surface() 1977 surf->is_linear = surf->u.gfx9.surf.swizzle_mode == ADDR_SW_LINEAR; in gfx9_compute_surface() 2013 AddrSurfInfoIn.flags.color && !surf->is_linear && in gfx9_compute_surface()
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_surface.c | 186 surf_ws->is_linear = surf_drm->level[0].mode <= RADEON_SURF_MODE_LINEAR_ALIGNED; in surf_drm_to_winsys() 218 surf_ws->is_displayable = surf_ws->is_linear || in surf_drm_to_winsys()
|
/external/rust/crates/criterion/src/analysis/ |
D | mod.rs | 152 if sampling_mode.is_linear() { in common()
|
/external/vulkan-validation-layers/layers/ |
D | core_validation.h | 790 VkMemoryRequirements mem_reqs, bool is_linear); 792 VkMemoryRequirements memRequirements, bool is_linear); 1047 … VkDeviceSize memoryOffset, const VkMemoryRequirements& memRequirements, bool is_linear, 1050 … const VkMemoryRequirements& mem_reqs, bool is_linear, const char* api_name) const;
|
/external/rust/crates/criterion/src/ |
D | lib.rs | 1517 fn is_linear(&self) -> bool { in is_linear() method
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_image.c | 1868 uint64_t level_offset = surface->is_linear ? surface->u.gfx9.offset[level] : 0; in radv_GetImageSubresourceLayout() 1880 uint32_t pitch = surface->is_linear ? surface->u.gfx9.pitch[level] : surface->u.gfx9.surf_pitch; in radv_GetImageSubresourceLayout()
|