/external/skia/tests/ |
H A D | GrSurfaceTest.cpp | 20 // Tests that GrSurface::asTexture(), GrSurface::asRenderTarget(), and static upcasting of texture 34 REPORTER_ASSERT(reporter, texRT1 == texRT1->asTexture()); 36 texRT1->asTexture()); 38 static_cast<GrSurface*>(texRT1->asTexture())); 40 static_cast<GrSurface*>(texRT1->asTexture())); 45 REPORTER_ASSERT(reporter, tex1 == tex1->asTexture()); 46 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(tex1) == tex1->asTexture()); 61 REPORTER_ASSERT(reporter, texRT2.get() == texRT2->asTexture()); 63 texRT2->asTexture()); 65 static_cast<GrSurface*>(texRT2->asTexture())); [all...] |
H A D | SRGBMipMapTest.cpp | 145 read_and_check_pixels(reporter, s32RenderTargetContext->asTexture().get(), expectedSRGB, error, 164 read_and_check_pixels(reporter, l32RenderTargetContext->asTexture().get(), expectedLinear, 171 read_and_check_pixels(reporter, s32RenderTargetContext->asTexture().get(), expectedSRGB, error,
|
H A D | ProxyConversionTest.cpp | 31 SkASSERT(!defaultFBO->asTexture());
|
/external/skia/src/gpu/ |
H A D | GrTextureProxy.cpp | 29 return fTarget->asTexture(); 33 SkASSERT(fTarget || fTarget->asTexture()); 36 fTarget->asTexture()->texturePriv().setMipColorMode(colorMode);
|
H A D | GrTextureRenderTargetProxy.cpp | 29 , GrTextureProxy(sk_ref_sp(surf->asTexture())) 31 SkASSERT(surf->asTexture());
|
H A D | GrSurfaceProxyPriv.h | 21 return fProxy->fTarget ? fProxy->fTarget->asTexture() : nullptr;
|
H A D | GrSurface.cpp | 173 const GrTexture* thisTex = this->asTexture(); 185 const GrTexture* thisTex = this->asTexture(); 197 const GrTexture* thisTex = this->asTexture();
|
H A D | GrSurfaceProxy.cpp | 55 fTarget->asTexture()->texturePriv().setMipColorMode(fMipColorMode); 124 if (surf->asTexture()) {
|
H A D | GrRenderTargetContext.h | 381 sk_sp<GrTexture> asTexture() { function in class:GrRenderTargetContext 389 return sk_ref_sp(this->accessRenderTarget()->asTexture());
|
H A D | GrResourceProvider.cpp | 172 return surface->asTexture(); 217 GrTexture* texture = static_cast<GrSurface*>(resource)->asTexture();
|
H A D | GrGpu.cpp | 313 if (!srcSurface->asTexture() || 481 GrTexture* texture = surface->asTexture();
|
H A D | GrContext.cpp | 479 fp = this->createPMToUPMEffect(src->asTexture(), textureMatrix); 490 fp = GrSimpleTextureEffect::Make(src->asTexture(), nullptr, textureMatrix); 501 surfaceToRead.reset(tempRTC->asTexture().release());
|
H A D | GrRenderTargetContext.cpp | 1762 if (GrTexture* rtTex = rt->asTexture()) {
|
/external/skia/include/gpu/ |
H A D | GrTexture.h | 22 GrTexture* asTexture() override { return this; } 23 const GrTexture* asTexture() const override { return this; }
|
H A D | GrSurface.h | 60 virtual GrTexture* asTexture() { return NULL; } function in class:GrSurface 61 virtual const GrTexture* asTexture() const { return NULL; } function in class:GrSurface
|
H A D | GrGpuResourceRef.h | 123 return surface->asTexture();
|
/external/skia/src/core/ |
H A D | SkSpecialSurface.cpp | 139 if (!fRenderTargetContext->asTexture()) {
|
/external/skia/src/image/ |
H A D | SkSurface_Gpu.cpp | 56 GrTexture* texture = rt->asTexture(); 154 if (rt->asTexture()->getTextureHandle() == image->getTextureHandle(false)) {
|
H A D | SkImage_Gpu.cpp | 149 if (surface && surface->asTexture()) { 156 return surface->asTexture()->getTextureHandle();
|
/external/skia/src/gpu/gl/ |
H A D | GrGLGpu.cpp | 659 if (!dstSurface->asTexture()) { 662 GrGLTexture* texture = static_cast<GrGLTexture*>(dstSurface->asTexture()); 742 GrGLTexture* glTex = static_cast<GrGLTexture*>(surface->asTexture()); 769 GrGLTexture* glTex = static_cast<GrGLTexture*>(surface->asTexture()); 3327 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); 3328 const GrGLTexture* srcTex = static_cast<const GrGLTexture*>(dst->asTexture()); 3399 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); 3406 const GrGLTexture* srcTex = static_cast<const GrGLTexture*>(src->asTexture()); 3426 SkASSERT(surface->asTexture()); 3427 GrGLuint texID = static_cast<GrGLTexture*>(surface->asTexture()) [all...] |
H A D | GrGLCaps.cpp | 2074 if (src->asTexture() && this->isConfigRenderable(src->config(), false)) { 2081 const GrGLTexture* srcTexture = static_cast<const GrGLTexture*>(src->asTexture());
|
/external/skia/src/gpu/vk/ |
H A D | GrVkGpu.cpp | 321 GrVkTexture* vkTex = static_cast<GrVkTexture*>(surface->asTexture()); 1574 SkASSERT(dst->asTexture()); 1575 dstImage = static_cast<GrVkTexture*>(dst->asTexture()); 1582 SkASSERT(src->asTexture()); 1583 srcImage = static_cast<GrVkTexture*>(src->asTexture()); 1668 image = static_cast<GrVkTexture*>(surface->asTexture());
|
H A D | GrVkCaps.cpp | 62 if (src->numColorSamples() > 1 || (src->asTexture() && this->supportsCopiesAsDraws())) {
|
H A D | GrVkCopyManager.cpp | 155 GrVkTexture* srcTex = static_cast<GrVkTexture*>(src->asTexture());
|
/external/skia/src/gpu/effects/ |
H A D | GrConfigConversionEffect.cpp | 223 if (!readRTC->asTexture()) {
|