Searched refs:asTexture (Results 1 – 16 of 16) sorted by relevance
/external/skia/tests/ |
D | GrSurfaceTest.cpp | 32 REPORTER_ASSERT(reporter, texRT1 == texRT1->asTexture()); in DEF_GPUTEST_FOR_NULL_CONTEXT() 34 texRT1->asTexture()); in DEF_GPUTEST_FOR_NULL_CONTEXT() 36 static_cast<GrSurface*>(texRT1->asTexture())); in DEF_GPUTEST_FOR_NULL_CONTEXT() 38 static_cast<GrSurface*>(texRT1->asTexture())); in DEF_GPUTEST_FOR_NULL_CONTEXT() 43 REPORTER_ASSERT(reporter, tex1 == tex1->asTexture()); in DEF_GPUTEST_FOR_NULL_CONTEXT() 44 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(tex1) == tex1->asTexture()); in DEF_GPUTEST_FOR_NULL_CONTEXT() 59 REPORTER_ASSERT(reporter, texRT2 == texRT2->asTexture()); in DEF_GPUTEST_FOR_NULL_CONTEXT() 61 texRT2->asTexture()); in DEF_GPUTEST_FOR_NULL_CONTEXT() 63 static_cast<GrSurface*>(texRT2->asTexture())); in DEF_GPUTEST_FOR_NULL_CONTEXT() 65 static_cast<GrSurface*>(texRT2->asTexture())); in DEF_GPUTEST_FOR_NULL_CONTEXT()
|
D | GrTextureMipMapInvalidationTest.cpp | 35 GrTexture* tex = texRT1->asTexture(); in DEF_GPUTEST_FOR_NULL_CONTEXT()
|
/external/skia/include/gpu/ |
D | GrTexture.h | 21 GrTexture* asTexture() override { return this; } in asTexture() function 22 const GrTexture* asTexture() const override { return this; } in asTexture() function
|
D | GrSurface.h | 60 virtual GrTexture* asTexture() { return NULL; } in asTexture() function 61 virtual const GrTexture* asTexture() const { return NULL; } in asTexture() function
|
D | GrGpuResourceRef.h | 119 return surface->asTexture(); in get()
|
/external/skia/src/gpu/ |
D | SkGrPixelRef.cpp | 105 fSurface = SkSafeRef(surface->asTexture()); in SkGrPixelRef() 122 return fSurface->asTexture(); in getTexture() 146 return copy_to_new_texture_pixelref(fSurface->asTexture(), dstCT, dstPT, subset); in deepCopy()
|
D | GrSurface.cpp | 169 const GrTexture* thisTex = this->asTexture(); in hasPendingRead() 181 const GrTexture* thisTex = this->asTexture(); in hasPendingWrite() 193 const GrTexture* thisTex = this->asTexture(); in hasPendingIO()
|
D | GrTextureProvider.cpp | 115 return surface->asTexture(); in refScratchTexture() 163 GrTexture* texture = static_cast<GrSurface*>(resource)->asTexture(); in findAndRefTextureByUniqueKey()
|
D | GrContext.cpp | 437 fp.reset(this->createPMToUPMEffect(src->asTexture(), tempDrawInfo.fSwizzle, in readSurfacePixels() 448 fp.reset(GrConfigConversionEffect::Create(src->asTexture(), tempDrawInfo.fSwizzle, in readSurfacePixels()
|
D | GrGpu.cpp | 281 if (!srcSurface->asTexture() || in getReadPixelsInfo()
|
D | GrDrawTarget.cpp | 139 if (GrTexture* rtTex = rt->asTexture()) { in setupDstReadIfNecessary()
|
D | SkGpuDevice.cpp | 1375 if (nullptr == (devTex = devRT->asTexture())) { in drawDevice()
|
/external/skia/src/image/ |
D | SkSurface_Gpu.cpp | 51 GrTexture* texture = rt->asTexture(); in onGetTextureHandle() 83 GrTexture* tex = rt->asTexture(); in onNewImageSnapshot() 117 if (rt->asTexture() == as_IB(image)->getTexture()) { in onCopyOnWrite()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 264 GrVkTexture* vkTex = static_cast<GrVkTexture*>(surface->asTexture()); in onWritePixels() 693 SkASSERT(rt->asTexture()); in createStencilAttachmentForRenderTarget() 970 if (src->asTexture() && in can_copy_image() 971 dst->asTexture() && in can_copy_image() 990 GrVkTexture* dstTex = static_cast<GrVkTexture*>(dst->asTexture()); in copySurfaceAsCopyImage() 991 GrVkTexture* srcTex = static_cast<GrVkTexture*>(src->asTexture()); in copySurfaceAsCopyImage() 1111 GrVkTexture* tgt = static_cast<GrVkTexture*>(surface->asTexture()); in onReadPixels()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 731 if (!dstSurface->asTexture()) { in onGetWritePixelsInfo() 734 GrGLTexture* texture = static_cast<GrGLTexture*>(dstSurface->asTexture()); in onGetWritePixelsInfo() 814 GrGLTexture* glTex = static_cast<GrGLTexture*>(surface->asTexture()); in onWritePixels() 846 GrGLTexture* glTex = static_cast<GrGLTexture*>(surface->asTexture()); in onTransferPixels() 2558 if (GrTexture* texture = surface->asTexture()) { in didWriteToSurface() 3168 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_blit_framebuffer() 3172 const GrGLTexture* srcTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_blit_framebuffer() 3205 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_copy_texsubimage() 3212 const GrGLTexture* srcTex = static_cast<const GrGLTexture*>(src->asTexture()); in can_copy_texsubimage() 3233 SkASSERT(surface->asTexture()); in bindSurfaceFBOForCopy() [all …]
|
/external/skia/src/core/ |
D | SkCanvas.cpp | 1143 if (srcRT && !srcRT->asTexture() && dst->accessRenderTarget()) { in draw_filter_into_device()
|