Home
last modified time | relevance | path

Searched refs:GlTexture (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_texture.h35 class GlTexture {
38 GlTexture() in GlTexture() function
39 : GlTexture(GL_INVALID_ENUM, GL_INVALID_INDEX, GL_INVALID_ENUM, 0, 0, in GlTexture()
42 GlTexture(GLenum target, GLuint id, GLenum format, size_t bytes_size, in GlTexture() function
52 GlTexture(GlTexture&& texture);
53 GlTexture& operator=(GlTexture&& texture);
54 GlTexture(const GlTexture&) = delete;
55 GlTexture& operator=(const GlTexture&) = delete;
57 ~GlTexture();
106 GlTexture* gl_texture);
[all …]
Dgl_texture.cc29 GlTexture::GlTexture(GlTexture&& texture) in GlTexture() function in tflite::gpu::gl::GlTexture
30 : GlTexture(texture.target_, texture.id_, texture.format_, in GlTexture()
35 GlTexture& GlTexture::operator=(GlTexture&& texture) { in operator =()
50 GlTexture::~GlTexture() { in ~GlTexture()
54 void GlTexture::Invalidate() { in Invalidate()
61 absl::Status GlTexture::BindImage(uint32_t index, GLenum access) const { in BindImage()
66 absl::Status GlTexture::BindAsReadonlyImage(uint32_t index) const { in BindAsReadonlyImage()
70 absl::Status GlTexture::BindAsWriteonlyImage(uint32_t index) const { in BindAsWriteonlyImage()
74 absl::Status GlTexture::BindAsReadWriteImage(uint32_t index) const { in BindAsReadWriteImage()
78 absl::Status GlTexture::BindAsSampler2D(uint32_t index) const { in BindAsSampler2D()
[all …]
Dobject_manager.h52 absl::Status RegisterTexture(uint32_t id, GlTexture texture);
57 GlTexture* FindTexture(uint32_t id) const;
63 std::vector<std::unique_ptr<GlTexture>> textures_;
Dobject_manager.cc68 absl::Status ObjectManager::RegisterTexture(uint32_t id, GlTexture texture) { in RegisterTexture()
72 textures_[id] = absl::make_unique<GlTexture>(std::move(texture)); in RegisterTexture()
82 GlTexture* ObjectManager::FindTexture(uint32_t id) const { in FindTexture()
Druntime.cc55 GlTexture* gl_texture;
70 GlTexture* gl_texture;
74 GlTexture* gl_texture) { in MakeGlTexture()
128 GlTexture* gl_texture;
132 absl::Status MakeGlTextureRef(const Object& object, GlTexture* gl_texture) { in MakeGlTextureRef()
312 GlTexture gl_texture; in AllocateInternalObject()
342 GlTexture gl_texture; in AllocateConstObject()