Home
last modified time | relevance | path

Searched refs:rectProxy (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DRectangleTextureTest.cpp25 … sk_sp<GrTextureProxy> rectProxy, uint32_t expectedPixelValues[]) { in test_basic_draw_as_src() argument
26 GrBackendFormat format = rectProxy->backendFormat().makeTexture2D(); in test_basic_draw_as_src()
30 SkBackingFit::kExact, rectProxy->width(), in test_basic_draw_as_src()
31 rectProxy->height(), rectProxy->config(), in test_basic_draw_as_src()
38 auto fp = GrSimpleTextureEffect::Make(rectProxy, SkMatrix::I(), filter); in test_basic_draw_as_src()
138 sk_sp<GrTextureProxy> rectProxy = proxyProvider->wrapBackendTexture( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
141 if (!rectProxy) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
147 SkASSERT(rectProxy->mipMapped() == GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
148 SkASSERT(rectProxy->peekTexture()->texturePriv().mipMapped() == GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
150 SkASSERT(rectProxy->textureType() == GrTextureType::kRectangle); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
/external/skqp/tests/
DRectangleTextureTest.cpp25 … sk_sp<GrTextureProxy> rectProxy, uint32_t expectedPixelValues[]) { in test_basic_draw_as_src() argument
26 GrBackendFormat format = rectProxy->backendFormat().makeTexture2D(); in test_basic_draw_as_src()
30 SkBackingFit::kExact, rectProxy->width(), in test_basic_draw_as_src()
31 rectProxy->height(), rectProxy->config(), in test_basic_draw_as_src()
38 auto fp = GrSimpleTextureEffect::Make(rectProxy, SkMatrix::I(), filter); in test_basic_draw_as_src()
138 sk_sp<GrTextureProxy> rectProxy = proxyProvider->wrapBackendTexture( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
141 if (!rectProxy) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
147 SkASSERT(rectProxy->mipMapped() == GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
148 SkASSERT(rectProxy->peekTexture()->texturePriv().mipMapped() == GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
150 SkASSERT(rectProxy->textureType() == GrTextureType::kRectangle); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]