| Flutter Impeller |

Namespaces | Functions
texture_gles.cc File Reference
`#include "impeller/renderer/backend/gles/texture_gles.h"`
`#include <format>`
`#include <optional>`
`#include <utility>`
`#include "flutter/fml/logging.h"`
`#include "flutter/fml/mapping.h"`
`#include "flutter/fml/trace_event.h"`
`#include "impeller/base/allocation.h"`
`#include "impeller/base/validation.h"`
`#include "impeller/core/formats.h"`
`#include "impeller/core/texture_descriptor.h"`
`#include "impeller/renderer/backend/gles/formats_gles.h"`
`#include "impeller/renderer/backend/gles/handle_gles.h"`

Go to the source code of this file.

## Namespaces
| impeller

## Functions
HandleType | impeller::ToHandleType (TextureGLES::Type type)
static std::optional< GLenum > | impeller::ToRenderBufferFormat (PixelFormat format)
static GLenum | impeller::ToAttachmentType (TextureGLES::AttachmentType point)

## Variable Documentation

## ◆ data

std::shared_ptr<const fml::Mapping> data

Definition at line 69 of file texture_gles.cc.

Referenced by impeller::compiler::RuntimeStageData::AddShader(), IMPELLER_HPP_NAMESPACE::ParagraphBuilder::AddText(), impeller::interop::ParagraphBuilder::AddText(), impeller::AppendColor(), impeller::android::SurfaceTransaction::Apply(), impeller::BulkUpdateAtlasBitmap(), impeller::testing::CompareFunctionUI(), impeller::ContentContext::ContentContext(), impeller::compiler::ConvertToEntrypointName(), impeller::DlAtlasGeometry::CreateBlendVertexBuffer(), impeller::DrawImageRectAtlasGeometry::CreateBlendVertexBuffer(), impeller::CreateGradientBuffer(), impeller::DlAtlasGeometry::CreateSimpleVertexBuffer(), impeller::DrawImageRectAtlasGeometry::CreateSimpleVertexBuffer(), impeller::CreateTexture(), impeller::CompressedImageSkia::Decode(), impeller::DisplayListToTexture(), impeller::BlitCopyBufferToTextureCommandGLES::Encode(), impeller::BlitCopyTextureToBufferCommandGLES::Encode(), impeller::interop::FragmentProgram::FragmentProgram(), impeller::CommandPoolRecyclerVK::Get(), impeller::ShadowVertices::GetPositionBuffer(), impeller::DlVerticesGeometry::GetPositionUVColorBuffer(), impeller::GetShaderSource(), impeller::interop::ImpellerColorSourceCreateFragmentProgramNew(), impeller::interop::ImpellerFragmentProgramNew(), impeller::interop::ImpellerImageFilterCreateFragmentProgramNew(), impeller::interop::ImpellerParagraphBuilderAddText(), impeller::interop::MakeCopyableMapping(), impeller::MTLShaderLibraryFromFileData(), impeller::interop::testing::PlaygroundTest::OpenAssetAsHPPMapping(), impeller::android::Choreographer::PostFrameCallback(), impeller::interop::ReadSamplersAndUniforms(), impeller::compiler::Includer::ReleaseInclude(), impeller::compiler::UniqueIncluder::ReleaseInclude(), impeller::TextContents::Render(), impeller::RenderToTarget(), impeller::FirstPassDispatcher::saveLayer(), impeller::TextureSourceVK::SetCachedFrameData(), impeller::TextureVK::SetCachedFrameData(), impeller::TessellatorLibtess::Tessellate(), impeller::testing::TEST(), impeller::testing::TEST_P(), impeller::UpdateAtlasBitmap(), and IMPELLER_HPP_NAMESPACE::FragmentProgram::WithData().

## ◆ external_format

GLenum external_format = GL_NONE

Definition at line 67 of file texture_gles.cc.

## ◆ internal_format

GLint internal_format = 0

Definition at line 66 of file texture_gles.cc.

## ◆ type

GLenum type = GL_NONE

Definition at line 68 of file texture_gles.cc.

Referenced by impeller::TextureGLES::Bind(), impeller::TextureGLES::GenerateMipmap(), and impeller::ToHandleType().