/external/skqp/tools/gpu/ |
D | ProxyUtils.cpp | 28 auto backendTex = context->contextPriv().getGpu()->createTestingOnlyBackendTexture( in MakeTextureProxyFromData() 35 proxy = context->contextPriv().proxyProvider()->wrapRenderableBackendTexture( in MakeTextureProxyFromData() 38 proxy = context->contextPriv().proxyProvider()->wrapBackendTexture( in MakeTextureProxyFromData() 43 context->contextPriv().getGpu()->deleteTestingOnlyBackendTexture(backendTex); in MakeTextureProxyFromData() 49 if (!context->contextPriv().caps()->isConfigTexturable(config)) { in MakeTextureProxyFromData() 54 context->contextPriv().caps()->getBackendFormatFromGrColorType(colorType, in MakeTextureProxyFromData() 65 proxy = context->contextPriv().proxyProvider()->createProxy( in MakeTextureProxyFromData() 71 auto sContext = context->contextPriv().makeWrappedSurfaceContext(proxy, nullptr); in MakeTextureProxyFromData() 75 if (!context->contextPriv().writeSurfacePixels(sContext.get(), 0, 0, width, height, colorType, in MakeTextureProxyFromData()
|
/external/skqp/src/gpu/ |
D | GrDrawingManager.cpp | 177 fDAG.cleanup(fContext->contextPriv().caps()); in cleanup() 218 GrGpu* gpu = fContext->contextPriv().getGpu(); in flush() 228 fDAG.closeAll(fContext->contextPriv().caps()); in flush() 238 GrOpFlushState flushState(gpu, fContext->contextPriv().resourceProvider(), &fTokenTracker, in flush() 267 onFlushOpList->makeClosed(*fContext->contextPriv().caps()); in flush() 286 GrResourceAllocator alloc(fContext->contextPriv().resourceProvider(), in flush() 331 GrOpMemoryPool* opMemoryPool = fContext->contextPriv().opMemoryPool(); in flush() 341 fContext->contextPriv().getResourceCache()->purgeAsNeeded(); in flush() 367 GrResourceProvider* resourceProvider = fContext->contextPriv().resourceProvider(); in executeOpLists() 392 opList->instantiateDeferredProxies(fContext->contextPriv().resourceProvider()); in executeOpLists() [all …]
|
D | GrOnFlushResourceProvider.cpp | 43 auto proxyProvider = fDrawingMgr->getContext()->contextPriv().proxyProvider(); in assignUniqueKeyToProxy() 48 auto proxyProvider = fDrawingMgr->getContext()->contextPriv().proxyProvider(); in removeUniqueKeyFromProxy() 53 auto proxyProvider = fDrawingMgr->getContext()->contextPriv().proxyProvider(); in processInvalidUniqueKey() 60 auto proxyProvider = fDrawingMgr->getContext()->contextPriv().proxyProvider(); in findOrCreateProxyByUniqueKey() 65 auto resourceProvider = fDrawingMgr->getContext()->contextPriv().resourceProvider(); in instatiateProxy() 78 auto resourceProvider = fDrawingMgr->getContext()->contextPriv().resourceProvider(); in makeBuffer() 89 auto resourceProvider = fDrawingMgr->getContext()->contextPriv().resourceProvider(); in findOrMakeStaticBuffer() 98 return fDrawingMgr->getContext()->contextPriv().contextID(); in contextID() 102 return fDrawingMgr->getContext()->contextPriv().caps(); in caps()
|
D | GrClipStackClip.cpp | 122 canDrawArgs.fCaps = context->contextPriv().caps(); in PathNeedsSWRenderer() 129 *context->contextPriv().caps()); in PathNeedsSWRenderer() 136 context->contextPriv().drawingManager()->getPathRenderer(canDrawArgs, false, type); in PathNeedsSWRenderer() 163 if (context->contextPriv().caps()->avoidStencilBuffers() || in UseSWOnlyPath() 205 int maxAnalyticFPs = context->contextPriv().caps()->maxClipAnalyticFPs(); in apply() 214 SkASSERT(!context->contextPriv().caps()->avoidStencilBuffers()); in apply() 216 auto* ccpr = context->contextPriv().drawingManager()->getCoverageCountingPathRenderer(); in apply() 218 GrReducedClip reducedClip(*fStack, devBounds, context->contextPriv().caps(), in apply() 265 context->contextPriv().caps()->avoidStencilBuffers() || in applyClipMask() 285 if (context->contextPriv().caps()->avoidStencilBuffers() || in applyClipMask() [all …]
|
D | GrBackendTextureImageGenerator.cpp | 43 context->contextPriv().getResourceCache()->insertCrossContextGpuResource(texture.get()); in Make() 51 context->contextPriv().caps()->getConfigFromBackendFormat(backendFormat, colorType); in Make() 59 info, texture.get(), origin, context->contextPriv().contextID(), in Make() 103 auto proxyProvider = context->contextPriv().proxyProvider(); in onGenerateTexture() 108 if (fRefHelper->fBorrowingContextID != context->contextPriv().contextID()) { in onGenerateTexture() 125 fRefHelper->fBorrowingContextID = context->contextPriv().contextID(); in onGenerateTexture() 128 SkASSERT(fRefHelper->fBorrowingContextID == context->contextPriv().contextID()); in onGenerateTexture() 209 context->contextPriv().makeDeferredRenderTargetContext( in onGenerateTexture()
|
D | GrTextureMaker.cpp | 19 if (this->width() > fContext->contextPriv().caps()->maxTextureSize() || in onRefTextureProxyForParams() 20 this->height() > fContext->contextPriv().caps()->maxTextureSize()) { in onRefTextureProxyForParams() 31 !GrGpu::IsACopyNeededForRepeatWrapMode(fContext->contextPriv().caps(), original.get(), in onRefTextureProxyForParams() 34 needsCopyForMipsOnly = GrGpu::IsACopyNeededForMips(fContext->contextPriv().caps(), in onRefTextureProxyForParams() 43 !GrGpu::IsACopyNeededForRepeatWrapMode(fContext->contextPriv().caps(), nullptr, in onRefTextureProxyForParams() 50 GrProxyProvider* proxyProvider = fContext->contextPriv().proxyProvider(); in onRefTextureProxyForParams()
|
D | GrPathRendererChain.cpp | 26 const GrCaps& caps = *context->contextPriv().caps(); in GrPathRendererChain() 32 GrStencilAndCoverPathRenderer::Create(context->contextPriv().resourceProvider(), caps)); in GrPathRendererChain() 44 context->contextPriv().contextID())) { in GrPathRendererChain() 46 context->contextPriv().addOnFlushCallbackObject(fCoverageCountingPathRenderer); in GrPathRendererChain() 58 context->contextPriv().addOnFlushCallbackObject(spr.get()); in GrPathRendererChain()
|
D | GrTextureAdjuster.cpp | 40 GrProxyProvider* proxyProvider = fContext->contextPriv().proxyProvider(); in refTextureProxyCopy() 87 SkASSERT(this->width() <= fContext->contextPriv().caps()->maxTextureSize() && in onRefTextureProxyForParams() 88 this->height() <= fContext->contextPriv().caps()->maxTextureSize()); in onRefTextureProxyForParams() 92 !GrGpu::IsACopyNeededForRepeatWrapMode(fContext->contextPriv().caps(), proxy.get(), in onRefTextureProxyForParams() 95 needsCopyForMipsOnly = GrGpu::IsACopyNeededForMips(fContext->contextPriv().caps(), in onRefTextureProxyForParams()
|
/external/skqp/tests/ |
D | TextureProxyTest.cpp | 45 ctx->contextPriv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType); in deferred_tex() 59 ctx->contextPriv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType); in deferred_texRT() 102 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in create_wrapped_backend() 103 GrResourceProvider* resourceProvider = context->contextPriv().resourceProvider(); in create_wrapped_backend() 128 GrResourceProvider* resourceProvider = context->contextPriv().resourceProvider(); in basic_test() 129 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in basic_test() 130 GrResourceCache* cache = context->contextPriv().getResourceCache(); in basic_test() 206 GrUniqueKeyInvalidatedMessage msg(texKey, context->contextPriv().contextID()); in basic_test() 222 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in invalidation_test() 223 GrResourceCache* cache = context->contextPriv().getResourceCache(); in invalidation_test() [all …]
|
D | LazyProxyTest.cpp | 62 GrOpMemoryPool* pool = context->contextPriv().opMemoryPool(); in Make() 82 ctx->contextPriv().caps()->getBackendFormatFromColorType(kRGB_565_SkColorType); in Op() 130 ctx->contextPriv().caps()->getBackendFormatFromGrColorType(GrColorType::kAlpha_F16, in ClipFP() 179 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in apply() 208 GrProxyProvider* proxyProvider = ctx->contextPriv().proxyProvider(); 211 ctx->contextPriv().addOnFlushCallbackObject(&test); 213 ctx->contextPriv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType); 214 sk_sp<GrRenderTargetContext> rtc = ctx->contextPriv().makeDeferredRenderTargetContext( 219 ctx->contextPriv().caps()->getBackendFormatFromGrColorType(GrColorType::kAlpha_F16, 221 sk_sp<GrRenderTargetContext> mockAtlas = ctx->contextPriv().makeDeferredRenderTargetContext( [all …]
|
D | GrSurfaceTest.cpp | 27 auto resourceProvider = context->contextPriv().resourceProvider(); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 28 GrGpu* gpu = context->contextPriv().getGpu(); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 75 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 76 GrResourceProvider* resourceProvider = context->contextPriv().resourceProvider(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 77 const GrCaps* caps = context->contextPriv().caps(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 159 const GrCaps* caps = context->contextPriv().caps(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 160 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 184 auto texCtx = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 205 context->contextPriv().purgeAllUnlockedResources_ForTesting(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 215 auto surfCtx = context->contextPriv().makeDeferredSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | DrawOpAtlasTest.cpp | 131 auto proxyProvider = context->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 132 auto resourceProvider = context->contextPriv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 133 auto drawingManager = context->contextPriv().drawingManager(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 139 context->contextPriv().caps()->getBackendFormatFromColorType(kAlpha_8_SkColorType); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 185 auto gpu = context->contextPriv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 186 auto resourceProvider = context->contextPriv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 187 auto drawingManager = context->contextPriv().drawingManager(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 189 auto opMemoryPool = context->contextPriv().opMemoryPool(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 192 context->contextPriv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 194 auto rtc = context->contextPriv().makeDeferredRenderTargetContext(format, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | OpChainTest.cpp | 99 GrOpMemoryPool* pool = context->contextPriv().opMemoryPool(); in Make() 172 context->contextPriv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType); 174 auto proxy = context->contextPriv().proxyProvider()->createProxy( 178 proxy->instantiate(context->contextPriv().resourceProvider()); 205 GrOpFlushState flushState(context->contextPriv().getGpu(), 206 context->contextPriv().resourceProvider(), &tracker, 208 GrRenderTargetOpList opList(context->contextPriv().resourceProvider(), 209 sk_ref_sp(context->contextPriv().opMemoryPool()), 211 context->contextPriv().getAuditTrail()); 225 opList.addOp(std::move(op), *context->contextPriv().caps()); [all …]
|
D | PrimitiveProcessorTest.cpp | 36 GrOpMemoryPool* pool = context->contextPriv().opMemoryPool(); in Make() 121 GrGpu* gpu = context->contextPriv().getGpu(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 125 context->contextPriv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 128 context->contextPriv().makeDeferredRenderTargetContext(format, SkBackingFit::kApprox, in DEF_GPUTEST_FOR_ALL_CONTEXTS() 135 int attribCnt = context->contextPriv().caps()->maxVertexAttributes(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 141 context->contextPriv().resetGpuStats(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 157 context->contextPriv().resetGpuStats(); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
D | GrMipMappedTest.cpp | 34 if (!context->contextPriv().caps()->mipMapSupport()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 37 GrGpu* gpu = context->contextPriv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 103 if (!context->contextPriv().caps()->mipMapSupport()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 106 GrGpu* gpu = context->contextPriv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 157 genProxy->priv().doLazyInstantiation(context->contextPriv().resourceProvider()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 159 genProxy->instantiate(context->contextPriv().resourceProvider()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 225 if (!context->contextPriv().caps()->mipMapSupport()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 229 auto resourceProvider = context->contextPriv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 230 GrGpu* gpu = context->contextPriv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 290 if (!context->contextPriv().caps()->mipMapSupport()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | PromiseImageTest.cpp | 141 GrGpu* gpu = ctx->contextPriv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 298 GrGpu* gpu = ctx->contextPriv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 421 GrGpu* gpu = ctx->contextPriv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 496 REPORTER_ASSERT(reporter, ctx->contextPriv().resourceProvider()->findByUniqueKey<>(texKey1)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 512 ctx->contextPriv().getResourceCache()->purgeAsNeeded(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 515 REPORTER_ASSERT(reporter, !ctx->contextPriv().resourceProvider()->findByUniqueKey<>(texKey1)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 542 REPORTER_ASSERT(reporter, ctx->contextPriv().resourceProvider()->findByUniqueKey<>(texKey2)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 566 ctx->contextPriv().getResourceCache()->purgeAsNeeded(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 567 REPORTER_ASSERT(reporter, ctx->contextPriv().resourceProvider()->findByUniqueKey<>(texKey2)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 589 ctx->contextPriv().getResourceCache()->purgeAsNeeded(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ResourceAllocatorTest.cpp | 62 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in make_backend() 63 GrGpu* gpu = context->contextPriv().getGpu(); in make_backend() 86 context->contextPriv().getGpu()->deleteTestingOnlyBackendTexture(backendTex); in cleanup_backend() 141 const GrCaps* caps = ctxInfo.grContext()->contextPriv().caps(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 142 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 143 GrResourceProvider* resourceProvider = ctxInfo.grContext()->contextPriv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 188 int k2 = ctxInfo.grContext()->contextPriv().caps()->getRenderTargetSampleCount( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 190 int k4 = ctxInfo.grContext()->contextPriv().caps()->getRenderTargetSampleCount( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 271 GrResourceProvider* resourceProvider = ctxInfo.grContext()->contextPriv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 323 GrResourceProvider* resourceProvider = ctxInfo.grContext()->contextPriv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | GLProgramsTest.cpp | 160 context->contextPriv().makeDeferredRenderTargetContext(format, in random_render_target_context() 259 GrDrawingManager* drawingManager = context->contextPriv().drawingManager(); in ProgramUnitTest() 260 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in ProgramUnitTest() 272 context->contextPriv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType); in ProgramUnitTest() 284 context->contextPriv().caps()->getBackendFormatFromColorType(kAlpha_8_SkColorType); in ProgramUnitTest() 303 random_render_target_context(context, &random, context->contextPriv().caps())); in ProgramUnitTest() 319 context->contextPriv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType); in ProgramUnitTest() 322 context->contextPriv().makeDeferredRenderTargetContext(format, in ProgramUnitTest() 355 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in get_glprograms_max_stages()
|
D | GrContextFactoryTest.cpp | 31 context->contextPriv().caps()->shaderCaps()->pathRenderingSupport()); in DEF_GPUTEST() 45 !context->contextPriv().caps()->shaderCaps()->pathRenderingSupport()); in DEF_GPUTEST() 131 REPORTER_ASSERT(reporter, nullptr == serialContext->contextPriv().getTaskGroup()); in DEF_GPUTEST() 136 REPORTER_ASSERT(reporter, nullptr != threadedContext->contextPriv().getTaskGroup()); in DEF_GPUTEST() 144 SkString result = ctxInfo.grContext()->contextPriv().dump(); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
D | ResourceCacheTest.cpp | 123 if (context->contextPriv().caps()->avoidStencilBuffers()) { 127 GrResourceProvider* resourceProvider = context->contextPriv().resourceProvider(); 157 context->contextPriv().caps()->getRenderTargetSampleCount(2, kRGBA_8888_GrPixelConfig); 185 int bigSampleCount = context->contextPriv().caps()->getRenderTargetSampleCount( 200 GrResourceProvider* resourceProvider = context->contextPriv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 201 GrGpu* gpu = context->contextPriv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 355 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); in Mock() 360 GrResourceCache* cache() { return fContext->contextPriv().getResourceCache(); } in cache() 376 GrGpu* gpu = context->contextPriv().getGpu(); in test_no_key() 430 GrGpu* gpu = context->contextPriv().getGpu(); in test_purge_unlocked() [all …]
|
/external/skqp/src/image/ |
D | SkImage_GpuBase.cpp | 36 SkASSERT(fContext->contextPriv().contextID() == newContext->contextPriv().contextID()); in resetContext() 57 *config = ctx->contextPriv().caps()->getConfigFromBackendFormat(backendFormat, ct); in ValidateBackendTexture() 64 return fContext->contextPriv().contextID(); in contextID() 68 if (!fContext->contextPriv().resourceProvider()) { in getROPixels() 93 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in getROPixels() 125 sk_sp<GrSurfaceContext> sContext(fContext->contextPriv().makeDeferredSurfaceContext( in onMakeSubset() 165 if (!fContext->contextPriv().resourceProvider()) { in onReadPixels() 187 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in onReadPixels() 214 if (context->contextPriv().contextID() != fContext->contextPriv().contextID()) { in asTextureProxyRef() 229 if (!fContext->contextPriv().resourceProvider() && !proxy->isInstantiated()) { in onGetBackendTexture() [all …]
|
D | SkImage_Gpu.cpp | 77 fContext->contextPriv().makeDeferredRenderTargetContextWithFallback( in onMakeColorTypeAndColorSpace() 115 GrProxyProvider* proxyProvider = ctx->contextPriv().proxyProvider(); in new_wrapped_texture_common() 145 if (!ctx || !ctx->contextPriv().resourceProvider()) { in MakeFromAdoptedTexture() 174 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in MakeFromCompressed() 227 ctx->contextPriv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType); in MakeFromYUVATexturesCopy() 231 ctx->contextPriv().makeDeferredRenderTargetContext( in MakeFromYUVATexturesCopy() 262 ctx->contextPriv().makeBackendTextureRenderTargetContext(backendTextureCopy, in MakeFromYUVATexturesCopyWithExternalBackend() 354 if (incumbentID != context->contextPriv().contextID()) { in makeTextureImage() 420 context->contextPriv().caps()->getConfigFromBackendFormat(backendFormat, colorType); in MakePromiseTexture() 447 if (!context || !context->contextPriv().caps()->crossContextTextureSupport()) { in MakeCrossContextFromEncoded() [all …]
|
D | SkSurface_Gpu.cpp | 264 ctx->contextPriv().copyOpListsFromDDL(ddl, rtc->asRenderTargetProxy()); in onDraw() 297 if (!SkSurface_Gpu::Valid(context->contextPriv().caps(), c.config(), c.colorSpace())) { in MakeRenderTarget() 311 context->contextPriv().caps()->getBackendFormatFromColorType(c.colorType()); in MakeRenderTarget() 314 context->contextPriv().makeDeferredSurfaceContext(format, desc, c.origin(), in MakeRenderTarget() 355 if (!ctx->contextPriv().caps()->mipMapSupport()) { in MakeRenderTarget() 403 *config = ctx->contextPriv().caps()->getConfigFromBackendFormat(backendFormat, ct); in validate_backend_texture() 410 if (!ctx->contextPriv().caps()->getRenderTargetSampleCount(sampleCnt, *config)) { in validate_backend_texture() 414 if (texturable && !ctx->contextPriv().caps()->isConfigTexturable(*config)) { in validate_backend_texture() 438 if (!SkSurface_Gpu::Valid(context->contextPriv().caps(), texCopy.config(), colorSpace.get())) { in MakeFromBackendTexture() 443 sk_sp<GrRenderTargetContext> rtc(context->contextPriv().makeBackendTextureRenderTargetContext( in MakeFromBackendTexture() [all …]
|
/external/skqp/bench/ |
D | GrResourceCacheBench.cpp | 79 GrResourceCache* cache = context->contextPriv().getResourceCache(); in onDraw() 85 GrGpu* gpu = context->contextPriv().getGpu(); in onDraw() 125 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); in onDelayedSetup() 131 GrGpu* gpu = fContext->contextPriv().getGpu(); in onDelayedSetup() 140 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); in onDraw()
|
/external/skqp/src/core/ |
D | SkDeferredDisplayListRecorder.cpp | 82 auto proxyProvider = fContext->contextPriv().proxyProvider(); in ~SkDeferredDisplayListRecorder() 110 auto proxyProvider = fContext->contextPriv().proxyProvider(); in init() 134 if (fContext->contextPriv().caps()->usesMixedSamples() && desc.fSampleCnt > 1 && !usesGLFBO0) { in init() 148 const GrBackendFormat format = fContext->contextPriv().caps()->getBackendFormatFromColorType( in init() 170 sk_sp<GrSurfaceContext> c = fContext->contextPriv().makeWrappedSurfaceContext( in init() 205 fContext->contextPriv().moveOpListsToDDL(ddl.get()); in detach()
|