Home
last modified time | relevance | path

Searched refs:res_id (Results 1 - 25 of 32) sorted by relevance

12

/third_party/mesa3d/src/freedreno/drm/virtio/
H A Dvirtio_bo.c107 .res_id = to_virtio_bo(bo)->res_id, in virtio_bo_cpu_prep()
177 req->res_id = to_virtio_bo(bo)->res_id; in virtio_bo_set_name()
194 req->res_id = to_virtio_bo(bo)->res_id; in bo_upload()
222 .res_id = to_virtio_bo(bo)->res_id, in set_iova()
298 virtio_bo->res_id = args.res_handle; in bo_from_handle()
H A Dmsm_proto.h170 uint32_t res_id; member
186 uint32_t res_id; member
207 uint32_t res_id; member
275 uint32_t res_id; member
H A Dvirtio_priv.h166 uint32_t res_id; member
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_renderer_vtest.c344 uint32_t res_id; in vtest_vcmd_resource_create_blob() local
345 vtest_read(vtest, &res_id, sizeof(res_id)); in vtest_vcmd_resource_create_blob()
349 return res_id; in vtest_vcmd_resource_create_blob()
353 vtest_vcmd_resource_unref(struct vtest *vtest, uint32_t res_id) in vtest_vcmd_resource_unref() argument
360 vcmd_res_unref[VCMD_RES_UNREF_RES_HANDLE] = res_id; in vtest_vcmd_resource_unref()
725 vtest_vcmd_resource_unref(vtest, bo->base.res_id); in vtest_bo_destroy()
760 uint32_t res_id = vtest_vcmd_resource_create_blob( in vtest_bo_create_from_device_memory() local
762 assert(res_id > 0 && res_fd >= 0); in vtest_bo_create_from_device_memory()
765 struct vtest_bo *bo = util_sparse_array_get(&vtest->bo_array, res_id); in vtest_bo_create_from_device_memory()
821 uint32_t res_id = vtest_vcmd_resource_create_blob( vtest_shmem_create() local
[all...]
H A Dvn_renderer.h14 uint32_t res_id; member
25 uint32_t res_id; member
289 assert(shmem->res_id); in vn_renderer_shmem_create()
329 assert(bo->res_id); in vn_renderer_bo_create_from_device_memory()
350 assert(bo->res_id); in vn_renderer_bo_create_from_dma_buf()
H A Dvn_renderer_virtgpu.c130 /* note that we use gem_handle instead of res_id to index because
131 * res_id is monotonically increasing by default (see
668 uint32_t *res_id) in virtgpu_ioctl_resource_create_blob()
684 *res_id = args.res_handle; in virtgpu_ioctl_resource_create_blob()
1244 .res_id = info.res_handle, in virtgpu_bo_create_from_dma_buf()
1277 uint32_t res_id; in virtgpu_bo_create_from_device_memory() local
1279 gpu, gpu->bo_blob_mem, blob_flags, size, mem_id, &res_id); in virtgpu_bo_create_from_device_memory()
1287 .res_id = res_id, in virtgpu_bo_create_from_device_memory()
1334 uint32_t res_id; in virtgpu_shmem_create() local
663 virtgpu_ioctl_resource_create_blob(struct virtgpu *gpu, uint32_t blob_mem, uint32_t blob_flags, size_t blob_size, uint64_t blob_id, uint32_t *res_id) virtgpu_ioctl_resource_create_blob() argument
[all...]
H A Dvn_device_memory.c272 .resourceId = bo->res_id, in vn_device_memory_import_dma_buf()
315 .resourceId = mem->base_bo->res_id, in vn_device_memory_alloc_guest_vram()
704 bo->res_id, &props); in vn_get_memory_dma_buf_properties()
H A Dvn_instance.c146 .resourceId = instance->ring.shmem->res_id, in vn_instance_init_ring()
380 .resourceId = buf->shmem->res_id, in vn_instance_submission_get_cs()
580 .resourceId = shmem->res_id, in vn_instance_get_reply_shmem_locked()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_instr_mem.cpp548 auto res_id = R600_IMAGE_REAL_RESOURCE_OFFSET + offset + in emit_ssbo_load() local
552 res_id, res_offset, formats[comp_idx]); in emit_ssbo_load()
663 int res_id = R600_IMAGE_REAL_RESOURCE_OFFSET; in emit_ssbo_size() local
665 res_id += const_offset[0].u32; in emit_ssbo_size()
669 shader.emit_instruction(new QueryBufferSizeInstr(dest, {0,1,2,3},res_id)); in emit_ssbo_size()
799 int res_id = R600_IMAGE_REAL_RESOURCE_OFFSET; in emit_image_size() local
801 res_id += const_offset[0].u32; in emit_image_size()
807 shader.emit_instruction(new QueryBufferSizeInstr(dest, {0,1,2,3}, res_id)); in emit_image_size()
817 src, 0/* ?? */, res_id, dyn_offset)); in emit_image_size()
857 src, 0/* ?? */, res_id, dyn_offse in emit_image_size()
[all...]
H A Dsfn_instr_fetch.cpp308 int res_id = int_from_string_with_prefix(res_id_str, "RID:"); in from_string_impl() local
377 vtx_es_none, res_id, nullptr); in from_string_impl()
539 int res_id = int_from_string_with_prefix(res_id_str, "RID:"); in from_string() local
541 return new QueryBufferSizeInstr( dst, dst_swz, res_id); in from_string()
589 int res_id = int_from_string_with_prefix(res_id_str, "RID:"); in from_string() local
602 res_id, res_offset, fmt_32_32_32_32_float); in from_string()
/third_party/skia/modules/skottie/src/layers/
H A DFootageLayer.cpp87 const SkString res_id(id->begin()); in loadFootageAsset()
88 if (auto* cached_info = fImageAssetCache.find(res_id)) { in loadFootageAsset()
101 return fImageAssetCache.set(res_id, { std::move(asset), size }); in loadFootageAsset()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dinstruction.h202 // result id: |res_id| and input operands: |in_operands|.
203 Instruction(IRContext* c, SpvOp op, uint32_t ty_id, uint32_t res_id,
299 inline void SetResultId(uint32_t res_id);
688 inline void Instruction::SetResultId(uint32_t res_id) {
697 assert(res_id != 0);
700 operands_[ridx].words = {res_id};
H A Dinstrument_pass.cpp326 uint32_t res_id = call2id_[args]; in GenDebugDirectRead() local
327 if (res_id != 0) return res_id; in GenDebugDirectRead()
340 uint32_t res_id = in GenDebugDirectRead() local
342 if (insert_in_first_block) call2id_[args] = res_id; in GenDebugDirectRead()
343 return res_id; in GenDebugDirectRead()
H A Dinstruction.cpp107 uint32_t res_id, const OperandList& in_operands) in Instruction()
112 has_result_id_(res_id != 0), in Instruction()
122 std::initializer_list<uint32_t>{res_id}); in Instruction()
106 Instruction(IRContext* c, SpvOp op, uint32_t ty_id, uint32_t res_id, const OperandList& in_operands) Instruction() argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dinstruction.h202 // result id: |res_id| and input operands: |in_operands|.
203 Instruction(IRContext* c, SpvOp op, uint32_t ty_id, uint32_t res_id,
299 inline void SetResultId(uint32_t res_id);
688 inline void Instruction::SetResultId(uint32_t res_id) {
697 assert(res_id != 0);
700 operands_[ridx].words = {res_id};
H A Dinstrument_pass.cpp326 uint32_t res_id = call2id_[args]; in GenDebugDirectRead() local
327 if (res_id != 0) return res_id; in GenDebugDirectRead()
340 uint32_t res_id = in GenDebugDirectRead() local
342 if (insert_in_first_block) call2id_[args] = res_id; in GenDebugDirectRead()
343 return res_id; in GenDebugDirectRead()
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftmac.c589 ResID res_id; in read_lwfn() local
602 res_id = 501; in read_lwfn()
607 post_data = Get1Resource( TTAG_POST, res_id++ ); in read_lwfn()
640 res_id = 501; in read_lwfn()
646 post_data = Get1Resource( TTAG_POST, res_id++ ); in read_lwfn()
H A Dftrfork.c174 return ( (FT_RFork_Ref*)a )->res_id - ( (FT_RFork_Ref*)b )->res_id; in ft_raccess_sort_ref_by_id()
259 if ( FT_READ_SHORT( ref[j].res_id ) ) in FT_BASE_DEF()
284 j, (FT_UShort)ref[j].res_id, ref[j].offset )); in FT_BASE_DEF()
299 j, ref[j].res_id, ref[j].offset )); in FT_BASE_DEF()
/third_party/spirv-tools/source/opt/
H A Dinstruction.h215 // result id: |res_id| and input operands: |in_operands|.
216 Instruction(IRContext* c, spv::Op op, uint32_t ty_id, uint32_t res_id,
315 inline void SetResultId(uint32_t res_id);
708 inline void Instruction::SetResultId(uint32_t res_id) {
717 assert(res_id != 0);
720 operands_[ridx].words = {res_id};
H A Dinstrument_pass.cpp297 uint32_t res_id = call2id_[func_call_args]; in GenReadFunctionCall() local
298 if (res_id != 0) return res_id; in GenReadFunctionCall()
312 uint32_t res_id = in GenReadFunctionCall() local
314 if (insert_in_first_block) call2id_[func_call_args] = res_id; in GenReadFunctionCall()
315 return res_id; in GenReadFunctionCall()
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/
H A Dpeeling_pass.cpp34 const std::string& res_id, const std::string& op1, in AssembleAndRunPeelingTest()
61 res_id + " = " + opcode_str + " %bool " + op1 + " " + op2 + "\n"; in AssembleAndRunPeelingTest()
73 const std::string& res_id, const std::string& op1, const std::string& op2, in RunPeelingTest()
76 text_head, text_tail, opcode, res_id, op1, op2); in RunPeelingTest()
90 const std::string& res_id, const std::string& op1, in BuildAndCheckTrace()
94 auto stats = RunPeelingTest(text_head, text_tail, opcode, res_id, op1, op2, in BuildAndCheckTrace()
32 AssembleAndRunPeelingTest( const std::string& text_head, const std::string& text_tail, SpvOp opcode, const std::string& res_id, const std::string& op1, const std::string& op2) AssembleAndRunPeelingTest() argument
71 RunPeelingTest( const std::string& text_head, const std::string& text_tail, SpvOp opcode, const std::string& res_id, const std::string& op1, const std::string& op2, size_t nb_of_loops) RunPeelingTest() argument
88 BuildAndCheckTrace(const std::string& text_head, const std::string& text_tail, SpvOp opcode, const std::string& res_id, const std::string& op1, const std::string& op2, const PeelTraceType& expected_peel_trace, size_t expected_nb_of_loops) BuildAndCheckTrace() argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
H A Dpeeling_pass.cpp34 const std::string& res_id, const std::string& op1, in AssembleAndRunPeelingTest()
61 res_id + " = " + opcode_str + " %bool " + op1 + " " + op2 + "\n"; in AssembleAndRunPeelingTest()
73 const std::string& res_id, const std::string& op1, const std::string& op2, in RunPeelingTest()
76 text_head, text_tail, opcode, res_id, op1, op2); in RunPeelingTest()
90 const std::string& res_id, const std::string& op1, in BuildAndCheckTrace()
94 auto stats = RunPeelingTest(text_head, text_tail, opcode, res_id, op1, op2, in BuildAndCheckTrace()
32 AssembleAndRunPeelingTest( const std::string& text_head, const std::string& text_tail, SpvOp opcode, const std::string& res_id, const std::string& op1, const std::string& op2) AssembleAndRunPeelingTest() argument
71 RunPeelingTest( const std::string& text_head, const std::string& text_tail, SpvOp opcode, const std::string& res_id, const std::string& op1, const std::string& op2, size_t nb_of_loops) RunPeelingTest() argument
88 BuildAndCheckTrace(const std::string& text_head, const std::string& text_tail, SpvOp opcode, const std::string& res_id, const std::string& op1, const std::string& op2, const PeelTraceType& expected_peel_trace, size_t expected_nb_of_loops) BuildAndCheckTrace() argument
/third_party/spirv-tools/test/opt/loop_optimizations/
H A Dpeeling_pass.cpp33 spv::Op opcode, const std::string& res_id, const std::string& op1, in AssembleAndRunPeelingTest()
60 res_id + " = " + opcode_str + " %bool " + op1 + " " + op2 + "\n"; in AssembleAndRunPeelingTest()
72 spv::Op opcode, const std::string& res_id, const std::string& op1, in RunPeelingTest()
75 text_head, text_tail, opcode, res_id, op1, op2); in RunPeelingTest()
89 const std::string& res_id, const std::string& op1, in BuildAndCheckTrace()
93 auto stats = RunPeelingTest(text_head, text_tail, opcode, res_id, op1, op2, in BuildAndCheckTrace()
31 AssembleAndRunPeelingTest( const std::string& text_head, const std::string& text_tail, spv::Op opcode, const std::string& res_id, const std::string& op1, const std::string& op2) AssembleAndRunPeelingTest() argument
70 RunPeelingTest( const std::string& text_head, const std::string& text_tail, spv::Op opcode, const std::string& res_id, const std::string& op1, const std::string& op2, size_t nb_of_loops) RunPeelingTest() argument
87 BuildAndCheckTrace(const std::string& text_head, const std::string& text_tail, spv::Op opcode, const std::string& res_id, const std::string& op1, const std::string& op2, const PeelTraceType& expected_peel_trace, size_t expected_nb_of_loops) BuildAndCheckTrace() argument
/third_party/skia/third_party/externals/freetype/builds/mac/
H A Dftmac.c969 ResID res_id; in read_lwfn() local
982 res_id = 501; in read_lwfn()
987 post_data = Get1Resource( TTAG_POST, res_id++ ); in read_lwfn()
1020 res_id = 501; in read_lwfn()
1026 post_data = Get1Resource( TTAG_POST, res_id++ ); in read_lwfn()
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
H A Dftrfork.h45 FT_Short res_id; member

Completed in 31 milliseconds

12