Home
last modified time | relevance | path

Searched refs:asTexture (Results 1 – 16 of 16) sorted by relevance

/external/skia/tests/
DGrSurfaceTest.cpp32 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()
DGrTextureMipMapInvalidationTest.cpp35 GrTexture* tex = texRT1->asTexture(); in DEF_GPUTEST_FOR_NULL_CONTEXT()
/external/skia/include/gpu/
DGrTexture.h21 GrTexture* asTexture() override { return this; } in asTexture() function
22 const GrTexture* asTexture() const override { return this; } in asTexture() function
DGrSurface.h60 virtual GrTexture* asTexture() { return NULL; } in asTexture() function
61 virtual const GrTexture* asTexture() const { return NULL; } in asTexture() function
DGrGpuResourceRef.h119 return surface->asTexture(); in get()
/external/skia/src/gpu/
DSkGrPixelRef.cpp105 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()
DGrSurface.cpp169 const GrTexture* thisTex = this->asTexture(); in hasPendingRead()
181 const GrTexture* thisTex = this->asTexture(); in hasPendingWrite()
193 const GrTexture* thisTex = this->asTexture(); in hasPendingIO()
DGrTextureProvider.cpp115 return surface->asTexture(); in refScratchTexture()
163 GrTexture* texture = static_cast<GrSurface*>(resource)->asTexture(); in findAndRefTextureByUniqueKey()
DGrContext.cpp437 fp.reset(this->createPMToUPMEffect(src->asTexture(), tempDrawInfo.fSwizzle, in readSurfacePixels()
448 fp.reset(GrConfigConversionEffect::Create(src->asTexture(), tempDrawInfo.fSwizzle, in readSurfacePixels()
DGrGpu.cpp281 if (!srcSurface->asTexture() || in getReadPixelsInfo()
DGrDrawTarget.cpp139 if (GrTexture* rtTex = rt->asTexture()) { in setupDstReadIfNecessary()
DSkGpuDevice.cpp1375 if (nullptr == (devTex = devRT->asTexture())) { in drawDevice()
/external/skia/src/image/
DSkSurface_Gpu.cpp51 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/
DGrVkGpu.cpp264 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/
DGrGLGpu.cpp731 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/
DSkCanvas.cpp1143 if (srcRT && !srcRT->asTexture() && dst->accessRenderTarget()) { in draw_filter_into_device()