/external/skia/src/gpu/batches/ |
D | GrStencilAndCoverPathRenderer.cpp | 21 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()
|
D | GrTessellatingPathRenderer.cpp | 107 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()
|
D | GrAAStrokeRectBatch.cpp | 126 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()
|
D | GrAAHairLinePathRenderer.cpp | 68 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()
|
D | GrVertexBatch.cpp | 53 target->resourceProvider()->refQuadIndexBuffer()); in init()
|
D | GrTInstanceBatch.h | 105 Impl::GetIndexBuffer(target->resourceProvider())); in onPrepareDraws()
|
D | GrAAFillRectBatch.cpp | 31 const GrIndexBuffer* get_index_buffer(GrResourceProvider* resourceProvider) { in get_index_buffer() argument 42 return resourceProvider->findOrCreateInstancedIndexBuffer(gFillAARectIdx, in get_index_buffer()
|
D | GrNinePatch.cpp | 100 target->resourceProvider()->refQuadIndexBuffer()); in onPrepareDraws()
|
/external/skia/src/gpu/ |
D | GrClipMaskManager.cpp | 154 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 …]
|
D | GrTest.h | 35 GrResourceProvider* resourceProvider() { return fContext->resourceProvider(); } in resourceProvider() function
|
D | GrBatchFlushState.cpp | 13 GrBatchFlushState::GrBatchFlushState(GrGpu* gpu, GrResourceProvider* resourceProvider) in GrBatchFlushState() argument 16 , fResourceProvider(resourceProvider) in GrBatchFlushState()
|
D | GrBatchFlushState.h | 62 GrResourceProvider* resourceProvider() const { return fResourceProvider; } in resourceProvider() function 147 GrResourceProvider* resourceProvider() const { return fState->resourceProvider(); } in resourceProvider() function
|
D | GrDrawingManager.cpp | 127 GrDrawTarget* dt = new GrDrawTarget(rt, fContext->getGpu(), fContext->resourceProvider(), in newDrawTarget() 176 GrStencilAttachment* sb = fContext->resourceProvider()->attachStencilAttachment(rt); in drawContext()
|
D | GrTessellator.h | 35 GrResourceProvider* resourceProvider,
|
D | GrDrawingManager.h | 58 , fFlushState(context->getGpu(), context->resourceProvider()) in GrDrawingManager()
|
D | GrPathRendererChain.cpp | 32 if (GrPathRenderer* pr = GrStencilAndCoverPathRenderer::Create(context->resourceProvider(), in GrPathRendererChain()
|
D | GrClipMaskManager.h | 77 inline GrResourceProvider* resourceProvider();
|
D | GrDrawTarget.h | 163 GrResourceProvider* resourceProvider() const { return fDrawTarget->fResourceProvider; } in resourceProvider() function
|
D | GrDrawTarget.cpp | 40 GrDrawTarget::GrDrawTarget(GrRenderTarget* rt, GrGpu* gpu, GrResourceProvider* resourceProvider, in GrDrawTarget() argument 43 , fResourceProvider(resourceProvider) in GrDrawTarget()
|
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 92 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/ |
D | GrVkProgramBuilder.cpp | 265 GrVkResourceProvider& resourceProvider = fGpu->resourceProvider(); in finalize() local 266 GrVkPipeline* pipeline = resourceProvider.createPipeline(*args.fPipeline, in finalize() 294 fGpu->resourceProvider().findOrCreateCompatibleDescriptorPool(typeCounts); in finalize()
|
D | GrVkGpu.h | 52 GrVkResourceProvider& resourceProvider() { return fResourceProvider; } in resourceProvider() function
|
/external/skia/include/gpu/ |
D | GrContext.h | 322 GrResourceProvider* resourceProvider() { return fResourceProvider; } in resourceProvider() function 323 const GrResourceProvider* resourceProvider() const { return fResourceProvider; } in resourceProvider() function
|
/external/skia/src/gpu/text/ |
D | GrStencilAndCoverTextContext.cpp | 537 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/ |
D | SkSurface_Gpu.cpp | 202 context->resourceProvider()->wrapBackendTextureAsRenderTarget(desc)); in NewFromBackendTextureAsRenderTarget()
|