Home
last modified time | relevance | path

Searched refs:textureProxy (Results 1 – 25 of 35) sorted by relevance

12

/external/skqp/src/gpu/ccpr/
DGrCCClipPath.cpp30 GrTextureProxy* textureProxy = fAtlas ? fAtlas->textureProxy() : nullptr; in init() local
31 if (!textureProxy || !textureProxy->instantiate(resourceProvider)) { in init()
37 SkASSERT(kTopLeft_GrSurfaceOrigin == textureProxy->origin()); in init()
39 fAtlasScale = {1.f / textureProxy->width(), 1.f / textureProxy->height()}; in init()
44 return sk_ref_sp(textureProxy->peekTexture()); in init()
DGrCCAtlas.h57 GrTextureProxy* textureProxy() const { return fTextureProxy.get(); } in textureProxy() function
/external/skia/src/gpu/
DGrRenderTask.cpp81 GrTextureProxy* textureProxy = this->target(0)->asTextureProxy(); in makeClosed() local
82 if (textureProxy && GrMipmapped::kYes == textureProxy->mipmapped()) { in makeClosed()
83 textureProxy->markMipmapsDirty(); in makeClosed()
168 GrTextureProxy* textureProxy = dependedOn->asTextureProxy(); in addDependency() local
170 SkASSERT(textureProxy); in addDependency()
171 if (GrMipmapped::kYes != textureProxy->mipmapped()) { in addDependency()
175 } else if (textureProxy->mipmapsAreDirty()) { in addDependency()
197 if (textureProxy && textureProxy->texPriv().isDeferred()) { in addDependency()
198 SkASSERT(fTextureResolveTask->fDeferredProxies.back() == textureProxy); in addDependency()
206 if (textureProxy) { in addDependency()
[all …]
DGrTextureResolveRenderTask.cpp39 GrTextureProxy* textureProxy = proxy->asTextureProxy(); in addProxy() local
40 SkASSERT(GrMipmapped::kYes == textureProxy->mipmapped()); in addProxy()
41 SkASSERT(textureProxy->mipmapsAreDirty()); in addProxy()
42 textureProxy->markMipmapsClean(); in addProxy()
DGrTextureProxyPriv.h32 explicit GrTextureProxyPriv(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in GrTextureProxyPriv() argument
DGrTextureProxyCacheAccess.h26 explicit CacheAccess(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in CacheAccess() argument
DGrOnFlushResourceProvider.cpp47 void GrOnFlushResourceProvider::addTextureResolveTask(sk_sp<GrTextureProxy> textureProxy, in addTextureResolveTask() argument
52 if (GrRenderTask* renderTask = fDrawingMgr->getLastRenderTask(textureProxy.get())) { in addTextureResolveTask()
57 task->addProxy(fDrawingMgr, std::move(textureProxy), resolveFlags, *this->caps()); in addTextureResolveTask()
DGrDrawingManager.cpp483 if (auto* textureProxy = proxy->asTextureProxy()) { in resolve_and_mipmap() local
484 if (textureProxy->mipmapsAreDirty()) { in resolve_and_mipmap()
485 SkASSERT(textureProxy->peekTexture()); in resolve_and_mipmap()
486 gpu->regenerateMipMapLevels(textureProxy->peekTexture()); in resolve_and_mipmap()
487 textureProxy->markMipmapsClean(); in resolve_and_mipmap()
DGrDynamicAtlas.h58 GrTextureProxy* textureProxy() const { return fTextureProxy.get(); } in textureProxy() function
/external/skqp/src/gpu/
DGrTextureContext.cpp22 sk_sp<GrTextureProxy> textureProxy, in GrTextureContext() argument
26 : GrSurfaceContext(context, drawingMgr, textureProxy->config(), std::move(colorSpace), in GrTextureContext()
28 , fTextureProxy(std::move(textureProxy)) in GrTextureContext()
DGrTextureProxyCacheAccess.h26 explicit CacheAccess(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in CacheAccess() argument
DGrTextureProxyPriv.h32 explicit GrTextureProxyPriv(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in GrTextureProxyPriv() argument
DGrOpList.cpp122 if (GrTextureProxy* textureProxy = dependedOn->asTextureProxy()) { in addDependency() local
123 if (textureProxy->texPriv().isDeferred()) { in addDependency()
124 fDeferredProxies.push_back(textureProxy); in addDependency()
DGrDrawingManager.cpp605 sk_sp<GrTextureOpList> GrDrawingManager::newTextureOpList(GrTextureProxy* textureProxy) { in newTextureOpList() argument
615 if (GrOpList* lastOpList = textureProxy->getLastOpList()) { in newTextureOpList()
629 textureProxy, in newTextureOpList()
632 SkASSERT(textureProxy->getLastOpList() == opList.get()); in newTextureOpList()
743 sk_sp<GrTextureProxy> textureProxy(sk_ref_sp(sProxy->asTextureProxy())); in makeTextureContext() local
745 return sk_sp<GrTextureContext>(new GrTextureContext(fContext, this, std::move(textureProxy), in makeTextureContext()
DGrDrawingManager.h54 sk_sp<GrTextureOpList> newTextureOpList(GrTextureProxy* textureProxy);
DGrProcessorUnitTest.h69 sk_sp<GrTextureProxy> textureProxy(int index) { return fProxies[index]; } in textureProxy() function
/external/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp189 assign_atlas_textures(retiredAtlas->textureProxy()->peekTexture(), nextPathToAssign, in preFlush()
197 assign_atlas_textures(atlas->textureProxy()->peekTexture(), nextPathToAssign, end); in preFlush()
/external/skqp/src/effects/imagefilters/
DSkMorphologyImageFilter.cpp371 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()
419 sk_sp<GrTextureProxy> textureProxy, in apply_morphology_pass() argument
450 apply_morphology_rect(renderTargetContext, clip, std::move(textureProxy), in apply_morphology_pass()
454 apply_morphology_rect(renderTargetContext, clip, textureProxy, in apply_morphology_pass()
456 apply_morphology_rect(renderTargetContext, clip, textureProxy, in apply_morphology_pass()
458 apply_morphology_rect_no_bounds(renderTargetContext, clip, std::move(textureProxy), in apply_morphology_pass()
/external/skqp/src/gpu/effects/
DGrSimpleTextureEffect.cpp86 return GrSimpleTextureEffect::Make(testData->textureProxy(texIdx), matrix, params); in TestCreate()
DGrGaussianConvolutionFragmentProcessor.cpp279 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()
299 d->textureProxy(texIdx), in TestCreate()
DGrSimpleTextureEffect.fp75 return GrSimpleTextureEffect::Make(testData->textureProxy(texIdx), matrix, params);
DGrAlphaThresholdFragmentProcessor.fp64 sk_sp<GrTextureProxy> maskProxy = testData->textureProxy(GrProcessorUnitTest::kAlphaTextureIdx);
DGrAlphaThresholdFragmentProcessor.cpp110 sk_sp<GrTextureProxy> maskProxy = testData->textureProxy(GrProcessorUnitTest::kAlphaTextureIdx); in TestCreate()
DGrMagnifierEffect.fp72 sk_sp<GrTextureProxy> proxy = d->textureProxy(0);
/external/skqp/tools/gpu/
DGrTest.cpp311 const GrTextureProxy* proxy = fCopyAtlasStack.front().textureProxy(); in testingOnly_frontCopyAtlasTexture()
319 const GrTextureProxy* proxy = fRenderedAtlasStack.front().textureProxy(); in testingOnly_frontRenderedAtlasTexture()

12