Home
last modified time | relevance | path

Searched refs:GrGLTexture (Results 1 – 25 of 25) sorted by relevance

/external/skqp/src/gpu/gl/
DGrGLTexture.cpp18 GrTextureType GrGLTexture::TextureTypeFromTarget(GrGLenum target) { in TextureTypeFromTarget()
45 GrGLTexture::GrGLTexture(GrGLGpu* gpu, SkBudgeted budgeted, const GrSurfaceDesc& desc, in GrGLTexture() function in GrGLTexture
56 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, GrMipMapsStatus mipMapsStatus, in GrGLTexture() function in GrGLTexture
67 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, in GrGLTexture() function in GrGLTexture
74 void GrGLTexture::init(const GrSurfaceDesc& desc, const IDDesc& idDesc) { in init()
83 GrGLenum GrGLTexture::target() const { in target()
87 void GrGLTexture::onRelease() { in onRelease()
98 void GrGLTexture::onAbandon() { in onAbandon()
104 GrBackendTexture GrGLTexture::getBackendTexture() const { in getBackendTexture()
112 GrBackendFormat GrGLTexture::backendFormat() const { in backendFormat()
[all …]
DGrGLTextureRenderTarget.h23 class GrGLTextureRenderTarget : public GrGLTexture, public GrGLRenderTarget {
30 const GrGLTexture::IDDesc& texIDDesc,
39 const GrGLTexture::IDDesc& texIDDesc,
45 return GrGLTexture::backendFormat(); in backendFormat()
51 GrGLTexture::onAbandon(); in onAbandon()
56 GrGLTexture::onRelease(); in onRelease()
63 const GrGLTexture::IDDesc& texIDDesc,
DGrGLTextureRenderTarget.cpp18 const GrGLTexture::IDDesc& texIDDesc, in GrGLTextureRenderTarget()
22 , GrGLTexture(gpu, desc, texIDDesc, mipMapsStatus) in GrGLTextureRenderTarget()
29 const GrGLTexture::IDDesc& texIDDesc, in GrGLTextureRenderTarget()
34 , GrGLTexture(gpu, desc, texIDDesc, mipMapsStatus) in GrGLTextureRenderTarget()
44 GrGLTexture::dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()
60 GrGLGpu* gpu, const GrSurfaceDesc& desc, const GrGLTexture::IDDesc& texIDDesc, in MakeWrapped()
DGrGLTexture.h18 class GrGLTexture : public GrTexture {
65 GrGLTexture(GrGLGpu*, SkBudgeted, const GrSurfaceDesc&, const IDDesc&, GrMipMapsStatus);
67 ~GrGLTexture() override { in ~GrGLTexture()
113 static sk_sp<GrGLTexture> MakeWrapped(GrGLGpu*, const GrSurfaceDesc&, GrMipMapsStatus,
120 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, GrMipMapsStatus);
123 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, GrMipMapsStatus, const IDDesc&, GrWrapCacheable,
DGrGLProgram.cpp104 static_cast<GrGLTexture*>(dstTexture)); in updateUniformsAndTextureBindings()
112 auto* tex = static_cast<GrGLTexture*>(proxies[i]->peekTexture()); in updatePrimitiveProcessorTextureBindings()
127 static_cast<GrGLTexture*>(sampler.peekTexture())); in setFragmentData()
DGrGLGpu.cpp617 GrGLTexture::IDDesc* idDesc) { in check_backend_texture()
642 GrGLTexture::IDDesc idDesc; in onWrapBackendTexture()
666 GrGLTexture::MakeWrapped(this, surfDesc, mipMapsStatus, idDesc, cacheable, ioType); in onWrapBackendTexture()
676 GrGLTexture::IDDesc idDesc; in onWrapRenderableBackendTexture()
774 static bool check_write_and_transfer_input(GrGLTexture* glTex) { in check_write_and_transfer_input()
790 auto glTex = static_cast<GrGLTexture*>(surface->asTexture()); in onWritePixels()
851 GrGLTexture* glTex = static_cast<GrGLTexture*>(texture); in onTransferPixels()
1521 static GrGLTexture::SamplerParams set_initial_texture_params(const GrGLInterface* interface, in set_initial_texture_params()
1526 GrGLTexture::SamplerParams params; in set_initial_texture_params()
1568 GrGLTexture::IDDesc idDesc; in onCreateTexture()
[all …]
DGrGLGpu.h59 void bindTexture(int unitIdx, GrSamplerState samplerState, GrGLTexture* texture);
212 GrGLTexture::SamplerParams* initialTexParams, const GrMipLevel texels[],
DGrGLCaps.cpp2323 const GrGLTexture* glSrcTexture = static_cast<const GrGLTexture*>(srcTexture); in initDescForDstCopy()
2818 if (auto tex = static_cast<const GrGLTexture*>(surface->asTexture())) { in onSurfaceSupportsWritePixels()
2836 if (auto tex = static_cast<const GrGLTexture*>(surface->asTexture())) { in surfaceSupportsReadPixels()
/external/skia/src/gpu/gl/
DGrGLTexture.cpp19 GrTextureType GrGLTexture::TextureTypeFromTarget(GrGLenum target) { in TextureTypeFromTarget()
46 GrGLTexture::GrGLTexture(GrGLGpu* gpu, SkBudgeted budgeted, const Desc& desc, in GrGLTexture() function in GrGLTexture
59 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, GrMipmapStatus mipmapStatus, in GrGLTexture() function in GrGLTexture
74 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, sk_sp<GrGLTextureParameters> parameters, in GrGLTexture() function in GrGLTexture
84 void GrGLTexture::init(const Desc& desc) { in init()
92 GrGLenum GrGLTexture::target() const { return target_from_texture_type(this->textureType()); } in target()
94 void GrGLTexture::onRelease() { in onRelease()
107 void GrGLTexture::onAbandon() { in onAbandon()
112 GrBackendTexture GrGLTexture::getBackendTexture() const { in getBackendTexture()
120 GrBackendFormat GrGLTexture::backendFormat() const { in backendFormat()
[all …]
DGrGLTextureRenderTarget.h23 class GrGLTextureRenderTarget : public GrGLTexture, public GrGLRenderTarget {
30 const GrGLTexture::Desc& texDesc,
40 const GrGLTexture::Desc&,
48 return GrGLTexture::backendFormat(); in backendFormat()
54 GrGLTexture::onAbandon(); in onAbandon()
59 GrGLTexture::onRelease(); in onRelease()
66 const GrGLTexture::Desc& texDesc,
DGrGLTexture.h19 class GrGLTexture : public GrTexture {
31 GrGLTexture(GrGLGpu*, SkBudgeted, const Desc&, GrMipmapStatus);
33 ~GrGLTexture() override {} in ~GrGLTexture()
53 static sk_sp<GrGLTexture> MakeWrapped(GrGLGpu*,
63 GrGLTexture(GrGLGpu*, const Desc&, sk_sp<GrGLTextureParameters>, GrMipmapStatus);
66 GrGLTexture(GrGLGpu*,
DGrGLTextureRenderTarget.cpp19 const GrGLTexture::Desc& texDesc, in GrGLTextureRenderTarget()
23 , GrGLTexture(gpu, texDesc, nullptr, mipmapStatus) in GrGLTextureRenderTarget()
30 const GrGLTexture::Desc& texDesc, in GrGLTextureRenderTarget()
36 , GrGLTexture(gpu, texDesc, std::move(parameters), mipmapStatus) in GrGLTextureRenderTarget()
47 GrGLTexture::dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()
66 const GrGLTexture::Desc& texDesc, in MakeWrapped()
DGrGLProgram.cpp132 auto* overrideTexture = static_cast<GrGLTexture*>(geomProcTextures[i]->peekTexture()); in bindTextures()
141 auto* texture = static_cast<GrGLTexture*>(te.texture()); in bindTextures()
149 pipeline.dstProxyView().swizzle(), static_cast<GrGLTexture*>(dstTexture)); in bindTextures()
DGrGLGpu.cpp616 GrGLTexture::Desc* desc, in check_backend_texture()
654 GrGLTexture::Desc desc; in onWrapBackendTexture()
668 auto texture = GrGLTexture::MakeWrapped(this, mipmapStatus, desc, in onWrapBackendTexture()
678 const GrGLCaps& caps, GrGLTexture::Desc* desc, in check_compressed_backend_texture()
708 GrGLTexture::Desc desc; in onWrapCompressedBackendTexture()
722 auto texture = GrGLTexture::MakeWrapped(this, mipmapStatus, desc, in onWrapCompressedBackendTexture()
734 GrGLTexture::Desc desc; in onWrapRenderableBackendTexture()
805 static bool check_write_and_transfer_input(GrGLTexture* glTex) { in check_write_and_transfer_input()
822 auto glTex = static_cast<GrGLTexture*>(surface->asTexture()); in onWritePixels()
858 GrGLTexture* glTex = static_cast<GrGLTexture*>(texture); in onTransferPixelsTo()
[all …]
DGrGLRenderTarget.cpp201 if (GrGLTexture* glTex = static_cast<GrGLTexture*>(this->asTexture())) { in ensureDynamicMSAAAttachment()
DGrGLGpu.h53 void bindTexture(int unitIdx, GrSamplerState samplerState, const GrSwizzle&, GrGLTexture*);
488 bool createRenderTargetObjects(const GrGLTexture::Desc&,
DGrGLCaps.cpp4127 if (auto tex = static_cast<const GrGLTexture*>(surface->asTexture())) { in onSurfaceSupportsWritePixels()
4147 if (auto tex = static_cast<const GrGLTexture*>(surface->asTexture())) { in surfaceSupportsReadPixels()
/external/skia/tests/
DTraceMemoryDumpTest.cpp93 GrGLTexture::Desc desc; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
101 sk_make_sp<GrGLTexture>(gpu, SkBudgeted::kNo, desc, GrMipmapStatus::kNotAllocated); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
110 GrGLTexture::Desc desc; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
120 GrGLTexture::MakeWrapped(gpu, GrMipmapStatus::kNotAllocated, desc, std::move(params), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
171 GrGLTexture::Desc texDesc; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DGLBackendSurfaceTest.cpp76 auto texture = static_cast<GrGLTexture*>(proxy->peekTexture()); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
/external/skqp/tests/
DTraceMemoryDumpTest.cpp100 GrGLTexture::IDDesc idDesc; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
104 auto texture = sk_make_sp<GrGLTexture>(gpu, SkBudgeted::kNo, desc, idDesc, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
126 GrGLTexture::IDDesc idDesc; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
130 auto texture = GrGLTexture::MakeWrapped(gpu, desc, GrMipMapsStatus::kNotAllocated, idDesc, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/include/gpu/
DGrBackendSurface.h361 friend class GrGLTexture; variable
/external/skqp/gn/
Dgpu.gni446 "$_src/gpu/gl/GrGLTexture.cpp",
447 "$_src/gpu/gl/GrGLTexture.h",
/external/skia/gn/
Dgpu.gni598 "$_src/gpu/gl/GrGLTexture.cpp",
599 "$_src/gpu/gl/GrGLTexture.h",
/external/skqp/
DAndroid.bp985 "src/gpu/gl/GrGLTexture.cpp",
/external/skia/
DAndroid.bp601 "src/gpu/gl/GrGLTexture.cpp",
1585 "src/gpu/gl/GrGLTexture.cpp",