Home
last modified time | relevance | path

Searched refs:pResource (Results 1 – 25 of 27) 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()
306 pResource->resource = screen->resource_create(screen, &templat); in CreateResource()
307 if (!pResource) { in CreateResource()
313 pResource->NumSubResources = pCreateResource->MipLevels * pCreateResource->ArraySize; in CreateResource()
314 pResource->transfers = (struct pipe_transfer **)calloc(pResource->NumSubResources, in CreateResource()
315 sizeof *pResource->transfers); in CreateResource()
318 for (UINT SubResource = 0; SubResource < pResource->NumSubResources; ++SubResource) { in CreateResource()
[all …]
DState.h176 Resource *pResource = CastResource(hResource); in CastPipeResource() local
177 return pResource ? pResource->resource : NULL; in CastPipeResource()
184 Resource *pResource = CastResource(hResource); in CastPipeResource() local
185 return pResource ? pResource->resource : NULL; in CastPipeResource()
192 Resource *pResource = CastResource(hResource); in CastPipeBuffer() local
193 if (!pResource) { in CastPipeBuffer()
196 return static_cast<struct pipe_resource *>(pResource->resource); in CastPipeBuffer()
/third_party/mesa3d/src/microsoft/resource_state_manager/
DD3D12ResourceState.h146 …TransitionableResourceState(ID3D12Resource *pResource, UINT TotalSubresources, bool SupportsSimult… in TransitionableResourceState()
150 m_pResource(pResource) in TransitionableResourceState()
229 void TransitionResource(TransitionableResourceState* pResource,
232 void TransitionSubresource(TransitionableResourceState* pResource,
265 …list_for_each_entry_safe(TransitionableResourceState, pResource, &m_TransitionListHead, m_Transiti… in ForEachTransitioningResource()
267 func(*pResource); in ForEachTransitioningResource()
268 list_delinit(&pResource->m_TransitionListEntry); in ForEachTransitioningResource()
DD3D12ResourceState.cpp261 TransitionDesc.Transition.pResource = pTransitioningResource; in ProcessTransitioningResource()
367 void ResourceStateManager::TransitionResource(TransitionableResourceState* pResource, D3D12_RESOURC… in TransitionResource() argument
369 ResourceStateManager::TransitionResource(*pResource, State); in TransitionResource()
373 void ResourceStateManager::TransitionSubresource(TransitionableResourceState* pResource, UINT Subre… in TransitionSubresource() argument
375 ResourceStateManager::TransitionSubresource(*pResource, SubresourceIndex, State); in TransitionSubresource()
387 ID3D12Resource *pResource = CurResource.GetD3D12Resource(); in ApplyAllResourceTransitions() local
390 pResource, in ApplyAllResourceTransitions()
/third_party/mesa3d/src/gallium/frontends/nine/
Dsurface9.h67 struct pipe_resource *pResource,
79 struct pipe_resource *pResource,
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()
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/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_dx12.cpp292 srcLocation.pResource = uploadBuffer; in ImGui_ImplDX12_CreateFontsTexture()
301 dstLocation.pResource = pTexture; in ImGui_ImplDX12_CreateFontsTexture()
308 barrier.Transition.pResource = pTexture; in ImGui_ImplDX12_CreateFontsTexture()
/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/gallium/drivers/d3d12/
Dd3d12_blit.cpp320 src_loc.pResource = d3d12_resource_resource(src); in copy_subregion_no_barriers()
325 dst_loc.pResource = d3d12_resource_resource(dst); in copy_subregion_no_barriers()
842 src_loc.pResource = d3d12_resource_resource(d3d12_resource(tmp)); in blit_resolve_stencil()
847 dst_loc.pResource = d3d12_resource_resource(dst); in blit_resolve_stencil()
Dd3d12_resource.cpp362 tex_loc.pResource = d3d12_resource_resource(res); in fill_texture_location()
384 buf_loc.pResource = d3d12_resource_underlying(staging_res, &offset); in fill_buffer_location()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBufferD3D12.cpp177 barrier->Transition.pResource = mResource.Get(); in TransitionUsageAndGetResourceBarrier()
DCommandBufferD3D12.cpp54 copyLocation.pResource = texture.GetD3D12Resource(); in CreateTextureCopyLocationForTexture()
535 bufferLocation.pResource = buffer->GetD3D12Resource().Get(); in RecordCommands()
582 bufferLocation.pResource = buffer->GetD3D12Resource().Get(); in RecordCommands()
DTextureD3D12.cpp399 barrier->Transition.pResource = mResource.Get(); in TransitionUsageAndGetResourceBarrier()
/third_party/flutter/skia/third_party/externals/imgui/examples/example_win32_directx12/
Dmain.cpp392 barrier.Transition.pResource = g_mainRenderTargetResource[backBufferIdx]; in main()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx12/
Dmain.cpp190 barrier.Transition.pResource = g_mainRenderTargetResource[backBufferIdx]; in main()

12