/third_party/openGLES/extensions/NV/ |
D | NV_memory_attachment.txt | 295 TextureAttachMemoryNV(tex0, memobj, memoffset0); 298 TextureAttachMemoryNV(tex1, memobj, memoffset1); 313 for each memobj { 314 GetMemoryObjectParameterivEXT(memobj.id, 316 &memobj.incarnation); 318 MemoryObjectParameterivEXT(memobj.id, 340 for each memobj { 341 GetMemoryObjectParameterivEXT(memobj.id, 345 if (incarnation != memobj.incarnation) { 346 memobj.incarnation = incarnation; [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | CLMemory.h | 51 static Memory *Cast(cl_mem memobj); 138 inline Memory *Memory::Cast(cl_mem memobj) in Cast() argument 140 return static_cast<Memory *>(memobj); in Cast()
|
D | validationCL_autogen.h | 71 cl_int ValidateRetainMemObject(cl_mem memobj); 72 cl_int ValidateReleaseMemObject(cl_mem memobj); 79 cl_int ValidateGetMemObjectInfo(cl_mem memobj, 259 cl_mem memobj, 328 cl_int ValidateSetMemObjectDestructorCallback(cl_mem memobj, 329 void(CL_CALLBACK *pfn_notify)(cl_mem memobj,
|
D | validationCL.cpp | 866 cl_int ValidateRetainMemObject(cl_mem memobj) in ValidateRetainMemObject() argument 869 return Memory::IsValid(memobj) ? CL_SUCCESS : CL_INVALID_MEM_OBJECT; in ValidateRetainMemObject() 872 cl_int ValidateReleaseMemObject(cl_mem memobj) in ValidateReleaseMemObject() argument 875 return Memory::IsValid(memobj) ? CL_SUCCESS : CL_INVALID_MEM_OBJECT; in ValidateReleaseMemObject() 906 cl_int ValidateGetMemObjectInfo(cl_mem memobj, in ValidateGetMemObjectInfo() argument 913 if (!Memory::IsValid(memobj)) in ValidateGetMemObjectInfo() 919 const cl_version version = memobj->cast<Memory>().getContext().getPlatform().getVersion(); in ValidateGetMemObjectInfo() 1981 cl_mem memobj, in ValidateEnqueueUnmapMemObject() argument 1992 if (!Memory::IsValid(memobj)) in ValidateEnqueueUnmapMemObject() 1996 const Memory &memory = memobj->cast<Memory>(); in ValidateEnqueueUnmapMemObject() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_texture.c | 343 struct llvmpipe_memory_object *memobj = CALLOC_STRUCT(llvmpipe_memory_object); in llvmpipe_memobj_create_from_handle() local 346 pscreen->import_memory_fd(pscreen, handle->handle, &memobj->data, &memobj->size)) { in llvmpipe_memobj_create_from_handle() 347 return &memobj->b; in llvmpipe_memobj_create_from_handle() 349 free(memobj); in llvmpipe_memobj_create_from_handle() 356 struct pipe_memory_object *memobj) in llvmpipe_memobj_destroy() argument 358 if (!memobj) in llvmpipe_memobj_destroy() 360 struct llvmpipe_memory_object *lpmo = llvmpipe_memory_object(memobj); in llvmpipe_memobj_destroy() 370 struct pipe_memory_object *memobj, in llvmpipe_resource_from_memobj() argument 373 if (!memobj) in llvmpipe_resource_from_memobj() 376 struct llvmpipe_memory_object *lpmo = llvmpipe_memory_object(memobj); in llvmpipe_resource_from_memobj()
|
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
D | cl_stubs.cpp | 289 cl_int RetainMemObject(cl_mem memobj) in RetainMemObject() argument 291 memobj->cast<Memory>().retain(); in RetainMemObject() 295 cl_int ReleaseMemObject(cl_mem memobj) in ReleaseMemObject() argument 297 Memory &memory = memobj->cast<Memory>(); in ReleaseMemObject() 316 cl_int GetMemObjectInfo(cl_mem memobj, in GetMemObjectInfo() argument 322 return memobj->cast<Memory>().getInfo(param_name, param_value_size, param_value, in GetMemObjectInfo() 346 cl_int SetMemObjectDestructorCallback(cl_mem memobj, in SetMemObjectDestructorCallback() argument 347 void(CL_CALLBACK *pfn_notify)(cl_mem memobj, void *user_data), in SetMemObjectDestructorCallback() argument 350 return memobj->cast<Memory>().setDestructorCallback(pfn_notify, user_data); in SetMemObjectDestructorCallback() 949 cl_mem memobj, in EnqueueUnmapMemObject() argument [all …]
|
D | entry_points_cl_autogen.cpp | 281 cl_int CL_API_CALL clRetainMemObject(cl_mem memobj) in clRetainMemObject() argument 283 CL_EVENT(RetainMemObject, "memobj = 0x%016" PRIxPTR "", (uintptr_t)memobj); in clRetainMemObject() 285 ANGLE_CL_VALIDATE_ERROR(RetainMemObject, memobj); in clRetainMemObject() 287 return RetainMemObject(memobj); in clRetainMemObject() 290 cl_int CL_API_CALL clReleaseMemObject(cl_mem memobj) in clReleaseMemObject() argument 292 CL_EVENT(ReleaseMemObject, "memobj = 0x%016" PRIxPTR "", (uintptr_t)memobj); in clReleaseMemObject() 294 ANGLE_CL_VALIDATE_ERROR(ReleaseMemObject, memobj); in clReleaseMemObject() 296 return ReleaseMemObject(memobj); in clReleaseMemObject() 323 cl_int CL_API_CALL clGetMemObjectInfo(cl_mem memobj, in clGetMemObjectInfo() argument 333 (uintptr_t)memobj, param_name, param_value_size, (uintptr_t)param_value, in clGetMemObjectInfo() [all …]
|
D | cl_stubs_autogen.h | 122 cl_int RetainMemObject(cl_mem memobj); 123 cl_int ReleaseMemObject(cl_mem memobj); 130 cl_int GetMemObjectInfo(cl_mem memobj, 145 cl_int SetMemObjectDestructorCallback(cl_mem memobj, 146 void(CL_CALLBACK *pfn_notify)(cl_mem memobj, void *user_data), 445 cl_mem memobj,
|
D | entry_points_cl_autogen.h | 75 cl_int CL_API_CALL clRetainMemObject(cl_mem memobj); 76 cl_int CL_API_CALL clReleaseMemObject(cl_mem memobj); 83 cl_int CL_API_CALL clGetMemObjectInfo(cl_mem memobj, 270 cl_mem memobj, 344 cl_int CL_API_CALL clSetMemObjectDestructorCallback(cl_mem memobj, 345 void(CL_CALLBACK *pfn_notify)(cl_mem memobj,
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_resource.cpp | 866 struct d3d12_memory_object *memobj = CALLOC_STRUCT(d3d12_memory_object); in d3d12_memobj_create_from_handle() local 867 if (!memobj) { in d3d12_memobj_create_from_handle() 871 memobj->base.dedicated = dedicated; in d3d12_memobj_create_from_handle() 873 (void)obj->QueryInterface(&memobj->res); in d3d12_memobj_create_from_handle() 874 (void)obj->QueryInterface(&memobj->heap); in d3d12_memobj_create_from_handle() 876 if (!memobj->res && !memobj->heap) { in d3d12_memobj_create_from_handle() 878 free(memobj); in d3d12_memobj_create_from_handle() 882 bool expect_dedicated = memobj->res != nullptr; in d3d12_memobj_create_from_handle() 888 return &memobj->base; in d3d12_memobj_create_from_handle() 894 struct d3d12_memory_object *memobj = d3d12_memory_object(pmemobj); in d3d12_memobj_destroy() local [all …]
|
/third_party/skia/third_party/externals/angle2/src/libOpenCL/ |
D | libOpenCL_autogen.cpp | 129 cl_int CL_API_CALL clRetainMemObject(cl_mem memobj) in clRetainMemObject() argument 131 return cl::GetDispatch().clRetainMemObject(memobj); in clRetainMemObject() 134 cl_int CL_API_CALL clReleaseMemObject(cl_mem memobj) in clReleaseMemObject() argument 136 return cl::GetDispatch().clReleaseMemObject(memobj); in clReleaseMemObject() 150 cl_int CL_API_CALL clGetMemObjectInfo(cl_mem memobj, in clGetMemObjectInfo() argument 156 return cl::GetDispatch().clGetMemObjectInfo(memobj, param_name, param_value_size, param_value, in clGetMemObjectInfo() 514 cl_mem memobj, in clEnqueueUnmapMemObject() argument 521 command_queue, memobj, mapped_ptr, num_events_in_wait_list, event_wait_list, event); in clEnqueueUnmapMemObject() 659 cl_int CL_API_CALL clSetMemObjectDestructorCallback(cl_mem memobj, in clSetMemObjectDestructorCallback() argument 660 void(CL_CALLBACK *pfn_notify)(cl_mem memobj, in clSetMemObjectDestructorCallback() argument [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_resource.c | 1567 struct fd_memory_object *memobj = fd_memory_object(pmemobj); in fd_resource_from_memobj() local 1571 assert(memobj->bo); in fd_resource_from_memobj() 1593 if (fd_bo_size(memobj->bo) < size) { in fd_resource_from_memobj() 1599 fd_resource_set_bo(rsc, fd_bo_ref(memobj->bo)); in fd_resource_from_memobj() 1608 struct fd_memory_object *memobj = CALLOC_STRUCT(fd_memory_object); in fd_memobj_create_from_handle() local 1609 if (!memobj) in fd_memobj_create_from_handle() 1614 free(memobj); in fd_memobj_create_from_handle() 1618 memobj->b.dedicated = dedicated; in fd_memobj_create_from_handle() 1619 memobj->bo = bo; in fd_memobj_create_from_handle() 1621 return &memobj->b; in fd_memobj_create_from_handle() [all …]
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_resource.c | 910 struct crocus_memory_object *memobj = (struct crocus_memory_object *)pmemobj; in crocus_resource_from_memobj() local 926 res->bo = memobj->bo; in crocus_resource_from_memobj() 928 res->external_format = memobj->format; in crocus_resource_from_memobj() 930 crocus_bo_reference(memobj->bo); in crocus_resource_from_memobj() 1938 struct crocus_memory_object *memobj = CALLOC_STRUCT(crocus_memory_object); in crocus_memobj_create_from_handle() local 1942 if (!memobj) in crocus_memobj_create_from_handle() 1970 free(memobj); in crocus_memobj_create_from_handle() 1974 memobj->b.dedicated = dedicated; in crocus_memobj_create_from_handle() 1975 memobj->bo = bo; in crocus_memobj_create_from_handle() 1976 memobj->format = whandle->format; in crocus_memobj_create_from_handle() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_texture.c | 1836 struct r600_memory_object *memobj = CALLOC_STRUCT(r600_memory_object); in r600_memobj_from_handle() local 1839 if (!memobj) in r600_memobj_from_handle() 1845 free(memobj); in r600_memobj_from_handle() 1849 memobj->b.dedicated = dedicated; in r600_memobj_from_handle() 1850 memobj->buf = buf; in r600_memobj_from_handle() 1851 memobj->stride = whandle->stride; in r600_memobj_from_handle() 1852 memobj->offset = whandle->offset; in r600_memobj_from_handle() 1854 return (struct pipe_memory_object *)memobj; in r600_memobj_from_handle() 1862 struct r600_memory_object *memobj = (struct r600_memory_object *)_memobj; in r600_memobj_destroy() local 1864 pb_reference(&memobj->buf, NULL); in r600_memobj_destroy() [all …]
|
/third_party/skia/third_party/externals/angle2/include/CL/ |
D | cl_gl.h | 76 clGetGLObjectInfo(cl_mem memobj, 81 clGetGLTextureInfo(cl_mem memobj,
|
/third_party/mesa3d/include/CL/ |
D | cl_gl.h | 88 clGetGLObjectInfo(cl_mem memobj, 93 clGetGLTextureInfo(cl_mem memobj,
|
D | cl.h | 1141 clRetainMemObject(cl_mem memobj) CL_API_SUFFIX__VERSION_1_0; 1144 clReleaseMemObject(cl_mem memobj) CL_API_SUFFIX__VERSION_1_0; 1155 clGetMemObjectInfo(cl_mem memobj, 1182 clSetMemObjectDestructorCallback(cl_mem memobj, 1183 void (CL_CALLBACK * pfn_notify)(cl_mem memobj, 1702 cl_mem memobj,
|
/third_party/opencl-headers/CL/ |
D | cl_gl.h | 76 clGetGLObjectInfo(cl_mem memobj, 81 clGetGLTextureInfo(cl_mem memobj,
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_texture.c | 2214 struct si_memory_object *memobj = CALLOC_STRUCT(si_memory_object); in si_memobj_from_handle() local 2217 if (!memobj) in si_memobj_from_handle() 2222 free(memobj); in si_memobj_from_handle() 2226 memobj->b.dedicated = dedicated; in si_memobj_from_handle() 2227 memobj->buf = buf; in si_memobj_from_handle() 2228 memobj->stride = whandle->stride; in si_memobj_from_handle() 2230 return (struct pipe_memory_object *)memobj; in si_memobj_from_handle() 2235 struct si_memory_object *memobj = (struct si_memory_object *)_memobj; in si_memobj_destroy() local 2237 radeon_bo_reference(((struct si_screen*)screen)->ws, &memobj->buf, NULL); in si_memobj_destroy() 2238 free(memobj); in si_memobj_destroy() [all …]
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_resource.c | 346 struct iris_memory_object *memobj = CALLOC_STRUCT(iris_memory_object); in iris_memobj_create_from_handle() local 349 if (!memobj) in iris_memobj_create_from_handle() 365 free(memobj); in iris_memobj_create_from_handle() 369 memobj->b.dedicated = dedicated; in iris_memobj_create_from_handle() 370 memobj->bo = bo; in iris_memobj_create_from_handle() 371 memobj->format = whandle->format; in iris_memobj_create_from_handle() 372 memobj->stride = whandle->stride; in iris_memobj_create_from_handle() 374 return &memobj->b; in iris_memobj_create_from_handle() 381 struct iris_memory_object *memobj = (struct iris_memory_object *)pmemobj; in iris_memobj_destroy() local 383 iris_bo_unreference(memobj->bo); in iris_memobj_destroy() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/ |
D | dd_screen.c | 271 struct pipe_memory_object *memobj, in dd_screen_resource_from_memobj() argument 276 screen->resource_from_memobj(screen, templ, memobj, offset); in dd_screen_resource_from_memobj() 452 struct pipe_memory_object *memobj) in dd_screen_memobj_destroy() argument 456 screen->memobj_destroy(screen, memobj); in dd_screen_memobj_destroy()
|
/third_party/opencl-headers/src/ |
D | opencl_wrapper.cpp | 442 cl_int clRetainMemObject(cl_mem memobj) in clRetainMemObject() argument 447 return func(memobj); in clRetainMemObject() 451 cl_int clReleaseMemObject(cl_mem memobj) in clReleaseMemObject() argument 456 return func(memobj); in clReleaseMemObject() 561 cl_int clEnqueueUnmapMemObject(cl_command_queue command_queue, cl_mem memobj, void *mapped_ptr, in clEnqueueUnmapMemObject() argument 567 return func(command_queue, memobj, mapped_ptr, num_events_in_wait_list, event_wait_list, event); in clEnqueueUnmapMemObject()
|
/third_party/python/Modules/_io/ |
D | bufferedio.c | 1462 PyObject *memobj, *res; in _bufferedreader_raw_read() local 1467 memobj = PyMemoryView_FromBuffer(&buf); in _bufferedreader_raw_read() 1468 if (memobj == NULL) in _bufferedreader_raw_read() 1476 res = PyObject_CallMethodOneArg(self->raw, _PyIO_str_readinto, memobj); in _bufferedreader_raw_read() 1478 Py_DECREF(memobj); in _bufferedreader_raw_read() 1817 PyObject *memobj, *res; in _bufferedwriter_raw_write() local 1823 memobj = PyMemoryView_FromBuffer(&buf); in _bufferedwriter_raw_write() 1824 if (memobj == NULL) in _bufferedwriter_raw_write() 1833 res = PyObject_CallMethodOneArg(self->raw, _PyIO_str_write, memobj); in _bufferedwriter_raw_write() 1836 Py_DECREF(memobj); in _bufferedwriter_raw_write()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_screen.h | 518 struct pipe_memory_object *memobj); 528 struct pipe_memory_object *memobj,
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_resource.c | 1516 struct zink_memory_object *memobj = CALLOC_STRUCT(zink_memory_object); in zink_memobj_create_from_handle() local 1517 if (!memobj) in zink_memobj_create_from_handle() 1519 memcpy(&memobj->whandle, whandle, sizeof(struct winsys_handle)); in zink_memobj_create_from_handle() 1520 memobj->whandle.type = ZINK_EXTERNAL_MEMORY_HANDLE; in zink_memobj_create_from_handle() 1525 memobj->whandle.handle = os_dupfd_cloexec(whandle->handle); in zink_memobj_create_from_handle() 1531 memobj->whandle.handle = out_handle; in zink_memobj_create_from_handle() 1536 return (struct pipe_memory_object *)memobj; in zink_memobj_create_from_handle() 1543 struct zink_memory_object *memobj = (struct zink_memory_object *)pmemobj; in zink_memobj_destroy() local 1546 close(memobj->whandle.handle); in zink_memobj_destroy() 1548 CloseHandle(memobj->whandle.handle); in zink_memobj_destroy() [all …]
|