Home
last modified time | relevance | path

Searched refs:pipelineState (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm112 GrMtlPipelineState* pipelineState =
118 if (!pipelineState) {
121 pipelineState->setData(fRenderTarget, fOrigin, primProc, pipeline, primProcProxies);
123 return pipelineState;
142 GrMtlPipelineState* pipelineState = this->prepareDrawState(primProc, pipeline,
144 if (!pipelineState) {
155 [fActiveRenderCmdEncoder setRenderPipelineState:pipelineState->mtlPipelineState()];
156 pipelineState->bind(fActiveRenderCmdEncoder);
157 pipelineState->setBlendConstants(fActiveRenderCmdEncoder, fRenderTarget->config(),
159 pipelineState->setDepthStencilState(fActiveRenderCmdEncoder);
[all …]
DGrMtlResourceProvider.mm56 Entry(GrMtlGpu* gpu, GrMtlPipelineState* pipelineState)
58 , fPipelineState(pipelineState) {}
118 GrMtlPipelineState* pipelineState(GrMtlPipelineStateBuilder::CreatePipelineState(
120 if (nullptr == pipelineState) {
123 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(fGpu, pipelineState)));
DGrMtlCopyPipelineState.mm26 id<MTLRenderPipelineState> pipelineState =
35 SkASSERT(pipelineState);
36 return new GrMtlCopyPipelineState(pipelineState, dstPixelFormat);
DGrMtlCopyPipelineState.h26 GrMtlCopyPipelineState(id<MTLRenderPipelineState> pipelineState, in GrMtlCopyPipelineState() argument
28 : fPipelineState(pipelineState) in GrMtlCopyPipelineState()
DGrMtlCopyManager.mm224 bool GrMtlCopyManager::IsCompatible(const GrMtlCopyPipelineState* pipelineState,
226 return pipelineState->fPixelFormat == dstPixelFormat;
DGrMtlPipelineState.h36 id<MTLRenderPipelineState> pipelineState,
DGrMtlPipelineState.mm36 id<MTLRenderPipelineState> pipelineState,
48 , fPipelineState(pipelineState)
DGrMtlPipelineStateBuilder.mm374 id<MTLRenderPipelineState> pipelineState =
387 pipelineState,
/external/skia/src/gpu/vk/
DGrVkPipelineStateCache.cpp26 Entry(GrVkGpu* gpu, GrVkPipelineState* pipelineState) in Entry()
28 , fPipelineState(pipelineState) {} in Entry()
114 GrVkPipelineState* pipelineState(GrVkPipelineStateBuilder::CreatePipelineState( in refPipelineState() local
117 if (nullptr == pipelineState) { in refPipelineState()
120 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(fGpu, pipelineState))); in refPipelineState()
DGrVkGpuCommandBuffer.cpp649 GrVkPipelineState* pipelineState = in prepareDrawState() local
656 if (!pipelineState) { in prepareDrawState()
657 return pipelineState; in prepareDrawState()
661 fLastPipelineState && fLastPipelineState != pipelineState && in prepareDrawState()
665 fLastPipelineState = pipelineState; in prepareDrawState()
667 pipelineState->bindPipeline(fGpu, cbInfo.currentCmdBuf()); in prepareDrawState()
669 pipelineState->setAndBindUniforms(fGpu, fRenderTarget, fOrigin, in prepareDrawState()
675 pipelineState->setAndBindTextures(fGpu, primProc, pipeline, primProcProxies, in prepareDrawState()
695 return pipelineState; in prepareDrawState()
755 GrVkPipelineState* pipelineState = this->prepareDrawState(primProc, pipeline, fixedDynamicState, in onDraw() local
[all …]
DGrVkCommandBuffer.cpp244 GrVkPipelineState* pipelineState, in bindDescriptorSets() argument
/external/skqp/src/gpu/vk/
DGrVkPipelineStateCache.cpp26 Entry(GrVkGpu* gpu, GrVkPipelineState* pipelineState) in Entry()
28 , fPipelineState(pipelineState) {} in Entry()
114 GrVkPipelineState* pipelineState(GrVkPipelineStateBuilder::CreatePipelineState( in refPipelineState() local
117 if (nullptr == pipelineState) { in refPipelineState()
120 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(fGpu, pipelineState))); in refPipelineState()
DGrVkGpuCommandBuffer.cpp655 GrVkPipelineState* pipelineState = in prepareDrawState() local
662 if (!pipelineState) { in prepareDrawState()
663 return pipelineState; in prepareDrawState()
667 fLastPipelineState && fLastPipelineState != pipelineState && in prepareDrawState()
671 fLastPipelineState = pipelineState; in prepareDrawState()
673 pipelineState->bindPipeline(fGpu, cbInfo.currentCmdBuf()); in prepareDrawState()
675 pipelineState->setAndBindUniforms(fGpu, fRenderTarget, fOrigin, in prepareDrawState()
681 pipelineState->setAndBindTextures(fGpu, primProc, pipeline, primProcProxies, in prepareDrawState()
701 return pipelineState; in prepareDrawState()
761 GrVkPipelineState* pipelineState = this->prepareDrawState(primProc, pipeline, fixedDynamicState, in onDraw() local
[all …]
DGrVkCommandBuffer.cpp241 GrVkPipelineState* pipelineState, in bindDescriptorSets() argument
/external/skqp/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm134 GrMtlPipelineState* pipelineState =
138 if (!pipelineState) {
144 pipelineState->setData(fRenderTarget, fOrigin, primProc, pipeline, primProcProxies);
146 return pipelineState;
163 std::unique_ptr<GrMtlPipelineState> pipelineState(
165 if (!pipelineState) {
170 [fActiveRenderCmdEncoder setRenderPipelineState: pipelineState->mtlPipelineState()];
172 pipelineState->bind(fActiveRenderCmdEncoder);
173 pipelineState->setBlendConstants(fActiveRenderCmdEncoder, fRenderTarget->config(),
175 pipelineState->setDepthStencilState(fActiveRenderCmdEncoder);
DGrMtlCopyPipelineState.mm26 id<MTLRenderPipelineState> pipelineState =
35 SkASSERT(pipelineState);
36 return new GrMtlCopyPipelineState(pipelineState, dstPixelFormat);
DGrMtlCopyPipelineState.h26 GrMtlCopyPipelineState(id<MTLRenderPipelineState> pipelineState, in GrMtlCopyPipelineState() argument
28 : fPipelineState(pipelineState) in GrMtlCopyPipelineState()
DGrMtlCopyManager.mm224 bool GrMtlCopyManager::IsCompatible(const GrMtlCopyPipelineState* pipelineState,
226 return pipelineState->fPixelFormat == dstPixelFormat;
DGrMtlPipelineState.h36 id<MTLRenderPipelineState> pipelineState,
DGrMtlPipelineState.mm36 id<MTLRenderPipelineState> pipelineState,
48 , fPipelineState(pipelineState)
DGrMtlPipelineStateBuilder.mm354 id<MTLRenderPipelineState> pipelineState =
363 pipelineState,
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp639 VkGraphicsPipelineCreateInfo pipelineState; in generateWork() local
828 deMemset(&pipelineState, 0xcd, sizeof(pipelineState)); in generateWork()
829 pipelineState.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; in generateWork()
830 pipelineState.pNext = DE_NULL; in generateWork()
831 pipelineState.flags = 0; in generateWork()
832 pipelineState.stageCount = DE_LENGTH_OF_ARRAY(shaderStageParams); in generateWork()
833 pipelineState.pStages = &shaderStageParams[0]; in generateWork()
834 pipelineState.pVertexInputState = &vertexInputState; in generateWork()
835 pipelineState.pInputAssemblyState = &inputAssemblyState; in generateWork()
836 pipelineState.pTessellationState = DE_NULL; in generateWork()
[all …]