Home
last modified time | relevance | path

Searched refs:gr_cp (Results 1 – 21 of 21) sorted by relevance

/external/skia/include/gpu/d3d/
DGrD3DTypes.h48 template <typename T> class gr_cp {
52 constexpr gr_cp() : fObject(nullptr) {} in gr_cp() function
53 constexpr gr_cp(std::nullptr_t) : fObject(nullptr) {} in gr_cp() function
59 gr_cp(const gr_cp<T>& that) : fObject(GrSafeComAddRef(that.get())) {} in gr_cp() function
66 gr_cp(gr_cp<T>&& that) : fObject(that.release()) {} in gr_cp() function
72 explicit gr_cp(T* obj) { in gr_cp() function
79 ~gr_cp() { in ~gr_cp()
89 gr_cp<T>& operator=(const gr_cp<T>& that) {
101 gr_cp<T>& operator=(gr_cp<T>&& that) {
147 template <typename T> inline bool operator==(const gr_cp<T>& a,
[all …]
DGrD3DBackendContext.h28 gr_cp<IDXGIAdapter1> fAdapter;
29 gr_cp<ID3D12Device> fDevice;
30 gr_cp<ID3D12CommandQueue> fQueue;
/external/skia/tools/gpu/d3d/
DD3DTestUtils.cpp42 gr_cp<ID3D12Debug> debugController; in CreateD3DBackendContext()
50 gr_cp<IDXGIFactory4> factory; in CreateD3DBackendContext()
55 gr_cp<IDXGIAdapter1> hardwareAdapter; in CreateD3DBackendContext()
58 gr_cp<ID3D12Device> device; in CreateD3DBackendContext()
66 gr_cp<ID3D12CommandQueue> queue; in CreateD3DBackendContext()
/external/skia/src/gpu/d3d/
DGrD3DCommandList.h113 GrD3DCommandList(gr_cp<ID3D12CommandAllocator> allocator,
114 gr_cp<ID3D12GraphicsCommandList> commandList);
136 gr_cp<ID3D12GraphicsCommandList> fCommandList;
150 gr_cp<ID3D12CommandAllocator> fAllocator;
216 GrD3DDirectCommandList(gr_cp<ID3D12CommandAllocator> allocator,
217 gr_cp<ID3D12GraphicsCommandList> commandList);
244 GrD3DCopyCommandList(gr_cp<ID3D12CommandAllocator> allocator,
245 gr_cp<ID3D12GraphicsCommandList> commandList);
DGrD3DAMDMemoryAllocator.cpp27 gr_cp<ID3D12Resource> GrD3DAMDMemoryAllocator::createResource( in createResource()
37 gr_cp<ID3D12Resource> resource; in createResource()
50 gr_cp<ID3D12Resource> GrD3DAMDMemoryAllocator::createAliasingResource( in createAliasingResource()
55 gr_cp<ID3D12Resource> resource; in createAliasingResource()
DGrD3DPipeline.h16 static sk_sp<GrD3DPipeline> Make(gr_cp<ID3D12PipelineState> pipelineState) { in Make()
34 GrD3DPipeline(gr_cp<ID3D12PipelineState> pipelineState) in GrD3DPipeline()
38 gr_cp<ID3D12PipelineState> fPipelineState;
DGrD3DPipelineStateBuilder.cpp80 static gr_cp<ID3DBlob> GrCompileHLSLShader(GrD3DGpu* gpu, in GrCompileHLSLShader()
107 gr_cp<ID3DBlob> shader; in GrCompileHLSLShader()
108 gr_cp<ID3DBlob> errors; in GrCompileHLSLShader()
118 bool GrD3DPipelineStateBuilder::loadHLSLFromCache(SkReadBuffer* reader, gr_cp<ID3DBlob> shaders[]) { in loadHLSLFromCache()
141 gr_cp<ID3DBlob> GrD3DPipelineStateBuilder::compileD3DProgram( in compileD3DProgram()
159 return gr_cp<ID3DBlob>(); in compileD3DProgram()
500 gr_cp<ID3D12PipelineState> create_pipeline_state( in create_pipeline_state()
502 gr_cp<ID3DBlob> vertexShader, gr_cp<ID3DBlob> geometryShader, gr_cp<ID3DBlob> pixelShader, in create_pipeline_state()
555 gr_cp<ID3D12PipelineState> pipelineState; in create_pipeline_state()
605 gr_cp<ID3DBlob> shaders[kGrShaderTypeCount]; in finalize()
[all …]
DGrD3DCommandList.cpp21 GrD3DCommandList::GrD3DCommandList(gr_cp<ID3D12CommandAllocator> allocator, in GrD3DCommandList()
22 gr_cp<ID3D12GraphicsCommandList> commandList) in GrD3DCommandList()
271 gr_cp<ID3D12CommandAllocator> allocator; in Make()
275 gr_cp<ID3D12GraphicsCommandList> commandList; in Make()
284 GrD3DDirectCommandList::GrD3DDirectCommandList(gr_cp<ID3D12CommandAllocator> allocator, in GrD3DDirectCommandList()
285 gr_cp<ID3D12GraphicsCommandList> commandList) in GrD3DDirectCommandList()
346 gr_cp<ID3D12GraphicsCommandList1> commandList1; in setCenteredSamplePositions()
356 gr_cp<ID3D12GraphicsCommandList1> commandList1; in setDefaultSamplePositions()
531 gr_cp<ID3D12GraphicsCommandList1> commandList1; in resolveSubresourceRegion()
614 gr_cp<ID3D12CommandAllocator> allocator; in Make()
[all …]
DGrD3DRootSignature.cpp93 gr_cp<ID3DBlob> rootSigBinary; in Make()
94 gr_cp<ID3DBlob> error; in Make()
105 gr_cp<ID3D12RootSignature> rootSig; in Make()
119 GrD3DRootSignature::GrD3DRootSignature(gr_cp<ID3D12RootSignature> rootSig, int numTextureSamplers, in GrD3DRootSignature()
DGrD3DRootSignature.h43 GrD3DRootSignature(gr_cp<ID3D12RootSignature> rootSig, int numTextureSamplers, int numUAVs);
49 gr_cp<ID3D12RootSignature> fRootSignature;
DGrD3DBuffer.cpp19 static gr_cp<ID3D12Resource> make_d3d_buffer(GrD3DGpu* gpu, in make_d3d_buffer()
58 gr_cp<ID3D12Resource> resource = gpu->memoryAllocator()->createResource( in make_d3d_buffer()
70 gr_cp<ID3D12Resource> resource = make_d3d_buffer(gpu, size, intendedType, accessPattern, in Make()
82 GrAccessPattern accessPattern, gr_cp<ID3D12Resource> bufferResource, in GrD3DBuffer()
DGrD3DCommandSignature.h40 GrD3DCommandSignature(gr_cp<ID3D12CommandSignature> commandSignature, ForIndexed indexed, in GrD3DCommandSignature()
50 gr_cp<ID3D12CommandSignature> fCommandSignature;
DGrD3DAMDMemoryAllocator.h29 gr_cp<ID3D12Resource> createResource(D3D12_HEAP_TYPE, const D3D12_RESOURCE_DESC*,
34 gr_cp<ID3D12Resource> createAliasingResource(sk_sp<GrD3DAlloc>& allocation,
DGrD3DBuffer.h32 GrD3DBuffer(GrD3DGpu*, size_t size, GrGpuBufferType, GrAccessPattern, gr_cp<ID3D12Resource>,
55 gr_cp<ID3D12Resource> fD3DResource;
DGrD3DDescriptorHeap.cpp24 new GrD3DDescriptorHeap(std::move(gr_cp<ID3D12DescriptorHeap>(heap)), in Make()
28 GrD3DDescriptorHeap::GrD3DDescriptorHeap(const gr_cp<ID3D12DescriptorHeap>& heap, in GrD3DDescriptorHeap()
DGrD3DPipelineStateBuilder.h53 bool loadHLSLFromCache(SkReadBuffer* reader, gr_cp<ID3DBlob> shaders[]);
55 gr_cp<ID3DBlob> compileD3DProgram(SkSL::ProgramKind kind,
DGrD3DDescriptorHeap.h59 GrD3DDescriptorHeap(const gr_cp<ID3D12DescriptorHeap>&, unsigned int handleIncrementSize);
70 gr_cp<ID3D12DescriptorHeap> fHeap;
DGrD3DTextureResource.h92 Resource(const gr_cp<ID3D12Resource>& textureResource, in Resource()
109 mutable gr_cp<ID3D12Resource> fResource;
DGrD3DGpu.h271 gr_cp<ID3D12Device> fDevice;
272 gr_cp<ID3D12CommandQueue> fQueue;
280 gr_cp<ID3D12Fence> fFence;
DGrD3DCommandSignature.cpp27 gr_cp<ID3D12CommandSignature> commandSig; in Make()
/external/skia/tools/sk_app/win/
DD3D12WindowContext_win.cpp55 gr_cp<ID3D12Device> fDevice;
56 gr_cp<ID3D12CommandQueue> fQueue;
57 gr_cp<IDXGISwapChain3> fSwapChain;
58 gr_cp<ID3D12Resource> fBuffers[kNumFrames];
64 gr_cp<ID3D12Fence> fFence;
97 gr_cp<IDXGIFactory4> factory; in initializeContext()
109 gr_cp<IDXGISwapChain1> swapChain; in initializeContext()