Home
last modified time | relevance | path

Searched refs:object (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_pipeline_cache.c45 vk_raw_data_cache_object_serialize(struct vk_pipeline_cache_object *object, in vk_raw_data_cache_object_serialize() argument
49 container_of(object, struct vk_raw_data_cache_object, base); in vk_raw_data_cache_object_serialize()
80 struct vk_pipeline_cache_object *object) in vk_raw_data_cache_object_destroy() argument
83 container_of(object, struct vk_raw_data_cache_object, base); in vk_raw_data_cache_object_destroy()
133 const struct vk_pipeline_cache_object *object = void_object; in object_key_hash() local
134 return _mesa_hash_data(object->key_data, object->key_size); in object_key_hash()
156 struct vk_pipeline_cache_object *object) in vk_pipeline_cache_remove_object() argument
159 _mesa_set_search_pre_hashed(cache->object_cache, hash, object); in vk_pipeline_cache_remove_object()
160 if (entry && entry->key == (const void *)object) { in vk_pipeline_cache_remove_object()
163 vk_pipeline_cache_object_unref(cache->base.device, object); in vk_pipeline_cache_remove_object()
[all …]
Dvk_pipeline_cache.h69 bool (*serialize)(struct vk_pipeline_cache_object *object,
90 struct vk_pipeline_cache_object *object);
120 struct vk_pipeline_cache_object *object, in vk_pipeline_cache_object_init() argument
124 memset(object, 0, sizeof(*object)); in vk_pipeline_cache_object_init()
125 object->ops = ops; in vk_pipeline_cache_object_init()
126 p_atomic_set(&object->ref_cnt, 1); in vk_pipeline_cache_object_init()
127 object->data_size = 0; /* Unknown */ in vk_pipeline_cache_object_init()
128 object->key_data = key_data; in vk_pipeline_cache_object_init()
129 object->key_size = key_size; in vk_pipeline_cache_object_init()
133 vk_pipeline_cache_object_finish(struct vk_pipeline_cache_object *object) in vk_pipeline_cache_object_finish() argument
[all …]
Dvk_log.c298 struct vk_object_base *object = (struct vk_object_base *)_obj; in __vk_errorv() local
299 struct vk_instance *instance = vk_object_to_instance(object); in __vk_errorv()
300 object = vk_object_for_error(object, error); in __vk_errorv()
307 if (object && !object->client_visible) in __vk_errorv()
308 object = NULL; in __vk_errorv()
315 if (object) { in __vk_errorv()
318 VK_LOG_OBJS(object), file, line, in __vk_errorv()
329 if (object) { in __vk_errorv()
332 VK_LOG_OBJS(object), file, line, in __vk_errorv()
Dvk_debug_report.c133 uint64_t object, in vk_common_DebugReportMessageEXT() argument
141 object, location, messageCode, pLayerPrefix, pMessage); in vk_common_DebugReportMessageEXT()
147 const struct vk_object_base *object, in vk_debug_report() argument
154 object ? object->type : VK_OBJECT_TYPE_UNKNOWN; in vk_debug_report()
156 (uint64_t)(uintptr_t)object, location, messageCode, in vk_debug_report()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_object_refresh/
Dcapabilities.adoc5 [[capabilities-object-refresh]]
10 To query the set of object types that require periodic refreshing, call:
15 of refreshable object types.
17 the number of refreshable object types available or queried, as
21 object types.
24 object types supported for the given pname:physicalDevice is returned in
28 array, and on return the variable is overwritten with the number of object
31 refreshable object types supported, at most
32 pname:pRefreshableObjectTypeCount object types will be written, and
34 indicate that not all the available object types were returned.
Dcopies.adoc10 For a Vulkan object explicitly backed by device memory, such as a
19 object data in non-SEU-safe memory, and Base Vulkan provides no method to
20 determine which object types this applies to or how to refresh their data.
21 An application can: query the list of object types that have implementation
22 internal object data stored in non-SEU-safe memory using
38 The access scope for object refreshes falls under the
46 If an implementation does not store a supplied object's internal data in
47 SEU-susceptible memory, it may: ignore the refresh command for that object.
69 [open,refpage='VkRefreshObjectKHR',desc='Structure specifying an object to refresh',type='structs']
76 object to refresh.
[all …]
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DTransferValue.h69 void put(Type object) const;
95 std::optional<ReturnType> object; in take() local
96 std::swap(object, mReturnValue); in take()
97 return std::move(object).value(); in take()
101 void TransferValue<Type>::put(Type object) const { in put() argument
106 mObject.emplace(std::move(object)); in put()
117 std::optional<Type> object; in take() local
118 std::swap(object, mObject); in take()
119 return std::move(object).value(); in take()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
DVK_EXT_debug_marker.adoc14 The <<debugging-object-annotation,Object Annotation>> section describes how
15 to associate a name or binary data with a Vulkan object.
22 [[debugging-object-annotation]]
28 [open,refpage='vkDebugMarkerSetObjectNameEXT',desc='Give a user-friendly name to an object',type='p…
30 An object can be given a user-friendly name by calling:
34 * pname:device is the device that created the object.
36 structure specifying the parameters of the name to set on the object.
41 …ugMarkerObjectNameInfoEXT',desc='Specify parameters of a name to give to an object',type='structs']
51 type of the object to be named.
52 * pname:object is the object to be named.
[all …]
DVK_EXT_debug_report.adoc11 [open,refpage='VkDebugReportCallbackEXT',desc='Opaque handle to a debug report callback object',typ…
19 [open,refpage='vkCreateDebugReportCallbackEXT',desc='Create a debug report callback object',type='p…
36 in which the created object is returned.
60 sname:VkDebugReportCallbackEXT object's flags.
126 the type of object being used or created at the time the event was
128 * pname:object is the object where the issue was detected.
130 pname:object is undefined:.
152 pname:object must: be a Vulkan object or dlink:VK_NULL_HANDLE.
154 pname:object is not dlink:VK_NULL_HANDLE, pname:object must: be a Vulkan
155 object of the corresponding type associated with pname:objectType as defined
[all …]
DVK_EXT_private_data.adoc13 each child object of the device.
25 [open,refpage='VkPrivateDataSlot',desc='Opaque handle to a private data slot object',type='handles'…
53 object(s) holding the private data slot.
126 object(s) holding the private data slot.
146 [open,refpage='vkSetPrivateData',desc='Associate data with a Vulkan object',type='protos',alias='vk…
148 To store user defined data in a slot associated with a Vulkan object, call:
160 * pname:device is the device that created the object.
161 * pname:objectType is a elink:VkObjectType specifying the type of object
163 * pname:objectHandle is a handle to the object to associate data with.
166 * pname:data is user defined data to associate the object with.
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_KHR_win32_surface.adoc34 It provides a mechanism to create a slink:VkSurfaceKHR object (defined by
53 2) If a native window object (code:HWND) is used by one graphics API, and
59 Uses of a window object by multiple graphics APIs results in undefined:
66 window object can prevent flink:vkCreateSwapchainKHR from succeeding on
67 the same window object.
68 * Creating then destroying a slink:VkSwapchainKHR on a window object can
70 object.
71 * Creating then destroying a slink:VkSwapchainKHR on a window object can
74 * Creating then destroying a slink:VkSwapchainKHR on a window object on
76 succeeding on the same window object, but on a different
[all …]
DVK_EXT_private_data.adoc49 on an object, how does this extension help me? Will I not need to store the
50 slink:VkPrivateDataSlot mapping with each object, and if I am doing that, I
54 index into storage that is reserved in each object.
55 That is, you can use the same slink:VkPrivateDataSlot with each object for a
57 For example, if a layer wishes to track per-object information, the layer
64 (2) What if I need to store more than 64-bits of information per object?
66 **RESOLVED:** The data that you store per object could be a pointer to
67 another object or structure of your own allocation.
DVK_KHR_object_refresh.adoc29 Image and buffer objects can be bound to SEU-safe memory, and many object
31 regenerating the object's data.
32 However, implementations may store internal object-specific data in
34 determine which object types this applies to or how to refresh that data.
36 This extension adds a mechanism to query which object types store
44 1) Should this extension refresh object data, or validate whether or not the
51 2) Should object refreshes be done using the host or with command buffers?
68 do not support or require refreshing of any object types will return 0 for
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice.cpp152 CameraPreviewWindow* object = static_cast<CameraPreviewWindow*>(w); in sDequeueBuffer() local
153 if (object->mPreviewCallback == nullptr) { in sDequeueBuffer()
164 object->mPreviewCallback->dequeueBuffer( in sDequeueBuffer()
168 Mutex::Autolock _l(object->mLock); in sDequeueBuffer()
169 if (object->mCirculatingBuffers.count(bufferId) == 0) { in sDequeueBuffer()
177 object->mCirculatingBuffers[bufferId] = importedBuf; in sDequeueBuffer()
178 object->mBufferIdMap[&(object->mCirculatingBuffers[bufferId])] = bufferId; in sDequeueBuffer()
181 *buffer = &(object->mCirculatingBuffers[bufferId]); in sDequeueBuffer()
193 CameraPreviewWindow* object = static_cast<CameraPreviewWindow*>(w); in sEnqueueBuffer() local
194 if (object->mPreviewCallback == nullptr) { in sEnqueueBuffer()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_MVK_macos_surface/
DplatformCreateSurface_macos.adoc8 [open,refpage='vkCreateMacOSSurfaceMVK',desc='Create a VkSurfaceKHR object for a macOS NSView',type…
12 To create a sname:VkSurfaceKHR object for a macOS code:NSView or
30 object.
32 surface object when there is no more specific allocator available (see
35 created surface object is returned.
40 …MVK',desc='Structure specifying parameters of a newly created macOS surface object',type='structs']
50 * pname:pView is a reference to either a basetype:CAMetalLayer object or
51 an code:NSView object.
56 If pname:pView is a basetype:CAMetalLayer object, it must: be a valid
59 If pname:pView is an code:NSView object, it must: be a valid
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_MVK_ios_surface/
DplatformCreateSurface_ios.adoc8 [open,refpage='vkCreateIOSSurfaceMVK',desc='Create a VkSurfaceKHR object for an iOS UIView',type='p…
12 To create a sname:VkSurfaceKHR object for an iOS code:UIView or
30 object.
32 surface object when there is no more specific allocator available (see
35 created surface object is returned.
40 …foMVK',desc='Structure specifying parameters of a newly created iOS surface object',type='structs']
50 * pname:pView is a reference to either a basetype:CAMetalLayer object or a
51 code:UIView object.
56 If pname:pView is a basetype:CAMetalLayer object, it must: be a valid
59 If pname:pView is a code:UIView object, it must: be a valid code:UIView,
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_metal_objects/
Ddevice_memory.adoc18 An slink:VkDeviceMemory object can be allocated on an existing
19 code:MTLBuffer object, by including the code:MTLBuffer object in a
23 A new slink:VkImage object can be created on an existing code:IOSurface
24 object, or one or more existing Metal code:MTLTexture objects, by including
32 the intention to do so during the creation of the Vulkan object, by
38 corresponding Vulkan object creation command.
48 indicating the type of Metal object that the application may request to
49 be exported from the Vulkan object.
54 …tTypeFlagBitsEXT',desc='Bitmask specifying Metal object types that can be exported from a Vulkan o…
57 corresponding Vulkan object are:
[all …]
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DProtectCallback.cpp60 nn::GeneralResult<DeathHandler> DeathHandler::create(sp<hidl::base::V1_0::IBase> object) { in create() argument
61 if (object == nullptr) { in create()
67 const auto ret = object->linkToDeath(deathRecipient, /*cookie=*/0); in create()
73 return DeathHandler(std::move(object), std::move(deathRecipient)); in create()
76 DeathHandler::DeathHandler(sp<hidl::base::V1_0::IBase> object, sp<DeathRecipient> deathRecipient) in DeathHandler() argument
77 : mObject(std::move(object)), mDeathRecipient(std::move(deathRecipient)) { in DeathHandler()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_metal_surface/
DplatformCreateSurface_metal.adoc8 [open,refpage='vkCreateMetalSurfaceEXT',desc='Create a VkSurfaceKHR object for CAMetalLayer',type='…
12 To create a sname:VkSurfaceKHR object for a basetype:CAMetalLayer, call:
19 object.
21 surface object when there is no more specific allocator available (see
24 created surface object is returned.
29 …EXT',desc='Structure specifying parameters of a newly created Metal surface object',type='structs']
39 * pname:pLayer is a reference to a basetype:CAMetalLayer object
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DProtectCallback.cpp93 nn::GeneralResult<DeathHandler> DeathHandler::create(std::shared_ptr<ndk::ICInterface> object) { in create() argument
94 if (object == nullptr) { in create()
112 if (object->isRemote()) { in create()
114 AIBinder_linkToDeath(object->asBinder().get(), deathRecipient.get(), in create()
119 return DeathHandler(std::move(object), std::move(deathRecipient), std::move(deathMonitor)); in create()
122 DeathHandler::DeathHandler(std::shared_ptr<ndk::ICInterface> object, in DeathHandler() argument
125 : kObject(std::move(object)), in DeathHandler()
/hardware/interfaces/neuralnetworks/utils/
DREADME.md4 object if the conversion succeeds. For example, let's say that an enumeration in the current version
61 may result in crashes, and deleting a `RefBase` object through another means (e.g., "delete",
66 a process that references (but did not create) the HIDL interface object dies, HIDL/Binder ensures
70 If the process which created the HIDL interface object dies, any call on this object from another
80 `binder_exception_t`. In case the call is made on a dead object, the call will return
93 function with the appropriate transport error in the `Return<>` object, which can be queried with
102 asynchronous functions are called with a HIDL interface callback object (`IPrepareModelCallback` for
107 but before the results could be returned, HIDL provides an object called a "`hidl_death_recipient`,"
108 which can be used to detect when an interface object (and more generally, the server process) has
111 `IProtectedCallback` callback object that may otherwise not be signaled. In order for this to work,
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_QNX_screen_surface/
DplatformCreateSurface_screen.adoc8 [open,refpage='vkCreateScreenSurfaceQNX',desc='Create a slink:VkSurfaceKHR object for a QNX Screen …
10 To create a sname:VkSurfaceKHR object for a QNX Screen surface, call:
17 object.
19 surface object when there is no more specific allocator available (see
22 created surface object is returned.
27 …desc='Structure specifying parameters of a newly created QNX Screen surface object',type='structs']
/hardware/google/gfxstream/guest/mesa/src/util/
Ddriconf_static.py38 class Option(object):
44 class Application(object):
58 class Engine(object):
68 class Device(object):
82 class DriConf(object):
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_directfb_surface/
DplatformCreateSurface_directfb.adoc8 [open,refpage='vkCreateDirectFBSurfaceEXT',desc='Create a slink:VkSurfaceKHR object for a DirectFB …
12 To create a sname:VkSurfaceKHR object for a DirectFB surface, call:
19 object.
21 surface object when there is no more specific allocator available (see
24 created surface object is returned.
29 …',desc='Structure specifying parameters of a newly created DirectFB surface object',type='structs']
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_FUCHSIA_imagepipe_surface/
DplatformCreateSurface_imagepipe.adoc8 [open,refpage='vkCreateImagePipeSurfaceFUCHSIA',desc='Create a slink:VkSurfaceKHR object for a Fuch…
12 To create a sname:VkSurfaceKHR object for a Fuchsia ImagePipe, call:
19 parameters affecting the creation of the surface object.
21 surface object when there is no more specific allocator available (see
24 created surface object is returned.
29 …,desc='Structure specifying parameters of a newly created ImagePipe surface object',type='structs']

12345678910>>...22