Home
last modified time | relevance | path

Searched refs:pResource (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DResource.cpp249 Resource *pResource = CastResource(hResource); in CreateResource() local
251 memset(pResource, 0, sizeof *pResource); in CreateResource()
264 pResource->Format = pCreateResource->Format; in CreateResource()
265 pResource->MipLevels = pCreateResource->MipLevels; in CreateResource()
273 pResource->buffer = templat.target == PIPE_BUFFER; in CreateResource()
307 pResource->resource = screen->resource_create(screen, &templat); in CreateResource()
308 if (!pResource) { in CreateResource()
314 pResource->NumSubResources = pCreateResource->MipLevels * pCreateResource->ArraySize; in CreateResource()
315 pResource->transfers = (struct pipe_transfer **)calloc(pResource->NumSubResources, in CreateResource()
316 sizeof *pResource->transfers); in CreateResource()
[all …]
DState.h177 Resource *pResource = CastResource(hResource); in CastPipeResource() local
178 return pResource ? pResource->resource : NULL; in CastPipeResource()
185 Resource *pResource = CastResource(hResource); in CastPipeResource() local
186 return pResource ? pResource->resource : NULL; in CastPipeResource()
193 Resource *pResource = CastResource(hResource); in CastPipeBuffer() local
194 if (!pResource) { in CastPipeBuffer()
197 return static_cast<struct pipe_resource *>(pResource->resource); in CastPipeBuffer()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_video_array_of_textures_dpb_manager.cpp93 create_reconstructed_picture_allocations(reusableRes.pResource.GetAddressOf()); in d3d12_array_of_textures_dpb_manager()
201 if (trackedItem.pReconstructedPicture == reusableRes.pResource.Get() && !reusableRes.isFree) { in is_tracked_allocation()
214 if (trackedItem.pReconstructedPicture == reusableRes.pResource.Get()) { in untrack_reconstructed_picture_allocation()
238 freshAllocation.pReconstructedPicture = reusableRes.pResource.Get(); in get_new_tracked_picture_allocation()
253 create_reconstructed_picture_allocations(newPoolEntry.pResource.GetAddressOf()); in get_new_tracked_picture_allocation()
257 freshAllocation.pReconstructedPicture = newPoolEntry.pResource.Get(); in get_new_tracked_picture_allocation()
Dd3d12_util.h50 _In_ ID3D12Resource* pResource,
60 barrier.Transition.pResource = pResource;
78 _In_ ID3D12Resource* pResource) noexcept in UAV()
83 barrier.UAV.pResource = pResource; in UAV()
Dd3d12_video_texture_array_dpb_manager.cpp95 m_ResourcesPool[idxSubres].pResource = m_baseTexArrayResource; in d3d12_texture_array_dpb_manager()
209 if ((trackedItem.pReconstructedPicture == reusableRes.pResource.Get()) && in is_tracked_allocation()
222 if ((trackedItem.pReconstructedPicture == reusableRes.pResource.Get()) && in untrack_reconstructed_picture_allocation()
247 freshAllocation.pReconstructedPicture = reusableRes.pResource.Get(); in get_new_tracked_picture_allocation()
Dd3d12_video_array_of_textures_dpb_manager.h118 ComPtr<ID3D12Resource> pResource; member
Dd3d12_video_texture_array_dpb_manager.h115 ComPtr<ID3D12Resource> pResource; member
Dd3d12_resource_state.cpp333 barrier.Transition.pResource = res; in resolve_global_state()
395 transition_desc.Transition.pResource = res; in append_barrier()
430 uav_barrier.UAV.pResource = res; in append_barrier()
Dd3d12_blit.cpp322 src_loc.pResource = d3d12_resource_resource(src); in copy_subregion_no_barriers()
327 dst_loc.pResource = d3d12_resource_resource(dst); in copy_subregion_no_barriers()
844 src_loc.pResource = d3d12_resource_resource(d3d12_resource(tmp)); in blit_resolve_stencil()
849 dst_loc.pResource = d3d12_resource_resource(dst); in blit_resolve_stencil()
/third_party/mesa3d/src/gallium/frontends/nine/
Dvolume9.c55 struct pipe_resource *pResource, in NineVolume9_ctor() argument
64 This, pContainer, pParams->device, pResource, Level, pDesc); in NineVolume9_ctor()
72 assert(pResource || pDesc->Pool != D3DPOOL_DEFAULT); in NineVolume9_ctor()
78 pipe_resource_reference(&This->resource, pResource); in NineVolume9_ctor()
550 struct pipe_resource *pResource, in NineVolume9_new() argument
556 pContainer, pResource, Level, pDesc); in NineVolume9_new()
Dsurface9.c55 struct pipe_resource *pResource, in NineSurface9_ctor() argument
67 This, pParams->device, pResource, Level, Layer, pDesc); in NineSurface9_ctor()
75 assert(allocate || pResource || user_buffer || in NineSurface9_ctor()
77 assert(!allocate || (!pResource && !user_buffer)); in NineSurface9_ctor()
78 assert(!pResource || !user_buffer); in NineSurface9_ctor()
80 assert(!pResource || pDesc->Pool == D3DPOOL_DEFAULT); in NineSurface9_ctor()
180 hr = NineResource9_ctor(&This->base, pParams, pResource, in NineSurface9_ctor()
877 struct pipe_resource *pResource, in NineSurface9_new() argument
886 pContainer, pResource, user_buffer, in NineSurface9_new()
Dsurface9.h67 struct pipe_resource *pResource,
79 struct pipe_resource *pResource,
Dvolume9.h68 struct pipe_resource *pResource,
/third_party/skia/src/gpu/d3d/
DGrD3DCommandList.cpp117 newBarrier.UAV.pResource = uavResource; in uavBarrier()
172 src.pResource = srcBuffer; in copyBufferToTexture()
177 dst.pResource = dstTexture->d3dResource(); in copyBufferToTexture()
231 srcLoc.pResource = srcTexture; in copyTextureToTexture()
236 dstLoc.pResource = dstTexture; in copyTextureToTexture()
DGrD3DTextureResource.cpp22 barrier.pResource = this->d3dResource(); in setResourceState()
DGrD3DGpu.cpp487 dstLocation.pResource = dstResource->d3dResource(); in copySurfaceAsCopyTexture()
492 srcLocation.pResource = srcResource->d3dResource(); in copySurfaceAsCopyTexture()
625 srcLocation.pResource = texResource->d3dResource(); in readOrTransferPixels()
626 SkASSERT(srcLocation.pResource); in readOrTransferPixels()
643 dstLocation.pResource = d3dBuf->d3dResource(); in readOrTransferPixels()
1143 barrier.pResource = uavTexture->d3dResource(); in onRegenerateMipMapLevels()
DGrD3DBuffer.cpp105 barrier.pResource = this->d3dResource(); in setResourceState()
/third_party/skia/third_party/externals/d3d12allocator/src/
DD3D12Sample.cpp313 Dst.pResource = pDestinationResource;
317 Src.pResource = pIntermediate;
874 vbBarrier.Transition.pResource = g_VertexBuffer; in InitD3D()
979 ibBarrier.Transition.pResource = g_IndexBuffer; in InitD3D()
1128 textureBarrier.Transition.pResource = g_Texture; in InitD3D()
1233 presentToRenderTargetBarrier.Transition.pResource = g_RenderTargets[g_FrameIndex]; in Render()
1286 renderTargetToPresentBarrier.Transition.pResource = g_RenderTargets[g_FrameIndex]; in Render()
DTests.cpp1033 barriers[i].Transition.pResource = resourcesDefault[i].resource; in TestTransfer()
1189 barrier.Transition.pResource = bufDefault.resource; in TestZeroInitialized()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBufferD3D12.cpp240 barrier->UAV.pResource = GetD3D12Resource(); in TransitionUsageAndGetResourceBarrier()
292 barrier->Transition.pResource = GetD3D12Resource(); in TransitionUsageAndGetResourceBarrier()
DUtilsD3D12.cpp76 copyLocation.pResource = texture->GetD3D12Resource(); in ComputeTextureCopyLocationForTexture()
91 bufferLocation.pResource = bufferResource; in ComputeBufferLocationForCopyTextureRegion()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_dx12.cpp349 srcLocation.pResource = uploadBuffer; in ImGui_ImplDX12_CreateFontsTexture()
358 dstLocation.pResource = pTexture; in ImGui_ImplDX12_CreateFontsTexture()
365 barrier.Transition.pResource = pTexture; in ImGui_ImplDX12_CreateFontsTexture()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_cmd_buffer.c39 assert(barriers[b].Transition.pResource); in dzn_cmd_buffer_exec_transition_barriers()
122 if (!barriers[subres].Transition.pResource) { in dzn_cmd_buffer_queue_transition_barriers()
127 .pResource = res, in dzn_cmd_buffer_queue_transition_barriers()
907 .UAV = { .pResource = NULL }, in dzn_CmdPipelineBarrier2()
922 barriers[0].UAV.pResource = NULL; in dzn_CmdPipelineBarrier2()
940 barrier.UAV.pResource = buf->res; in dzn_CmdPipelineBarrier2()
1158 .pResource = src_res, in dzn_cmd_buffer_clear_rects_with_copy()
1299 .pResource = src_res, in dzn_cmd_buffer_clear_ranges_with_copy()
1801 if (!tmp_loc->pResource) { in dzn_cmd_buffer_copy_img_chunk()
1823 dzn_cmd_buffer_queue_transition_barriers(cmdbuf, tmp_loc->pResource, 0, 1, in dzn_cmd_buffer_copy_img_chunk()
[all …]
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx12/
Dmain.cpp190 barrier.Transition.pResource = g_mainRenderTargetResource[backBufferIdx]; in main()
/third_party/mesa3d/src/microsoft/clc/
Dcompute_test.cpp363 barrier.Transition.pResource = res.Get(); in resource_barrier()

12