Searched refs:mipmapProxy (Results 1 – 2 of 2) sorted by relevance
/third_party/flutter/skia/tests/ |
D | GrMipMappedTest.cpp | 343 sk_sp<GrTextureProxy> mipmapProxy, GrSamplerState::Filter filter) { in draw_mipmap_into_new_render_target() argument 347 desc.fConfig = mipmapProxy->config(); in draw_mipmap_into_new_render_target() 349 mipmapProxy->backendFormat(), desc, GrRenderable::kYes, 1, kTopLeft_GrSurfaceOrigin, in draw_mipmap_into_new_render_target() 353 rtc->drawTexture(GrNoClip(), mipmapProxy, filter, SkBlendMode::kSrcOver, {1,1,1,1}, in draw_mipmap_into_new_render_target() 379 sk_sp<GrTextureProxy> mipmapProxy = proxyProvider->createMipMapProxy( in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 385 mipmapProxy, colorType, nullptr, nullptr, true); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 387 REPORTER_ASSERT(reporter, mipmapProxy->mipMapsAreDirty()); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 388 REPORTER_ASSERT(reporter, mipmapProxy->getLastRenderTask()); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 391 reporter, mipmapRTC->testingOnly_PeekLastOpList() == mipmapProxy->getLastRenderTask()); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 395 drawingManager, proxyProvider, colorType, mipmapProxy, GrSamplerState::Filter::kMipMap); in DEF_GPUTEST_FOR_ALL_CONTEXTS() [all …]
|
/third_party/skia/tests/ |
D | GrMipMappedTest.cpp | 442 sk_sp<GrTextureProxy> mipmapProxy = proxyProvider->createProxy( variable 448 mipmapProxy->markMipmapsClean(); 451 dContext.get(), colorType, mipmapProxy, nullptr, kTopLeft_GrSurfaceOrigin, 455 REPORTER_ASSERT(reporter, drawingManager->getLastRenderTask(mipmapProxy.get())); 459 drawingManager->getLastRenderTask(mipmapProxy.get())); 462 REPORTER_ASSERT(reporter, !mipmapProxy->mipmapsAreDirty()); 465 GrSurfaceProxyView mipmapView(mipmapProxy, kTopLeft_GrSurfaceOrigin, swizzle); 476 GrRenderTask* initialMipmapRegenTask = drawingManager->getLastRenderTask(mipmapProxy.get()); 480 REPORTER_ASSERT(reporter, !mipmapProxy->mipmapsAreDirty()); 489 drawingManager->getLastRenderTask(mipmapProxy.get()) == initialMipmapRegenTask); [all …]
|