Home
last modified time | relevance | path

Searched refs:memobj (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/drivers/trace/
Dtr_screen.c412 struct pipe_memory_object *memobj, in trace_screen_resource_from_memobj() argument
420 trace_dump_arg(ptr, memobj); in trace_screen_resource_from_memobj()
424 screen->resource_from_memobj(screen, templ, memobj, offset); in trace_screen_resource_from_memobj()
551 struct pipe_memory_object *memobj) in trace_screen_memobj_destroy() argument
557 trace_dump_arg(ptr, memobj); in trace_screen_memobj_destroy()
560 screen->memobj_destroy(screen, memobj); in trace_screen_memobj_destroy()
/external/mesa3d/src/gallium/state_trackers/clover/api/
Ddispatch.hpp148 cl_mem memobj);
151 cl_mem memobj);
162 cl_mem memobj,
431 cl_mem memobj,
511 cl_mem memobj,
516 cl_mem memobj,
566 cl_mem memobj,
/external/mesa3d/src/gallium/include/pipe/
Dp_screen.h407 struct pipe_memory_object *memobj);
417 struct pipe_memory_object *memobj,
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c1841 struct r600_memory_object *memobj = CALLOC_STRUCT(r600_memory_object); in r600_memobj_from_handle() local
1845 if (!memobj) in r600_memobj_from_handle()
1851 free(memobj); in r600_memobj_from_handle()
1855 memobj->b.dedicated = dedicated; in r600_memobj_from_handle()
1856 memobj->buf = buf; in r600_memobj_from_handle()
1857 memobj->stride = stride; in r600_memobj_from_handle()
1858 memobj->offset = offset; in r600_memobj_from_handle()
1860 return (struct pipe_memory_object *)memobj; in r600_memobj_from_handle()
1868 struct r600_memory_object *memobj = (struct r600_memory_object *)_memobj; in r600_memobj_destroy() local
1870 pb_reference(&memobj->buf, NULL); in r600_memobj_destroy()
[all …]
/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_screen.c268 struct pipe_memory_object *memobj, in dd_screen_resource_from_memobj() argument
273 screen->resource_from_memobj(screen, templ, memobj, offset); in dd_screen_resource_from_memobj()
365 struct pipe_memory_object *memobj) in dd_screen_memobj_destroy() argument
369 screen->memobj_destroy(screen, memobj); in dd_screen_memobj_destroy()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_texture.c2366 struct r600_memory_object *memobj = CALLOC_STRUCT(r600_memory_object); in r600_memobj_from_handle() local
2370 if (!memobj) in r600_memobj_from_handle()
2376 free(memobj); in r600_memobj_from_handle()
2380 memobj->b.dedicated = dedicated; in r600_memobj_from_handle()
2381 memobj->buf = buf; in r600_memobj_from_handle()
2382 memobj->stride = stride; in r600_memobj_from_handle()
2383 memobj->offset = offset; in r600_memobj_from_handle()
2385 return (struct pipe_memory_object *)memobj; in r600_memobj_from_handle()
2393 struct r600_memory_object *memobj = (struct r600_memory_object *)_memobj; in r600_memobj_destroy() local
2395 pb_reference(&memobj->buf, NULL); in r600_memobj_destroy()
[all …]
/external/ImageMagick/MagickCore/
Dopencl-private.h127 (CL_API_CALL *MAGICKpfn_clRetainMemObject)(cl_mem memobj)
131 (CL_API_CALL *MAGICKpfn_clReleaseMemObject)(cl_mem memobj)
202 cl_command_queue command_queue,cl_mem memobj,void *mapped_ptr,
Dopencl.c479 MagickPrivate void ReleaseOpenCLMemObject(cl_mem memobj) in ReleaseOpenCLMemObject() argument
481 (void) openCL_library->clReleaseMemObject(memobj); in ReleaseOpenCLMemObject()
484 MagickPrivate void RetainOpenCLMemObject(cl_mem memobj) in RetainOpenCLMemObject() argument
486 (void) openCL_library->clRetainMemObject(memobj); in RetainOpenCLMemObject()
/external/python/cpython3/Modules/_io/
Dbufferedio.c1465 PyObject *memobj, *res; in _bufferedreader_raw_read() local
1470 memobj = PyMemoryView_FromBuffer(&buf); in _bufferedreader_raw_read()
1471 if (memobj == NULL) in _bufferedreader_raw_read()
1479 res = PyObject_CallMethodObjArgs(self->raw, _PyIO_str_readinto, memobj, NULL); in _bufferedreader_raw_read()
1481 Py_DECREF(memobj); in _bufferedreader_raw_read()
1811 PyObject *memobj, *res; in _bufferedwriter_raw_write() local
1817 memobj = PyMemoryView_FromBuffer(&buf); in _bufferedwriter_raw_write()
1818 if (memobj == NULL) in _bufferedwriter_raw_write()
1827 res = PyObject_CallMethodObjArgs(self->raw, _PyIO_str_write, memobj, NULL); in _bufferedwriter_raw_write()
1830 Py_DECREF(memobj); in _bufferedwriter_raw_write()
/external/python/cpython2/Modules/_io/
Dbufferedio.c1286 PyObject *memobj, *res; in _bufferedreader_raw_read() local
1291 memobj = PyMemoryView_FromBuffer(&buf); in _bufferedreader_raw_read()
1292 if (memobj == NULL) in _bufferedreader_raw_read()
1300 res = PyObject_CallMethodObjArgs(self->raw, _PyIO_str_readinto, memobj, NULL); in _bufferedreader_raw_read()
1302 Py_DECREF(memobj); in _bufferedreader_raw_read()
1709 PyObject *memobj, *res; in _bufferedwriter_raw_write() local
1715 memobj = PyMemoryView_FromBuffer(&buf); in _bufferedwriter_raw_write()
1716 if (memobj == NULL) in _bufferedwriter_raw_write()
1725 res = PyObject_CallMethodObjArgs(self->raw, _PyIO_str_write, memobj, NULL); in _bufferedwriter_raw_write()
1728 Py_DECREF(memobj); in _bufferedwriter_raw_write()
/external/python/cpython2/Modules/
Dpuremodule.c347 PyObject* memobj = Py_BuildValue("lil", memrep, user_size, in map_pool_callback() local
350 if (memobj == NULL) in map_pool_callback()
353 result = PyEval_CallObject(MapCallable, memobj); in map_pool_callback()
355 Py_DECREF(memobj); in map_pool_callback()