Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrRenderTarget.cpp78 if (!stencil && !fRenderTarget->fStencilAttachment) { in attachStencilAttachment()
83 fRenderTarget->fStencilAttachment = std::move(stencil); in attachStencilAttachment()
84 if (!fRenderTarget->completeStencilAttachment()) { in attachStencilAttachment()
85 fRenderTarget->fStencilAttachment = nullptr; in attachStencilAttachment()
95 SkASSERT(fRenderTarget->fSampleCnt > 1); in getSamplePatternKey()
96 if (GrSamplePatternDictionary::kInvalidSamplePatternKey == fRenderTarget->fSamplePatternKey) { in getSamplePatternKey()
97 fRenderTarget->fSamplePatternKey = in getSamplePatternKey()
98 fRenderTarget->getGpu()->findOrAssignSamplePatternKey(fRenderTarget, pipeline); in getSamplePatternKey()
101 != fRenderTarget->fSamplePatternKey); in getSamplePatternKey()
104 SkASSERT(fRenderTarget->getGpu()->findOrAssignSamplePatternKey(fRenderTarget, pipeline) in getSamplePatternKey()
[all …]
DGrRenderTargetPriv.h25 return fRenderTarget->fStencilAttachment.get(); in getStencilAttachment()
53 return fRenderTarget->getGpu()->retrieveSampleLocations(samplePatternKey); in getSampleLocations()
57 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv()
65 GrRenderTarget* fRenderTarget; variable
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
DGrGpuCommandBuffer.cpp21 SkASSERT(fRenderTarget); in clear()
/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/vk/
DGrVkGpuCommandBuffer.cpp95 GrVkRenderTarget* vkRT = static_cast<GrVkRenderTarget*>(fRenderTarget); in init()
136 GrVkRenderTarget* vkRT = static_cast<GrVkRenderTarget*>(fRenderTarget); in initWrapped()
160 if (!fRenderTarget) { in submit()
164 GrVkRenderTarget* vkRT = static_cast<GrVkRenderTarget*>(fRenderTarget); in submit()
166 GrStencilAttachment* stencil = fRenderTarget->renderTargetPriv().getStencilAttachment(); in submit()
178 fGpu->copySurface(fRenderTarget, fOrigin, copyInfo.fSrc.get(), copyInfo.fSrcOrigin, in submit()
218 SkIntToScalar(fRenderTarget->width()), in submit()
219 SkIntToScalar(fRenderTarget->height()))) { in submit()
268 SkASSERT(!fRenderTarget); in set()
305 fRenderTarget = nullptr; in reset()
[all …]
/external/skia/src/gpu/gl/
DGrGLGpuCommandBuffer.cpp17 fRenderTarget, fOrigin); in begin()
20 GrStencilAttachment* sb = fRenderTarget->renderTargetPriv().getStencilAttachment(); in begin()
21 if (sb && (sb->isDirty() || fRenderTarget->alwaysClearStencil())) { in begin()
22 fGpu->clearStencil(fRenderTarget, 0x0); in begin()
31 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/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/mtl/
DGrMtlGpuCommandBuffer.mm36 fCommandBufferInfo.fBounds = SkRect::MakeWH(fRenderTarget->width(),
37 fRenderTarget->height());
48 fCommandBufferInfo.fBounds = SkRect::MakeWH(fRenderTarget->width(),
49 fRenderTarget->height());
83 if (!fRenderTarget) {
88 fGpu->submitIndirectCommandBuffer(fRenderTarget, fOrigin, &iBounds);
96 fGpu->copySurface(fRenderTarget, fOrigin, src, srcOrigin, srcRect, dstPoint);
113 fGpu->resourceProvider().findOrCreateCompatiblePipelineState(fRenderTarget, fOrigin,
121 pipelineState->setData(fRenderTarget, fOrigin, primProc, pipeline, primProcProxies);
157 pipelineState->setBlendConstants(fActiveRenderCmdEncoder, fRenderTarget->config(),
[all …]
/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/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/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h41 const GrRenderTarget* renderTarget() const { return fRenderTarget; } in renderTarget()
42 GrPixelConfig config() const { return fRenderTarget->config(); } in config()
45 return fRenderTarget->renderTargetPriv().getSampleLocations(fPipeline).count(); in effectiveSampleCnt()
93 const GrRenderTarget* fRenderTarget; variable
DGrGLSLProgramBuilder.cpp32 , fRenderTarget(renderTarget) in GrGLSLProgramBuilder()