Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/src/gpu/gl/
DGrGLTexture.cpp18 GrTextureType GrGLTexture::TextureTypeFromTarget(GrGLenum target) { in TextureTypeFromTarget()
45 GrGLTexture::GrGLTexture(GrGLGpu* gpu, SkBudgeted budgeted, const Desc& desc, in GrGLTexture() function in GrGLTexture
58 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, GrMipMapsStatus mipMapsStatus, in GrGLTexture() function in GrGLTexture
73 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, sk_sp<GrGLTextureParameters> parameters, in GrGLTexture() function in GrGLTexture
83 void GrGLTexture::init(const Desc& desc) { in init()
91 GrGLenum GrGLTexture::target() const { in target()
95 void GrGLTexture::onRelease() { in onRelease()
107 void GrGLTexture::onAbandon() { in onAbandon()
112 GrBackendTexture GrGLTexture::getBackendTexture() const { in getBackendTexture()
121 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 {
32 GrGLTexture(GrGLGpu*, SkBudgeted, const Desc&, GrMipMapsStatus);
34 ~GrGLTexture() override {} in ~GrGLTexture()
54 static sk_sp<GrGLTexture> MakeWrapped(GrGLGpu*,
64 GrGLTexture(GrGLGpu*, const Desc&, sk_sp<GrGLTextureParameters>, GrMipMapsStatus);
67 GrGLTexture(GrGLGpu*,
DGrGLTextureRenderTarget.cpp18 const GrGLTexture::Desc& texDesc, in GrGLTextureRenderTarget()
22 , GrGLTexture(gpu, texDesc, nullptr, mipMapsStatus) in GrGLTextureRenderTarget()
30 const GrGLTexture::Desc& texDesc, in GrGLTextureRenderTarget()
36 , GrGLTexture(gpu, texDesc, std::move(parameters), mipMapsStatus) in GrGLTextureRenderTarget()
47 GrGLTexture::dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()
65 const GrGLTexture::Desc& texDesc, in MakeWrapped()
DGrGLProgram.cpp105 static_cast<GrGLTexture*>(dstTexture)); in updateUniformsAndTextureBindings()
113 auto* tex = static_cast<GrGLTexture*>(proxies[i]->peekTexture()); in updatePrimitiveProcessorTextureBindings()
129 static_cast<GrGLTexture*>(sampler.peekTexture())); in setFragmentData()
DGrGLGpu.cpp656 const GrGLCaps& caps, GrGLTexture::Desc* desc, in check_backend_texture()
696 GrGLTexture::Desc desc; in onWrapBackendTexture()
710 auto texture = GrGLTexture::MakeWrapped(this, mipMapsStatus, desc, in onWrapBackendTexture()
722 GrGLTexture::Desc desc; in onWrapRenderableBackendTexture()
802 GrGLTexture::Desc desc; in onWrapBackendTextureAsRenderTarget()
822 static bool check_write_and_transfer_input(GrGLTexture* glTex) { in check_write_and_transfer_input()
838 auto glTex = static_cast<GrGLTexture*>(surface->asTexture()); in onWritePixels()
855 GrGLTexture* glTex = static_cast<GrGLTexture*>(texture); in onTransferPixelsTo()
1315 bool GrGLGpu::createRenderTargetObjects(const GrGLTexture::Desc& desc, in createRenderTargetObjects()
1456 GrGLTexture::Desc texDesc; in onCreateTexture()
[all …]
DGrGLGpu.h60 void bindTexture(int unitIdx, GrSamplerState samplerState, const GrSwizzle&, GrGLTexture*);
421 bool createRenderTargetObjects(const GrGLTexture::Desc&,
DGrGLCaps.cpp3627 if (auto tex = static_cast<const GrGLTexture*>(surface->asTexture())) { in onSurfaceSupportsWritePixels()
3646 if (auto tex = static_cast<const GrGLTexture*>(surface->asTexture())) { in surfaceSupportsReadPixels()
/third_party/skia/src/gpu/gl/
DGrGLTexture.cpp20 GrTextureType GrGLTexture::TextureTypeFromTarget(GrGLenum target) { in TextureTypeFromTarget()
47 GrGLTexture::GrGLTexture(GrGLGpu* gpu, SkBudgeted budgeted, const Desc& desc, in GrGLTexture() function in GrGLTexture
60 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, GrMipmapStatus mipmapStatus, in GrGLTexture() function in GrGLTexture
75 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, sk_sp<GrGLTextureParameters> parameters, in GrGLTexture() function in GrGLTexture
85 void GrGLTexture::init(const Desc& desc) { in init()
93 GrGLenum GrGLTexture::target() const { return target_from_texture_type(this->textureType()); } in target()
95 void GrGLTexture::onRelease() { in onRelease()
108 void GrGLTexture::onAbandon() { in onAbandon()
113 GrBackendTexture GrGLTexture::getBackendTexture() const { in getBackendTexture()
121 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.cpp129 auto* overrideTexture = static_cast<GrGLTexture*>(geomProcTextures[i]->peekTexture()); in bindTextures()
138 pipeline.dstProxyView().swizzle(), static_cast<GrGLTexture*>(dstTexture)); in bindTextures()
144 auto* texture = static_cast<GrGLTexture*>(te.texture()); in bindTextures()
DGrGLGpu.cpp622 GrGLTexture::Desc* desc, in check_backend_texture()
660 GrGLTexture::Desc desc; in onWrapBackendTexture()
674 auto texture = GrGLTexture::MakeWrapped(this, mipmapStatus, desc, in onWrapBackendTexture()
684 const GrGLCaps& caps, GrGLTexture::Desc* desc, in check_compressed_backend_texture()
714 GrGLTexture::Desc desc; in onWrapCompressedBackendTexture()
728 auto texture = GrGLTexture::MakeWrapped(this, mipmapStatus, desc, in onWrapCompressedBackendTexture()
740 GrGLTexture::Desc desc; in onWrapRenderableBackendTexture()
811 static bool check_write_and_transfer_input(GrGLTexture* glTex) { in check_write_and_transfer_input()
831 auto glTex = static_cast<GrGLTexture*>(surface->asTexture()); in onWritePixels()
874 GrGLTexture* glTex = static_cast<GrGLTexture*>(texture); in onTransferPixelsTo()
[all …]
DGrGLGpu.h53 void bindTexture(int unitIdx, GrSamplerState samplerState, const GrSwizzle&, GrGLTexture*);
512 bool createRenderTargetObjects(const GrGLTexture::Desc&,
DGrGLRenderTarget.cpp191 auto* glTex = static_cast<GrGLTexture*>(this->asTexture()); in bindInternal()
/third_party/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()
/third_party/flutter/skia/tests/
DTraceMemoryDumpTest.cpp88 GrGLTexture::Desc desc; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
97 sk_make_sp<GrGLTexture>(gpu, SkBudgeted::kNo, desc, GrMipMapsStatus::kNotAllocated); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
106 GrGLTexture::Desc desc; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
117 GrGLTexture::MakeWrapped(gpu, GrMipMapsStatus::kNotAllocated, desc, std::move(params), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DGLBackendSurfaceTest.cpp69 auto texture = static_cast<GrGLTexture*>(texProxy->peekTexture()); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
/third_party/flutter/skia/include/gpu/
DGrBackendSurface.h276 friend class GrGLTexture;
/third_party/skia/src/gpu/
DBUILD.bazel467 "gl/GrGLTexture.cpp",
468 "gl/GrGLTexture.h",
/third_party/skia/include/gpu/
DGrBackendSurface.h393 friend class GrGLTexture; variable
/third_party/flutter/skia/gn/
Dgpu.gni455 "$_src/gpu/gl/GrGLTexture.cpp",
456 "$_src/gpu/gl/GrGLTexture.h",
/third_party/skia/gn/
Dgpu.gni458 "$_src/gpu/gl/GrGLTexture.cpp",
459 "$_src/gpu/gl/GrGLTexture.h",

12