/external/skqp/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.cpp | 94 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/ |
D | GrD3DOpsRenderPass.cpp | 34 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 …]
|
D | GrD3DPipelineStateBuilder.h | 68 GrD3DRenderTarget* fRenderTarget; variable
|
D | GrD3DPipelineStateBuilder.cpp | 58 , fRenderTarget(renderTarget) {} in GrD3DPipelineStateBuilder() 670 const GrD3DRenderTarget* rt = static_cast<const GrD3DRenderTarget*>(fRenderTarget); in finalize()
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpuCommandBuffer.cpp | 16 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()
|
D | GrGLGpuCommandBuffer.h | 67 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/ |
D | GrDawnOpsRenderPass.cpp | 57 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/ |
D | GrGpuCommandBuffer.h | 127 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
|
D | GrRenderTarget.cpp | 76 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()
|
D | GrRenderTargetPriv.h | 25 return fRenderTarget->fStencilAttachment.get(); in getStencilAttachment() 38 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv() 46 GrRenderTarget* fRenderTarget; variable
|
D | GrGpuCommandBuffer.cpp | 20 SkASSERT(fRenderTarget); in clear()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpuCommandBuffer.mm | 36 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/ |
D | GrOpsRenderPass.h | 142 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
|
D | GrOpsRenderPass.cpp | 40 SkASSERT(fRenderTarget); in clear() 218 this->gpu()->xferBarrier(fRenderTarget, fXferBarrierType); in prepareToDraw()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlOpsRenderPass.mm | 45 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/ |
D | GrGLOpsRenderPass.cpp | 24 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()
|
D | GrGLOpsRenderPass.h | 37 fRenderTarget = nullptr; in reset()
|
/external/skia/tools/gpu/ |
D | BackendSurfaceFactory.cpp | 75 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/ |
D | GrVkOpsRenderPass.cpp | 206 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/ |
D | GrMockOpsRenderPass.h | 60 if (auto* tex = fRenderTarget->asTexture()) { in markRenderTargetDirty()
|