Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 25 of 146) sorted by relevance

123456

/hardware/google/gfxstream/guest/mesa/src/egl/wayland/wayland-drm/
Dwayland-drm.c43 destroy_buffer(struct wl_resource *resource) in destroy_buffer() argument
45 struct wl_drm_buffer *buffer = wl_resource_get_user_data(resource); in destroy_buffer()
53 buffer_destroy(struct wl_client *client, struct wl_resource *resource) in buffer_destroy() argument
55 wl_resource_destroy(resource); in buffer_destroy()
59 create_buffer(struct wl_client *client, struct wl_resource *resource, in create_buffer() argument
65 struct wl_drm *drm = wl_resource_get_user_data(resource); in create_buffer()
70 wl_resource_post_no_memory(resource); in create_buffer()
87 wl_resource_post_error(resource, WL_DRM_ERROR_INVALID_NAME, in create_buffer()
92 buffer->resource = wl_resource_create(client, &wl_buffer_interface, 1, id); in create_buffer()
93 if (!buffer->resource) { in create_buffer()
[all …]
Dwayland-drm.h35 struct wl_resource *resource; member
48 wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource) in wayland_drm_buffer_get() argument
50 if (resource == NULL) in wayland_drm_buffer_get()
53 if (wl_resource_instance_of(resource, &wl_buffer_interface, in wayland_drm_buffer_get()
55 return wl_resource_get_user_data(resource); in wayland_drm_buffer_get()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_external_memory_acquire_unmodified.adoc11 cost of memory barriers that acquire ownership of a resource from an external
17 A memory barrier that acquires ownership of a resource from an external queue
21 An external resource's data may be split between external memory and
23 The resource's _external memory_ is the collection of ranges
24 of link:{refpage}VkDeviceMemory.html[VkDeviceMemory] bound to the resource,
29 access the resource.
30 The resource's _non-external memory_, in this discussion,
32 is associated with the resource
33 and does not reside in any range of slink:VkDeviceMemory bound to the resource.
34 For example, if the external resource is a link:{refpage}VkImage.html[VkImage],
[all …]
DVK_KHR_video_decode_queue.adoc105 …lar video profile. In fact, when specifying any of these usage flags at resource creation time, th…
164resource to use as the decode output picture. The video decode operation writes the picture data r…
173 `pSetupReferenceSlot` is an optional parameter specifying the video picture resource to use as the …
175resource specified by its `pPictureResource` member. Hence this parameter can be used to add new r…
184 …constructed picture have to _coincide_, i.e. both have to refer to the same video picture resource.
210 …tureResource` and `pSetupReferenceSlot` should refer to a video picture resource in (one of) the D…
223 The application has to make sure to specify each video picture resource used as a reference picture…
229 …e used video codec and video profile) there may be multiple pictures in the same DPB slot resource.
282 …re that the DPB slots specified for each reflect the current DPB slot association for the resource.
604 // Bound reference resource list provided has to include reconstructed picture resource
[all …]
/hardware/google/gfxstream/guest/platform/rutabaga/
DRutabagaLayer.cpp272 EmulatedResource* resource = &it->second; in CreateResource() local
273 resource->type = resourceType; in CreateResource()
274 return resource; in CreateResource()
421 EmulatedResource* resource = GetResource(resourceId); in Map() local
422 if (resource == nullptr) { in Map()
428 if (resource->type == EmulatedResourceType::kBlob) { in Map()
429 if (!resource->mappedHostBytes.valid()) { in Map()
436 mapped = resource->mappedHostBytes.get(); in Map()
437 } else if (resource->type == EmulatedResourceType::kPipe) { in Map()
438 mapped = resource->guestBytes.get(); in Map()
[all …]
/hardware/qcom/sm7250/display/sde-drm/
Ddrm_manager.cpp98 drmModeRes *resource = drmModeGetResources(fd_); in Init() local
99 if (resource == NULL) { in Init()
109 conn_mgr_->Init(resource); in Init()
116 encoder_mgr_->Init(resource); in Init()
123 crtc_mgr_->Init(resource); in Init()
134 dpps_mgr_intf_->Init(fd_, resource); in Init()
141 panel_feature_mgr_intf_->Init(fd_, resource); in Init()
143 drmModeFreeResources(resource); in Init()
Ddrm_encoder.cpp60 void DRMEncoderManager::Init(drmModeRes *resource) { in Init() argument
61 for (int i = 0; i < resource->count_encoders; i++) { in Init()
63 drmModeEncoder *libdrm_encoder = drmModeGetEncoder(fd_, resource->encoders[i]); in Init()
65 DRM_LOGE("Critical error: drmModeGetEncoder() failed for encoder %d.", resource->encoders[i]); in Init()
69 encoder_pool_[resource->encoders[i]] = std::move(encoder); in Init()
Ddrm_connector.cpp246 void DRMConnectorManager::Init(drmModeRes *resource) { in Init() argument
248 for (int i = 0; i < resource->count_connectors; i++) { in Init()
250 drmModeConnector *libdrm_conn = drmModeGetConnector(fd_, resource->connectors[i]); in Init()
253 connector_pool_[resource->connectors[i]] = std::move(conn); in Init()
256 resource->connectors[i]); in Init()
263 drmModeRes *resource = drmModeGetResources(fd_); in Update() local
265 if (NULL == resource) { in Update()
272 for (int i = 0; i < resource->count_connectors; i++) { in Update()
273 drm_connectors[resource->connectors[i]] = resource->connectors[i]; in Update()
312 drmModeFreeResources(resource); in Update()
/hardware/google/gfxstream/guest/android/
DGrallocEmulated.cpp141 uint32_t drmFormat, VirtGpuResourcePtr resource) in EmulatedAHardwareBuffer() argument
142 : mRefCount(1), mWidth(width), mHeight(height), mDrmFormat(drmFormat), mResource(resource) {} in EmulatedAHardwareBuffer()
271 auto resource = in allocate() local
273 if (!resource) { in allocate()
278 resource->wait(); in allocate()
281 new EmulatedAHardwareBuffer(width, height, drmFormat, std::move(resource))); in allocate()
/hardware/google/gfxstream/guest/mesa/include/CL/
Dcl_d3d10.h91 ID3D10Buffer * resource,
97 ID3D10Texture2D * resource,
104 ID3D10Texture3D * resource,
Dcl_d3d11.h91 ID3D11Buffer * resource,
97 ID3D11Texture2D * resource,
104 ID3D11Texture3D * resource,
Dcl_dx9_media_sharing.h50 IDirect3DSurface9 *resource; member
189 IDirect3DSurface9* resource,
197 IDirect3DSurface9* resource,
Dcl_icd.h798 cl_context context, cl_mem_flags flags, ID3D10Buffer *resource,
802 cl_context context, cl_mem_flags flags, ID3D10Texture2D *resource,
806 cl_context context, cl_mem_flags flags, ID3D10Texture3D *resource,
830 ID3D10Buffer *resource, cl_int *errcode_ret);
833 cl_context context, cl_mem_flags flags, ID3D10Texture2D *resource,
837 cl_context context, cl_mem_flags flags, ID3D10Texture3D *resource,
858 cl_context context, cl_mem_flags flags, ID3D11Buffer *resource,
862 cl_context context, cl_mem_flags flags, ID3D11Texture2D *resource,
866 cl_context context, cl_mem_flags flags, ID3D11Texture3D *resource,
918 ID3D11Buffer *resource, cl_int *errcode_ret);
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/
Ddraw_dispatch_nonindirect_common.adoc11 any resource written to by the sname:VkPipeline object bound to the
13 resource
19 this command must: not write to any resource
Dpipeline_create_info_common.adoc32 If a <<interfaces-resources,resource variables>> is declared in a
36 If a <<interfaces-resources,resource variables>> is declared in a
42 If a <<interfaces-resources,resource variables>> is declared in a
48 If a <<interfaces-resources,resource variables>> is declared in a shader
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_NV_dedicated_allocation.adoc19 or image resource, which on some devices can significantly improve the
20 performance of that resource.
28 This extension adds a few small structures to resource creation and memory
DVK_KHR_dedicated_allocation.adoc23 For any particular resource, applications can: query whether a dedicated
25 improve the performance of access to that resource.
145 VkMemoryDedicatedAllocateInfoKHR can only have the specified resource
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_NV_win32_keyed_mutex/
Dkeyed_mutex_submit.adoc8 resource to a queue, the keyed mutex mechanism may: be used in addition to
11 resource.
12 They can: only be used if the imported resource was created with the
/hardware/interfaces/graphics/composer/aidl/vts/
DVtsComposerClient.cpp604 auto resource = mDisplayResources.find(display); in addLayerToDisplayResources() local
605 if (resource == mDisplayResources.end()) { in addLayerToDisplayResources()
606 resource = mDisplayResources.insert({display, DisplayResource(false)}).first; in addLayerToDisplayResources()
609 if (!resource->second.layers.insert(layer).second) { in addLayerToDisplayResources()
617 auto resource = mDisplayResources.find(display); in removeLayerFromDisplayResources() local
618 if (resource != mDisplayResources.end()) { in removeLayerFromDisplayResources()
619 resource->second.layers.erase(layer); in removeLayerFromDisplayResources()
665 const auto& [display, resource] = *it; in destroyAllLayers()
667 while (!resource.layers.empty()) { in destroyAllLayers()
668 auto layer = *resource.layers.begin(); in destroyAllLayers()
[all …]
/hardware/google/gfxstream/host/
DRendererImpl.cpp85 void cleanup(uint64_t processId, std::unique_ptr<ProcessResources> resource) { in cleanup() argument
88 .resource = std::move(resource), in cleanup()
104 std::unique_ptr<ProcessResources> resource; member
549 std::unique_ptr<ProcessResources> resource = in cleanupProcGLObjects() local
551 mCleanupThread->cleanup(puid, std::move(resource)); in cleanupProcGLObjects()
660 [](uint32_t handle, uint32_t info, void* resource) { in __anon979e1a632002() argument
661 return FrameBuffer::getFB()->platformImportResource(handle, info, resource); in __anon979e1a632002()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dsparsemem.adoc11 This binding must: be done before the resource is used, and the binding is
12 immutable for the lifetime of the resource.
20 the lifetime of the resource.
27 However, the sparse resource features, properties, resource creation flags,
30 All sparse resource <<sparsememory-physicalfeatures,physical device
76 resource creation time.
86 ** The entire resource must: be bound to memory before use regardless of
111 ** Consistency of access to unbound regions of the resource is defined by
115 resource are well defined and behave as if the data bound is populated
166 resource:
[all …]
Dvideo_decode_extensions.adoc41 resource>> accessed by the video coding operation is specified using a
125 <<bound-reference-picture-resources,bound reference picture resource>>.
159 indicates support for using the same video picture resource as the
235 <<video-picture-resources,video picture resource>> used as the reference
254 <<video-picture-resources,video picture resource>> used as the
273 <<video-picture-resources,video picture resource>> used as the decode
429 <<video-picture-resource-matching,match>>
438 <<video-picture-resource-matching,match>>
479 <<video-picture-resource-matching,match>> one of the
480 <<bound-reference-picture-resources,bound reference picture resource>>
[all …]
/hardware/interfaces/radio/1.4/
Dtypes.hal78 * emergency uniform resource names, mobile country code (mcc), mobile network country (mnc) and
87 * emergency uniform resource names (URN), field 'urns' must be provided, otherwise field 'urns'
848 * Transmission failure of radio resource control (RRC) uplink data.
852 * Radio resource control (RRC) uplink data delivery failed due to a handover.
856 * Radio resource control (RRC) uplink data delivery failed due to a connection release.
860 * Radio resource control (RRC) uplink data delivery failed due to a radio link failure.
864 * Radio resource control (RRC) is not connected but the non-access stratum (NAS) sends an
869 * Radio resource control (RRC) connection failure at access stratum.
873 * Radio resource control (RRC) connection establishment is aborted due to another procedure.
877 * Radio resource control (RRC) connection establishment failed due to access barrred.
[all …]
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DPreparedModel.cpp131 sp<V1_0::IPreparedModel> resource = kPreparedModel; in getUnderlyingResource() local
132 return resource; in getUnderlyingResource()
/hardware/interfaces/camera/common/1.0/
Dtypes.hal262 * Structure defining the abstract resource cost of opening a camera device,
269 * The total resource "cost" of using this camera, represented as an integer
271 * shared resource that is the limiting bottleneck of the camera subsystem.
279 * the resource costs of these cameras is <= 100. For determining cost,
281 * the maximally resource-consuming framerate and stream size settings
286 * of camera devices with a total resource cost > 100. This may succeed or
288 * supported due to resource constraints from having multiple open devices
289 * must fail during the configure calls. If the total resource cost is <=
315 * Since the sum of the resource costs is > 100, if a higher-priority

123456