Home
last modified time | relevance | path

Searched refs:fRenderTarget (Results 1 – 20 of 20) sorted by relevance

/external/skqp/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp94 GrVkRenderTarget* vkRT = static_cast<GrVkRenderTarget*>(fRenderTarget); in init()
135 GrVkRenderTarget* vkRT = static_cast<GrVkRenderTarget*>(fRenderTarget); in initWrapped()
159 if (!fRenderTarget) { in submit()
163 GrVkRenderTarget* vkRT = static_cast<GrVkRenderTarget*>(fRenderTarget); in submit()
165 GrStencilAttachment* stencil = fRenderTarget->renderTargetPriv().getStencilAttachment(); in submit()
177 fGpu->copySurface(fRenderTarget, fOrigin, copyInfo.fSrc, copyInfo.fSrcOrigin, in submit()
219 SkIntToScalar(fRenderTarget->width()), in submit()
220 SkIntToScalar(fRenderTarget->height()))) { in submit()
271 SkASSERT(!fRenderTarget); in set()
308 fRenderTarget = nullptr; in reset()
[all …]
/external/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.cpp34 SkASSERT(!fRenderTarget); in set()
54 GrD3DRenderTarget* d3dRT = static_cast<GrD3DRenderTarget*>(fRenderTarget); in onBegin()
178 GrD3DRenderTarget* d3dRT = static_cast<GrD3DRenderTarget*>(fRenderTarget); in onBindPipeline()
190 fGpu->currentCommandList()->setCenteredSamplePositions(fRenderTarget->numSamples()); in onBindPipeline()
193 fCurrentPipelineState->setAndBindConstants(fGpu, fRenderTarget, info); in onBindPipeline()
200 set_scissor_rects(fGpu, fRenderTarget, fOrigin, fCurrentPipelineBounds); in onBindPipeline()
202 set_viewport(fGpu, fRenderTarget); in onBindPipeline()
213 set_scissor_rects(fGpu, fRenderTarget, fOrigin, combinedScissorRect); in onSetScissorRect()
230 update_resource_state(geomProcTextures[i]->peekTexture(), fRenderTarget, fGpu); in onBindTextures()
234 update_resource_state(te.texture(), fRenderTarget, fGpu); in onBindTextures()
[all …]
DGrD3DPipelineStateBuilder.h68 GrD3DRenderTarget* fRenderTarget; variable
DGrD3DPipelineStateBuilder.cpp58 , fRenderTarget(renderTarget) {} in GrD3DPipelineStateBuilder()
670 const GrD3DRenderTarget* rt = static_cast<const GrD3DRenderTarget*>(fRenderTarget); in finalize()
/external/skqp/src/gpu/gl/
DGrGLGpuCommandBuffer.cpp16 fRenderTarget, fOrigin); in begin()
19 GrStencilAttachment* sb = fRenderTarget->renderTargetPriv().getStencilAttachment(); in begin()
20 if (sb && (sb->isDirty() || fRenderTarget->alwaysClearStencil())) { in begin()
21 fGpu->clearStencil(fRenderTarget, 0x0); in begin()
30 SkASSERT(!fRenderTarget); in set()
DGrGLGpuCommandBuffer.h67 fGpu->copySurface(fRenderTarget, fOrigin, src, srcOrigin, srcRect, dstPoint); in copy()
75 fRenderTarget = nullptr; in reset()
88 fGpu->draw(fRenderTarget, fOrigin, primProc, pipeline, fixedDynamicState, in onDraw()
93 fGpu->clear(clip, color, fRenderTarget, fOrigin); in onClear()
97 fGpu->clearStencilClip(clip, insideStencilMask, fRenderTarget, fOrigin); in onClearStencilClip()
/external/skia/src/gpu/dawn/
DGrDawnOpsRenderPass.cpp57 if (GrTexture* tex = fRenderTarget->asTexture()) { in beginRenderPass()
60 auto stencilAttachment = static_cast<GrDawnAttachment*>(fRenderTarget->getStencilAttachment()); in beginRenderPass()
65 colorAttachment.attachment = static_cast<GrDawnRenderTarget*>(fRenderTarget)->textureView(); in beginRenderPass()
123 auto bindGroup = program->setUniformData(fGpu, fRenderTarget, programInfo); in applyState()
136 SkIRect rect = SkIRect::MakeWH(fRenderTarget->width(), fRenderTarget->height()); in applyState()
147 fCurrentProgram = fGpu->getOrCreateRenderPipeline(fRenderTarget, programInfo); in onBindPipeline()
158 SkASSERT(SkIRect::MakeSize(fRenderTarget->dimensions()).contains(scissor)); in onSetScissorRect()
160 GrNativeRect::MakeRelativeTo(fOrigin, fRenderTarget->height(), scissor); in onSetScissorRect()
/external/skqp/src/gpu/
DGrGpuCommandBuffer.h127 GrGpuRTCommandBuffer() : fOrigin(kTopLeft_GrSurfaceOrigin), fRenderTarget(nullptr) {} in GrGpuRTCommandBuffer()
131 , fRenderTarget(rt) { in GrGpuRTCommandBuffer()
135 SkASSERT(!fRenderTarget); in set()
137 fRenderTarget = rt; in set()
142 GrRenderTarget* fRenderTarget; variable
DGrRenderTarget.cpp76 if (!stencil && !fRenderTarget->fStencilAttachment) { in attachStencilAttachment()
81 fRenderTarget->fStencilAttachment = std::move(stencil); in attachStencilAttachment()
82 if (!fRenderTarget->completeStencilAttachment()) { in attachStencilAttachment()
83 fRenderTarget->fStencilAttachment = nullptr; in attachStencilAttachment()
DGrRenderTargetPriv.h25 return fRenderTarget->fStencilAttachment.get(); in getStencilAttachment()
38 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv()
46 GrRenderTarget* fRenderTarget; variable
DGrGpuCommandBuffer.cpp20 SkASSERT(fRenderTarget); in clear()
/external/skqp/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm36 fCommandBufferInfo.fBounds = SkRect::MakeWH(fRenderTarget->width(),
37 fRenderTarget->height());
49 fCommandBufferInfo.fBounds = SkRect::MakeWH(fRenderTarget->width(),
50 fRenderTarget->height());
91 if (!fRenderTarget) {
96 fGpu->submitIndirectCommandBuffer(fRenderTarget, fOrigin, &iBounds);
104 fGpu->copySurface(fRenderTarget, fOrigin, src, srcOrigin, srcRect, dstPoint);
122 if (!GrProgramDesc::Build(&desc, fRenderTarget->config(), primProc, hasPoints,
135 GrMtlPipelineStateBuilder::CreatePipelineState(fRenderTarget, fOrigin, primProc,
144 pipelineState->setData(fRenderTarget, fOrigin, primProc, pipeline, primProcProxies);
[all …]
/external/skia/src/gpu/
DGrOpsRenderPass.h142 GrOpsRenderPass() : fOrigin(kTopLeft_GrSurfaceOrigin), fRenderTarget(nullptr) {} in GrOpsRenderPass()
146 , fRenderTarget(rt) { in GrOpsRenderPass()
150 SkASSERT(!fRenderTarget); in set()
152 fRenderTarget = rt; in set()
157 GrRenderTarget* fRenderTarget; variable
DGrOpsRenderPass.cpp40 SkASSERT(fRenderTarget); in clear()
218 this->gpu()->xferBarrier(fRenderTarget, fXferBarrierType); in prepareToDraw()
/external/skia/src/gpu/mtl/
DGrMtlOpsRenderPass.mm45 if (!fRenderTarget) {
50 fGpu->submitIndirectCommandBuffer(fRenderTarget, fOrigin, &iBounds);
75 GrProgramDesc programDesc = caps.makeDesc(fRenderTarget, programInfo,
87 fActivePipelineState->setData(fRenderTarget, programInfo);
108 fRenderTarget, fOrigin,
109 SkIRect::MakeWH(fRenderTarget->width(),
110 fRenderTarget->height()));
121 GrMtlPipelineState::SetDynamicScissorRectState(fActiveRenderCmdEncoder, fRenderTarget,
154 GrAttachment* sb = fRenderTarget->getStencilAttachment();
190 (double) fRenderTarget->width(), (double) fRenderTarget->height(),
[all …]
/external/skia/src/gpu/gl/
DGrGLOpsRenderPass.cpp24 SkASSERT(!fRenderTarget); in set()
35 auto glRT = static_cast<GrGLRenderTarget*>(fRenderTarget); in onBegin()
39 auto nativeBounds = GrNativeRect::MakeRelativeTo(fOrigin, fRenderTarget->height(), in onBegin()
50 auto glRT = static_cast<GrGLRenderTarget*>(fRenderTarget); in onEnd()
57 auto nativeBounds = GrNativeRect::MakeRelativeTo(fOrigin, fRenderTarget->height(), in onEnd()
68 return fGpu->flushGLState(fRenderTarget, fUseMultisampleFBO, programInfo); in onBindPipeline()
72 fGpu->flushScissorRect(scissor, fRenderTarget->height(), fOrigin); in onSetScissorRect()
410 fGpu->clear(scissor, color, fRenderTarget, fUseMultisampleFBO, fOrigin); in onClear()
414 fGpu->clearStencilClip(scissor, insideStencilMask, fRenderTarget, fUseMultisampleFBO, fOrigin); in onClearStencilClip()
DGrGLOpsRenderPass.h37 fRenderTarget = nullptr; in reset()
/external/skia/tools/gpu/
DBackendSurfaceFactory.cpp75 GrBackendRenderTarget fRenderTarget; in MakeBackendRenderTargetSurface() member
85 if (auto gpu = rc->fContext->priv().getGpu(); gpu && rc->fRenderTarget.isValid()) { in MakeBackendRenderTargetSurface()
86 gpu->deleteTestingOnlyBackendRenderTarget(rc->fRenderTarget); in MakeBackendRenderTargetSurface()
/external/skia/src/gpu/vk/
DGrVkOpsRenderPass.cpp206 if (!fGpu->beginRenderPass(fCurrentRenderPass, fFramebuffer, &clearColor, fRenderTarget, in beginRenderPass()
311 if (!fRenderTarget) { in submit()
332 fGpu->endRenderPass(fRenderTarget, fOrigin, fBounds); in submit()
345 SkASSERT(!fRenderTarget); in set()
404 fRenderTarget = nullptr; in reset()
554 GrVkRenderTarget* vkRT = static_cast<GrVkRenderTarget*>(fRenderTarget); in addAdditionalRenderPass()
601 fGpu->endRenderPass(fRenderTarget, fOrigin, fBounds); in inlineUpload()
637 fRenderTarget, programInfo, compatibleRenderPass, fOverridePipelinesForResolveLoad); in onBindPipeline()
846 fGpu->endRenderPass(fRenderTarget, fOrigin, fBounds); in onExecuteDrawable()
/external/skia/src/gpu/mock/
DGrMockOpsRenderPass.h60 if (auto* tex = fRenderTarget->asTexture()) { in markRenderTargetDirty()