Home
last modified time | relevance | path

Searched refs:resourceProvider (Results 1 – 25 of 36) sorted by relevance

12

/external/skia/src/gpu/batches/
DGrStencilAndCoverPathRenderer.cpp21 GrPathRenderer* GrStencilAndCoverPathRenderer::Create(GrResourceProvider* resourceProvider, in Create() argument
24 return new GrStencilAndCoverPathRenderer(resourceProvider); in Create()
30 GrStencilAndCoverPathRenderer::GrStencilAndCoverPathRenderer(GrResourceProvider* resourceProvider) in GrStencilAndCoverPathRenderer() argument
31 : fResourceProvider(resourceProvider) { in GrStencilAndCoverPathRenderer()
48 static GrPath* get_gr_path(GrResourceProvider* resourceProvider, const SkPath& skPath, in get_gr_path() argument
54 static_cast<GrPath*>(resourceProvider->findAndRefResourceByUniqueKey(key))); in get_gr_path()
56 path.reset(resourceProvider->createPath(skPath, stroke)); in get_gr_path()
58 resourceProvider->assignUniqueKeyToResource(key, path); in get_gr_path()
DGrTessellatingPathRenderer.cpp107 GrResourceProvider* resourceProvider, in tessellate() argument
131 int count = GrTessellator::PathToTriangles(path, tol, fClipBounds, resourceProvider, in tessellate()
139 resourceProvider->assignUniqueKeyToResource(*key, vertexBuffer.get()); in tessellate()
161 GrResourceProvider* rp = target->resourceProvider(); in onPrepareDraws()
DGrAAStrokeRectBatch.cpp126 static const GrIndexBuffer* GetIndexBuffer(GrResourceProvider* resourceProvider,
210 GetIndexBuffer(target->resourceProvider(), this->miterStroke())); in onPrepareDraws()
238 const GrIndexBuffer* AAStrokeRectBatch::GetIndexBuffer(GrResourceProvider* resourceProvider, in GetIndexBuffer() argument
260 return resourceProvider->findOrCreateInstancedIndexBuffer(gMiterIndices, in GetIndexBuffer()
323 return resourceProvider->findOrCreateInstancedIndexBuffer(gBevelIndices, in GetIndexBuffer()
DGrAAHairLinePathRenderer.cpp68 static const GrIndexBuffer* ref_quads_index_buffer(GrResourceProvider* resourceProvider) { in ref_quads_index_buffer() argument
70 return resourceProvider->findOrCreateInstancedIndexBuffer( in ref_quads_index_buffer()
102 static const GrIndexBuffer* ref_lines_index_buffer(GrResourceProvider* resourceProvider) { in ref_lines_index_buffer() argument
104 return resourceProvider->findOrCreateInstancedIndexBuffer( in ref_lines_index_buffer()
862 ref_lines_index_buffer(target->resourceProvider())); in onPrepareDraws()
898 ref_quads_index_buffer(target->resourceProvider())); in onPrepareDraws()
DGrVertexBatch.cpp53 target->resourceProvider()->refQuadIndexBuffer()); in init()
DGrTInstanceBatch.h105 Impl::GetIndexBuffer(target->resourceProvider())); in onPrepareDraws()
DGrAAFillRectBatch.cpp31 const GrIndexBuffer* get_index_buffer(GrResourceProvider* resourceProvider) { in get_index_buffer() argument
42 return resourceProvider->findOrCreateInstancedIndexBuffer(gFillAARectIdx, in get_index_buffer()
DGrNinePatch.cpp100 target->resourceProvider()->refQuadIndexBuffer()); in onPrepareDraws()
/external/skia/src/gpu/
DGrClipMaskManager.cpp154 GrResourceProvider* GrClipMaskManager::resourceProvider() { in resourceProvider() function in GrClipMaskManager
155 return fDrawTarget->cmmAccess().resourceProvider(); in resourceProvider()
566 args.fResourceProvider = this->getContext()->resourceProvider(); in drawElement()
603 GrTexture* texture = this->resourceProvider()->createApproxTexture(desc, 0); in createCachedMask()
616 GrResourceProvider* resourceProvider = this->resourceProvider(); in createAlphaClipMask() local
619 if (GrTexture* texture = resourceProvider->findAndRefTextureByUniqueKey(key)) { in createAlphaClipMask()
736 GrStencilAttachment* stencilAttachment = this->resourceProvider()->attachStencilAttachment(rt); in createStencilClipMask()
858 args.fResourceProvider = this->getContext()->resourceProvider(); in createStencilClipMask()
869 args.fResourceProvider = this->getContext()->resourceProvider(); in createStencilClipMask()
893 args.fResourceProvider = this->getContext()->resourceProvider(); in createStencilClipMask()
[all …]
DGrTest.h35 GrResourceProvider* resourceProvider() { return fContext->resourceProvider(); } in resourceProvider() function
DGrBatchFlushState.cpp13 GrBatchFlushState::GrBatchFlushState(GrGpu* gpu, GrResourceProvider* resourceProvider) in GrBatchFlushState() argument
16 , fResourceProvider(resourceProvider) in GrBatchFlushState()
DGrBatchFlushState.h62 GrResourceProvider* resourceProvider() const { return fResourceProvider; } in resourceProvider() function
147 GrResourceProvider* resourceProvider() const { return fState->resourceProvider(); } in resourceProvider() function
DGrDrawingManager.cpp127 GrDrawTarget* dt = new GrDrawTarget(rt, fContext->getGpu(), fContext->resourceProvider(), in newDrawTarget()
176 GrStencilAttachment* sb = fContext->resourceProvider()->attachStencilAttachment(rt); in drawContext()
DGrTessellator.h35 GrResourceProvider* resourceProvider,
DGrDrawingManager.h58 , fFlushState(context->getGpu(), context->resourceProvider()) in GrDrawingManager()
DGrPathRendererChain.cpp32 if (GrPathRenderer* pr = GrStencilAndCoverPathRenderer::Create(context->resourceProvider(), in GrPathRendererChain()
DGrClipMaskManager.h77 inline GrResourceProvider* resourceProvider();
DGrDrawTarget.h163 GrResourceProvider* resourceProvider() const { return fDrawTarget->fResourceProvider; } in resourceProvider() function
DGrDrawTarget.cpp40 GrDrawTarget::GrDrawTarget(GrRenderTarget* rt, GrGpu* gpu, GrResourceProvider* resourceProvider, in GrDrawTarget() argument
43 , fResourceProvider(resourceProvider) in GrDrawTarget()
/external/skia/tests/
DResourceCacheTest.cpp92 GrResourceProvider* resourceProvider = context->resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
96 resourceProvider->attachStencilAttachment(smallRT0->asRenderTarget()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
101 resourceProvider->attachStencilAttachment(smallRT1->asRenderTarget()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
107 resourceProvider->attachStencilAttachment(smallRT0->asRenderTarget()) == in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
108 resourceProvider->attachStencilAttachment(smallRT1->asRenderTarget())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
113 resourceProvider->attachStencilAttachment(smallRT2->asRenderTarget()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
118 resourceProvider->attachStencilAttachment(smallRT0->asRenderTarget()) == in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
119 resourceProvider->attachStencilAttachment(smallRT2->asRenderTarget())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
130 resourceProvider->attachStencilAttachment(bigRT->asRenderTarget()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 resourceProvider->attachStencilAttachment(smallRT0->asRenderTarget()) != in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/skia/src/gpu/vk/
DGrVkProgramBuilder.cpp265 GrVkResourceProvider& resourceProvider = fGpu->resourceProvider(); in finalize() local
266 GrVkPipeline* pipeline = resourceProvider.createPipeline(*args.fPipeline, in finalize()
294 fGpu->resourceProvider().findOrCreateCompatibleDescriptorPool(typeCounts); in finalize()
DGrVkGpu.h52 GrVkResourceProvider& resourceProvider() { return fResourceProvider; } in resourceProvider() function
/external/skia/include/gpu/
DGrContext.h322 GrResourceProvider* resourceProvider() { return fResourceProvider; } in resourceProvider() function
323 const GrResourceProvider* resourceProvider() const { return fResourceProvider; } in resourceProvider() function
/external/skia/src/gpu/text/
DGrStencilAndCoverTextContext.cpp537 ctx->resourceProvider()->findAndRefResourceByUniqueKey(fGlyphPathsKey)); in createGlyphs()
540 glyphs = ctx->resourceProvider()->createGlyphs(fFont.getTypeface(), nullptr, fStroke); in createGlyphs()
543 glyphs = ctx->resourceProvider()->createGlyphs(cache->getScalerContext()->getTypeface(), in createGlyphs()
547 ctx->resourceProvider()->assignUniqueKeyToResource(fGlyphPathsKey, glyphs); in createGlyphs()
/external/skia/src/image/
DSkSurface_Gpu.cpp202 context->resourceProvider()->wrapBackendTextureAsRenderTarget(desc)); in NewFromBackendTextureAsRenderTarget()

12