Home
last modified time | relevance | path

Searched refs:GrMipMapped (Results 1 – 25 of 177) sorted by relevance

12345678

/third_party/flutter/skia/src/gpu/
DGrTextureProxy.h37 GrMipMapped mipMapped() const;
40 SkASSERT((GrMipMapped::kNo == fMipMapped) == in mipMapsAreDirty()
42 return GrMipMapped::kYes == fMipMapped && GrMipMapsStatus::kValid != fMipMapsStatus; in mipMapsAreDirty()
45 SkASSERT(GrMipMapped::kYes == fMipMapped); in markMipMapsDirty()
49 SkASSERT(GrMipMapped::kYes == fMipMapped); in markMipMapsClean()
55 GrMipMapped proxyMipMapped() const { return fMipMapped; } in proxyMipMapped()
110 GrMipMapped, GrMipMapsStatus, const GrSwizzle& textureSwizzle, SkBackingFit,
124 const GrSurfaceDesc& desc, GrSurfaceOrigin, GrMipMapped, GrMipMapsStatus,
145 GrMipMapped fMipMapped;
DGrRecordingContextPriv.h74 GrMipMapped = GrMipMapped::kNo,
91 GrMipMapped = GrMipMapped::kNo,
110 GrMipMapped = GrMipMapped::kNo,
DGrTexturePriv.h35 GrMipMapped mipMapped() const { in mipMapped()
37 return GrMipMapped::kYes; in mipMapped()
39 return GrMipMapped::kNo; in mipMapped()
58 int sampleCnt, GrMipMapped, GrScratchKey* key);
DGrBitmapTextureMaker.cpp50 if (proxy && (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped())) { in refOriginalTextureProxy()
56 proxy = proxyProvider->createProxyFromBitmap(fBitmap, willBeMipped ? GrMipMapped::kYes in refOriginalTextureProxy()
57 : GrMipMapped::kNo); in refOriginalTextureProxy()
62 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in refOriginalTextureProxy()
75 SkASSERT(GrMipMapped::kNo == proxy->mipMapped()); in refOriginalTextureProxy()
DGrProxyProvider.h85 sk_sp<GrTextureProxy> createProxyFromBitmap(const SkBitmap& bitmap, GrMipMapped);
91 int renderTargetSampleCnt, GrSurfaceOrigin, GrMipMapped,
101 GrMipMapped::kNo, fit, budgeted, isProtected, surfaceFlags);
155 GrMipMapped fMipMapped;
173 GrMipMapped, GrMipMapsStatus, GrInternalSurfaceFlags,
179 int renderTargetSampleCnt, GrSurfaceOrigin, GrMipMapped,
185 int renderTargetSampleCnt, GrSurfaceOrigin, GrMipMapped,
DGrBackendTextureImageGenerator.cpp153 GrMipMapped mipMapped = fBackendTexture.hasMipMaps() ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture()
211 (!willNeedMipMaps || GrMipMapped::kYes == proxy->mipMapped())) { in onGenerateTexture()
218 GrMipMapped mipMapped = willNeedMipMaps ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture()
DGrContextPriv.h90 GrMipMapped = GrMipMapped::kNo,
107 GrMipMapped = GrMipMapped::kNo,
126 GrMipMapped = GrMipMapped::kNo,
DGrRenderTask.cpp71 void GrRenderTask::addDependency(GrSurfaceProxy* dependedOn, GrMipMapped mipMapped, in addDependency()
77 if (GrMipMapped::kYes == mipMapped) { in addDependency()
79 if (GrMipMapped::kYes != textureProxy->mipMapped()) { in addDependency()
82 mipMapped = GrMipMapped::kNo; in addDependency()
87 if (GrMipMapped::kYes == mipMapped && textureProxy->mipMapsAreDirty()) { in addDependency()
DGrTextureProducer.cpp31 GrMipMapped mipMapped = dstWillRequireMipMaps ? GrMipMapped::kYes : GrMipMapped::kNo; in CopyOnGpu()
273 SkASSERT(!result || !willBeMipped || result->mipMapped() == GrMipMapped::kYes || in refTextureProxyForParams()
283 sk_sp<GrTextureProxy> GrTextureProducer::refTextureProxy(GrMipMapped willNeedMips) { in refTextureProxy()
285 GrMipMapped::kNo == willNeedMips ? GrSamplerState::Filter::kNearest in refTextureProxy()
297 SkASSERT(!result || !willBeMipped || result->mipMapped() == GrMipMapped::kYes || in refTextureProxy()
DGrRecordingContext.cpp175 GrMipMapped mipMapped, in makeDeferredTextureContext()
194 if (GrMipMapped::kNo == mipMapped) { in makeDeferredTextureContext()
218 GrMipMapped mipMapped, in makeDeferredRenderTargetContext()
243 if (GrMipMapped::kNo == mipMapped) { in makeDeferredRenderTargetContext()
295 GrMipMapped mipMapped, in makeDeferredRenderTargetContextWithFallback()
345 GrMipMapped mipMapped, in makeDeferredTextureContext()
361 GrMipMapped mipMapped, in makeDeferredRenderTargetContext()
378 GrMipMapped mipMapped, in makeDeferredRenderTargetContextWithFallback()
DGrTextureProxy.cpp20 GrSurfaceOrigin origin, GrMipMapped mipMapped, in GrTextureProxy()
35 GrSurfaceOrigin origin, GrMipMapped mipMapped, in GrTextureProxy()
127 GrMipMapped GrTextureProxy::mipMapped() const { in mipMapped()
173 SkASSERT(GrMipMapped::kNo == this->proxyMipMapped() || in onValidateSurface()
174 GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in onValidateSurface()
DGrTextureOpList.cpp32 if (GrMipMapped::kYes == proxy->mipMapped()) { in GrTextureOpList()
112 if (tex && GrMipMapped::kYes == tex->texturePriv().mipMapped()) { in onExecute()
170 GrSurfaceProxy* p, GrMipMapped mipmapped) { in copySurface()
192 auto checkInstantiation = [&hasUninstantiatedProxy](GrSurfaceProxy* p, GrMipMapped) { in handleInternalAllocationFailure() argument
213 auto visit = [ proxyToCheck, &used ] (GrSurfaceProxy* p, GrMipMapped) { in onIsUsed() argument
245 auto gather = [ alloc SkDEBUGCODE(, this) ] (GrSurfaceProxy* p, GrMipMapped) { in gatherProxyIntervals() argument
DGrContext.cpp222 size_t GrContext::ComputeTextureSize(SkColorType type, int width, int height, GrMipMapped mipMapped, in ComputeTextureSize()
328 GrMipMapped mipMapped, in createBackendTexture()
351 GrMipMapped mipMapped, in createBackendTexture()
400 GrMipMapped(c.isMipMapped()), in createBackendTexture()
436 GrMipMapped(c.isMipMapped()), in createBackendTexture()
446 GrMipMapped mipMapped, in createBackendTexture()
470 GrMipMapped mipMapped, in createBackendTexture()
DGrTextureRenderTargetProxy.cpp26 GrMipMapped mipMapped, in GrTextureRenderTargetProxy()
49 GrMipMapped mipMapped, in GrTextureRenderTargetProxy()
134 SkASSERT(GrMipMapped::kNo == this->proxyMipMapped() || in onValidateSurface()
135 GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in onValidateSurface()
DGrProxyProvider.cpp301 format, desc, GrRenderable::kNo, sampleCnt, kTopLeft_GrSurfaceOrigin, GrMipMapped::kNo, in createTextureProxy()
338 GrMipMapped::kYes, SkBackingFit::kExact, budgeted, isProtected, in createMipMapProxy()
343 GrMipMapped mipMapped) { in createProxyFromBitmap()
345 SkASSERT(GrMipMapped::kNo == mipMapped || this->caps()->mipMapSupport()); in createProxyFromBitmap()
356 GrMipMapped::kYes == mipMapped ? "MipMap " : "", in createProxyFromBitmap()
370 if (GrMipMapped::kNo == mipMapped || in createProxyFromBitmap()
428 format, desc, GrRenderable::kNo, 1, kTopLeft_GrSurfaceOrigin, GrMipMapped::kYes, in createProxyFromBitmap()
470 GrMipMapped mipMapped, in createProxy()
492 if (GrMipMapped::kYes == mipMapped) { in createProxy()
496 mipMapped = GrMipMapped::kNo; in createProxy()
[all …]
DGrSurfaceProxy.cpp136 GrMipMapped mipMapped) const { in createSurfaceImpl()
149 if (GrMipMapped::kYes == mipMapped) { in createSurfaceImpl()
174 SkASSERT(GrMipMapped::kYes == texture->texturePriv().mipMapped()); in createSurfaceImpl()
240 GrMipMapped mipMapped, const GrUniqueKey* uniqueKey) { in instantiateImpl()
282 GrMipMapped mipMapped = GrMipMapped::kNo; in computeScratchKey()
347 GrMipMapped mipMapped, in Copy()
397 GrMipMapped mipMapped, SkBackingFit fit, in Copy()
/third_party/flutter/skia/tests/
DMtlBackendAllocationTest.mm18 GrMipMapped,
20 GrColorType colorType, GrMipMapped mipMapped, GrRenderable renderable);
25 GrMipMapped,
28 GrMipMapped mipMapped, GrRenderable renderable);
93 for (auto mipMapped : { GrMipMapped::kNo, GrMipMapped::kYes }) {
94 if (GrMipMapped::kYes == mipMapped && !mtlCaps->mipMapSupport()) {
115 GrMipMapped mipMapped,
130 GrMipMapped mipMapped,
DBackendAllocationTest.cpp24 GrMipMapped, in test_wrapping() argument
26 GrColorType grColorType, GrMipMapped mipMapped, GrRenderable renderable) { in test_wrapping()
132 GrMipMapped, in test_color_init() argument
135 GrMipMapped mipMapped, GrRenderable renderable) { in test_color_init()
227 if (kRGBA_F32_SkColorType == skColorType && GrMipMapped::kYes == mipMapped && in test_color_init()
257 int numMipLevels = (GrMipMapped::kYes == mipMapped) ? 6 : 1; in test_color_init()
443 for (auto mipMapped : { GrMipMapped::kNo, GrMipMapped::kYes }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
444 if (GrMipMapped::kYes == mipMapped && !caps->mipMapSupport()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
462 GrMipMapped mipMapped, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
499 GrMipMapped mipMapped, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DGrMipMappedTest.cpp39 for (auto mipMapped : {GrMipMapped::kNo, GrMipMapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
85 if (GrMipMapped::kYes == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
86 REPORTER_ASSERT(reporter, GrMipMapped::kYes == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
93 REPORTER_ASSERT(reporter, GrMipMapped::kNo == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
108 for (auto mipMapped : {GrMipMapped::kNo, GrMipMapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
183 if (willUseMips && GrMipMapped::kNo == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
198 if (willUseMips && GrMipMapped::kNo == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
214 if (willUseMips && GrMipMapped::kNo == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
251 GrMipMapped mipMapped = willUseMips ? GrMipMapped::kYes : GrMipMapped::kNo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrTestingBackendTextureUploadTest.cpp17 GrRenderable renderable, bool doDataUpload, GrMipMapped mipMapped) { in testing_only_texture_test()
40 SkASSERT(GrMipMapped::kNo == mipMapped); in testing_only_texture_test()
96 renderable, doDataUpload, GrMipMapped::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 renderable, doDataUpload, GrMipMapped::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DPromiseImageTest.cpp172 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
183 GrMipMapped::kNo, texOrigin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
257 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
268 ctx, alpha8Format, kWidth, kHeight, GrMipMapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
276 ctx, gray8Format, kWidth, kHeight, GrMipMapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
366 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST()
376 ctx, backendTex.getBackendFormat(), kWidth, kHeight, GrMipMapped::kNo, in DEF_GPUTEST()
405 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
415 ctx, backendTex.getBackendFormat(), kWidth, kHeight, GrMipMapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
472 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/third_party/flutter/skia/include/private/
DGrRecordingContext.h78 GrMipMapped = GrMipMapped::kNo,
95 GrMipMapped = GrMipMapped::kNo,
114 GrMipMapped = GrMipMapped::kNo,
/third_party/flutter/skia/tools/fiddle/
Dfiddle_main.h41 GrMipMapped mipMapping, in DrawOptions()
45 GrMipMapped offScreenMipMapping) in DrawOptions()
77 GrMipMapped fMipMapping;
85 GrMipMapped fOffScreenMipMapping; // only applicable if the offscreen is also textureable
/third_party/flutter/skia/include/gpu/
DGrBackendSurface.h188 GrMipMapped,
198 GrMipMapped,
210 GrMipMapped,
221 bool hasMipMaps() const { return GrMipMapped::kYes == fMipMapped; } in hasMipMaps()
280 GrMipMapped,
302 GrMipMapped fMipMapped;
DGrContext.h344 static size_t ComputeTextureSize(SkColorType type, int width, int height, GrMipMapped,
378 GrMipMapped,
390 GrMipMapped,
410 GrMipMapped,
424 GrMipMapped,

12345678