Flutter Engine
The Flutter Engine
Namespaces | Enumerations | Functions
formats.h File Reference
#include "fml/logging.h"
#include "impeller/core/formats.h"
#include "impeller/core/shader_types.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 
namespace  flutter::gpu
 

Enumerations

enum class  flutter::gpu::FlutterGPUStorageMode { flutter::gpu::kHostVisible , flutter::gpu::kDevicePrivate , flutter::gpu::kDeviceTransient }
 
enum class  flutter::gpu::FlutterGPUPixelFormat {
  flutter::gpu::kUnknown , flutter::gpu::kA8UNormInt , flutter::gpu::kR8UNormInt , flutter::gpu::kR8G8UNormInt ,
  flutter::gpu::kR8G8B8A8UNormInt , flutter::gpu::kR8G8B8A8UNormIntSRGB , flutter::gpu::kB8G8R8A8UNormInt , flutter::gpu::kB8G8R8A8UNormIntSRGB ,
  flutter::gpu::kR32G32B32A32Float , flutter::gpu::kR16G16B16A16Float , flutter::gpu::kB10G10R10XR , flutter::gpu::kB10G10R10XRSRGB ,
  flutter::gpu::kB10G10R10A10XR , flutter::gpu::kS8UInt , flutter::gpu::kD24UnormS8Uint , flutter::gpu::kD32FloatS8UInt
}
 
enum class  flutter::gpu::FlutterGPUTextureCoordinateSystem { flutter::gpu::kUploadFromHost , flutter::gpu::kRenderToTexture }
 
enum class  flutter::gpu::FlutterGPUBlendFactor {
  flutter::gpu::kZero , flutter::gpu::kOne , flutter::gpu::kSourceColor , flutter::gpu::kOneMinusSourceColor ,
  flutter::gpu::kSourceAlpha , flutter::gpu::kOneMinusSourceAlpha , flutter::gpu::kDestinationColor , flutter::gpu::kOneMinusDestinationColor ,
  flutter::gpu::kDestinationAlpha , flutter::gpu::kOneMinusDestinationAlpha , flutter::gpu::kSourceAlphaSaturated , flutter::gpu::kBlendColor ,
  flutter::gpu::kOneMinusBlendColor , flutter::gpu::kBlendAlpha , flutter::gpu::kOneMinusBlendAlpha
}
 
enum class  flutter::gpu::FlutterGPUBlendOperation { flutter::gpu::kAdd , flutter::gpu::kSubtract , flutter::gpu::kReverseSubtract }
 
enum class  flutter::gpu::FlutterGPULoadAction { flutter::gpu::kDontCare , flutter::gpu::kLoad , flutter::gpu::kClear }
 
enum class  flutter::gpu::FlutterGPUStoreAction { flutter::gpu::kDontCare , flutter::gpu::kStore , flutter::gpu::kMultisampleResolve , flutter::gpu::kStoreAndMultisampleResolve }
 
enum class  flutter::gpu::FlutterGPUShaderStage { flutter::gpu::kVertex , flutter::gpu::kFragment }
 
enum class  flutter::gpu::FlutterGPUMinMagFilter { flutter::gpu::kNearest , flutter::gpu::kLinear }
 
enum class  flutter::gpu::FlutterGPUMipFilter { flutter::gpu::kNearest , flutter::gpu::kLinear }
 
enum class  flutter::gpu::FlutterGPUSamplerAddressMode { flutter::gpu::kClampToEdge , flutter::gpu::kRepeat , flutter::gpu::kMirror }
 
enum class  flutter::gpu::FlutterGPUIndexType { flutter::gpu::k16bit , flutter::gpu::k32bit }
 
enum class  flutter::gpu::FlutterGPUPrimitiveType {
  flutter::gpu::kTriangle , flutter::gpu::kTriangleStrip , flutter::gpu::kLine , flutter::gpu::kLineStrip ,
  flutter::gpu::kPoint
}
 
enum class  flutter::gpu::FlutterGPUCompareFunction {
  flutter::gpu::kNever , flutter::gpu::kAlways , flutter::gpu::kLess , flutter::gpu::kEqual ,
  flutter::gpu::kLessEqual , flutter::gpu::kGreater , flutter::gpu::kNotEqual , flutter::gpu::kGreaterEqual
}
 
enum class  flutter::gpu::FlutterGPUStencilOperation {
  flutter::gpu::kKeep , flutter::gpu::kZero , flutter::gpu::kSetToReferenceValue , flutter::gpu::kIncrementClamp ,
  flutter::gpu::kDecrementClamp , flutter::gpu::kInvert , flutter::gpu::kIncrementWrap , flutter::gpu::kDecrementWrap
}
 

Functions

constexpr impeller::StorageMode flutter::gpu::ToImpellerStorageMode (FlutterGPUStorageMode value)
 
constexpr impeller::StorageMode flutter::gpu::ToImpellerStorageMode (int value)
 
constexpr impeller::PixelFormat flutter::gpu::ToImpellerPixelFormat (FlutterGPUPixelFormat value)
 
constexpr impeller::PixelFormat flutter::gpu::ToImpellerPixelFormat (int value)
 
constexpr FlutterGPUPixelFormat flutter::gpu::FromImpellerPixelFormat (impeller::PixelFormat value)
 
constexpr impeller::TextureCoordinateSystem flutter::gpu::ToImpellerTextureCoordinateSystem (FlutterGPUTextureCoordinateSystem value)
 
constexpr impeller::TextureCoordinateSystem flutter::gpu::ToImpellerTextureCoordinateSystem (int value)
 
constexpr impeller::BlendFactor flutter::gpu::ToImpellerBlendFactor (FlutterGPUBlendFactor value)
 
constexpr impeller::BlendFactor flutter::gpu::ToImpellerBlendFactor (int value)
 
constexpr impeller::BlendOperation flutter::gpu::ToImpellerBlendOperation (FlutterGPUBlendOperation value)
 
constexpr impeller::BlendOperation flutter::gpu::ToImpellerBlendOperation (int value)
 
constexpr impeller::LoadAction flutter::gpu::ToImpellerLoadAction (FlutterGPULoadAction value)
 
constexpr impeller::LoadAction flutter::gpu::ToImpellerLoadAction (int value)
 
constexpr impeller::StoreAction flutter::gpu::ToImpellerStoreAction (FlutterGPUStoreAction value)
 
constexpr impeller::StoreAction flutter::gpu::ToImpellerStoreAction (int value)
 
constexpr impeller::ShaderStage flutter::gpu::ToImpellerShaderStage (FlutterGPUShaderStage value)
 
constexpr impeller::ShaderStage flutter::gpu::ToImpellerShaderStage (int value)
 
constexpr FlutterGPUShaderStage flutter::gpu::FromImpellerShaderStage (impeller::ShaderStage value)
 
constexpr impeller::MinMagFilter flutter::gpu::ToImpellerMinMagFilter (FlutterGPUMinMagFilter value)
 
constexpr impeller::MinMagFilter flutter::gpu::ToImpellerMinMagFilter (int value)
 
constexpr impeller::MipFilter flutter::gpu::ToImpellerMipFilter (FlutterGPUMipFilter value)
 
constexpr impeller::MipFilter flutter::gpu::ToImpellerMipFilter (int value)
 
constexpr impeller::SamplerAddressMode flutter::gpu::ToImpellerSamplerAddressMode (FlutterGPUSamplerAddressMode value)
 
constexpr impeller::SamplerAddressMode flutter::gpu::ToImpellerSamplerAddressMode (int value)
 
constexpr impeller::IndexType flutter::gpu::ToImpellerIndexType (FlutterGPUIndexType value)
 
constexpr impeller::IndexType flutter::gpu::ToImpellerIndexType (int value)
 
constexpr impeller::PrimitiveType flutter::gpu::ToImpellerPrimitiveType (FlutterGPUPrimitiveType value)
 
constexpr impeller::PrimitiveType flutter::gpu::ToImpellerPrimitiveType (int value)
 
constexpr impeller::CompareFunction flutter::gpu::ToImpellerCompareFunction (FlutterGPUCompareFunction value)
 
constexpr impeller::CompareFunction flutter::gpu::ToImpellerCompareFunction (int value)
 
constexpr impeller::StencilOperation flutter::gpu::ToImpellerStencilOperation (FlutterGPUStencilOperation value)
 
constexpr impeller::StencilOperation flutter::gpu::ToImpellerStencilOperation (int value)