Namespaces | |
android | |
compiler | |
egl | |
saturated | |
scene | |
skia_conversions | |
testing | |
Classes | |
class | AHBTextureSourceVK |
A texture source that wraps an instance of AHardwareBuffer. More... | |
class | AiksContext |
class | AiksInspector |
class | AiksPlayground |
class | AllocatedTextureSourceVK |
class | Allocation |
class | Allocator |
An object that allocates device memory. More... | |
class | AllocatorGLES |
class | AllocatorMTL |
class | AllocatorVK |
struct | AllocatorVMATraits |
class | AnonymousContents |
struct | AtlasBlenderKey |
class | AtlasColorContents |
class | AtlasContents |
class | AtlasTextureContents |
struct | Attachment |
struct | AutoErrorCheck |
class | BackendCast |
class | BackgroundCommandPoolVK |
class | BackgroundDescriptorPoolVK |
struct | BarrierVK |
Defines an operations and memory access barrier on a resource. More... | |
struct | Bindings |
class | BitmapSTB |
class | BlendColorFilter |
class | BlendFilterContents |
struct | BlitCommand |
struct | BlitCopyBufferToTextureCommand |
struct | BlitCopyBufferToTextureCommandMTL |
struct | BlitCopyBufferToTextureCommandVK |
struct | BlitCopyTextureToBufferCommand |
struct | BlitCopyTextureToBufferCommandGLES |
struct | BlitCopyTextureToBufferCommandMTL |
struct | BlitCopyTextureToBufferCommandVK |
struct | BlitCopyTextureToTextureCommand |
struct | BlitCopyTextureToTextureCommandGLES |
struct | BlitCopyTextureToTextureCommandMTL |
struct | BlitCopyTextureToTextureCommandVK |
struct | BlitEncodeGLES |
Mixin for dispatching GLES commands. More... | |
struct | BlitEncodeMTL |
Mixin for dispatching Metal commands. More... | |
struct | BlitEncodeVK |
Mixin for dispatching Vulkan commands. More... | |
struct | BlitGenerateMipmapCommand |
struct | BlitGenerateMipmapCommandGLES |
struct | BlitGenerateMipmapCommandMTL |
struct | BlitGenerateMipmapCommandVK |
class | BlitPass |
Blit passes encode blit into the underlying command buffer. More... | |
class | BlitPassGLES |
class | BlitPassMTL |
class | BlitPassVK |
class | BlurImageFilter |
struct | BlurParameters |
class | BorderMaskBlurFilterContents |
struct | BufferAndUniformSlot |
combines the buffer resource and its uniform slot information. More... | |
class | BufferBindingsGLES |
Sets up stage bindings for single draw call in the OpenGLES backend. More... | |
struct | BufferView |
struct | BufferVMA |
struct | BufferVMATraits |
class | Canvas |
struct | CanvasStackEntry |
class | Capabilities |
class | CapabilitiesBuilder |
class | CapabilitiesGLES |
The Vulkan layers and extensions wrangler. More... | |
class | CapabilitiesVK |
The Vulkan layers and extensions wrangler. More... | |
class | Capture |
class | CaptureContext |
struct | CaptureCursorListElement |
struct | CaptureElement |
class | CapturePlaybackList |
struct | CaptureProcTable |
struct | CaptureProperty |
A capturable property type. More... | |
class | CheckerboardContents |
class | CircleGeometry |
class | ClipContents |
struct | ClipCoverageLayer |
class | ClipRestoreContents |
struct | Color |
struct | ColorAttachment |
struct | ColorAttachmentDescriptor |
Describe the color attachment that will be used with this pipeline. More... | |
class | ColorFilter |
class | ColorFilterContents |
struct | ColorHSB |
class | ColorImageFilter |
struct | ColorMatrix |
class | ColorMatrixFilterContents |
class | ColorSource |
class | ColorSourceContents |
struct | Command |
An object used to specify work to the GPU along with references to resources the GPU will used when doing said work. More... | |
class | CommandBuffer |
A collection of encoded commands to be submitted to the GPU for execution. A command buffer is obtained from a graphics Context . More... | |
class | CommandBufferGLES |
class | CommandBufferMTL |
class | CommandBufferVK |
class | CommandEncoderFactoryVK |
class | CommandEncoderVK |
class | CommandPoolRecyclerVK |
Creates and manages the lifecycle of |vk::CommandPool| objects. More... | |
class | CommandPoolVK |
Manages the lifecycle of a single |vk::CommandPool|. More... | |
class | CommandQueue |
An interface for submitting command buffers to the GPU for encoding and execution. More... | |
class | CommandQueueVK |
class | Comparable |
class | ComparableBase |
struct | ComparableEqual |
struct | ComparableHash |
class | ComposedColorFilter |
Applies color filters as f(g(x)), where x is the input color. More... | |
class | ComposeImageFilter |
class | CompressedImage |
class | CompressedImageSkia |
class | ComputePass |
Compute passes encode compute shader into the underlying command buffer. More... | |
struct | ComputePassBindingsCacheMTL |
Ensures that bindings on the pass are not redundantly set or updated. Avoids making the driver do additional checks and makes the frame insights during profiling and instrumentation not complain about the same. More... | |
class | ComputePassMTL |
class | ComputePassVK |
struct | ComputePipelineBuilder |
An optional (but highly recommended) utility for creating pipelines from reflected shader information. More... | |
class | ComputePipelineDescriptor |
class | ComputePipelineMTL |
class | ComputePipelineT |
class | ComputePipelineVK |
class | ComputePlaygroundTest |
class | ComputeTessellator |
A utility that generates triangles of the specified fill type given a path. More... | |
class | ConditionVariable |
A condition variable exactly similar to the one in libcxx with two major differences: More... | |
class | ConicalGradientContents |
class | ContentContext |
struct | ContentContextOptions |
class | Contents |
class | ContentsFilterInput |
class | Context |
To do anything rendering related with Impeller, you need a context. More... | |
class | ContextGLES |
class | ContextMTL |
class | ContextVK |
struct | ContourComponent |
class | CoverGeometry |
A geometry that implements "drawPaint" like behavior by covering the entire render pass area. More... | |
struct | CubicPathComponent |
class | DebugReportVK |
class | DecompressedImage |
class | DefaultEntityPassDelegate |
struct | Degrees |
struct | DepthAttachment |
struct | DepthAttachmentDescriptor |
struct | DepthRange |
class | DescriptionGLES |
class | DescriptorPoolRecyclerVK |
Creates and manages the lifecycle of |vk::DescriptorPoolVK| objects. More... | |
struct | DescriptorPoolSize |
class | DescriptorPoolVK |
A per-frame descriptor pool. Descriptors from this pool don't need to be freed individually. Instead, the pool must be collected after all the descriptors allocated from it are done being used. More... | |
struct | DescriptorSetLayout |
class | DeviceBuffer |
struct | DeviceBufferDescriptor |
class | DeviceBufferGLES |
class | DeviceBufferMTL |
class | DeviceBufferVK |
class | DeviceHolderVK |
Holds a strong reference to the underlying logical Vulkan device. This comes in handy when the context is being torn down and the various components on different threads may need to orchestrate safe shutdown. More... | |
class | DilateImageFilter |
class | DirectionalMorphologyFilterContents |
class | DlDispatcher |
class | DlImageImpeller |
class | DlPlayground |
class | DriverInfoVK |
Get information about the Vulkan driver. More... | |
struct | EGLImageKHRWithDisplay |
struct | EGLImageKHRWithDisplayTraits |
struct | EGLImageWithDisplay |
struct | EGLImageWithDisplayTraits |
class | EllipseGeometry |
class | Entity |
class | EntityPass |
class | EntityPassClipStack |
A class that tracks all clips that have been recorded in the current entity pass stencil. More... | |
class | EntityPassDelegate |
class | EntityPassTarget |
class | EntityPlayground |
class | ErodeImageFilter |
class | FenceWaiterVK |
class | FillPathGeometry |
A geometry that is created from a filled path object. More... | |
class | FilterContents |
class | FilterContentsFilterInput |
class | FilterInput |
class | Font |
Describes a typeface along with any modifications to its intrinsic properties. More... | |
class | FontGlyphAtlas |
An object that can look up glyph locations within the GlyphAtlas for a particular typeface. More... | |
struct | FontGlyphPair |
A font along with a glyph in that font rendered at a particular scale. More... | |
class | FramebufferBlendContents |
class | GaussianBlurFilterContents |
class | Geometry |
struct | GeometryResult |
struct | GLProc |
struct | GLTexture |
struct | GLTextureTraits |
struct | Glyph |
The glyph index in the typeface. More... | |
class | GlyphAtlas |
A texture containing the bitmap representation of glyphs in different fonts along with the ability to query the location of specific font glyphs within the texture. More... | |
class | GlyphAtlasContext |
A container for caching a glyph atlas across frames. More... | |
class | GlyphAtlasContextSkia |
A container for caching a glyph atlas across frames. More... | |
class | GlyphAtlasContextSTB |
class | GoldenPlaygroundTest |
class | GPUProbe |
class | GPUTracerGLES |
Trace GPU execution times using GL_EXT_disjoint_timer_query on GLES. More... | |
class | GPUTracerMTL |
Approximate the GPU frame time by computing a difference between the smallest GPUStartTime and largest GPUEndTime for all command buffers submitted in a frame workload. More... | |
class | GPUTracerVK |
A class that uses timestamp queries to record the approximate GPU execution time. More... | |
struct | GradientData |
struct | Half |
A storage only class for half precision floating point. More... | |
struct | HalfVector2 |
A storage only class for half precision floating point vector 2. More... | |
struct | HalfVector3 |
A storage only class for half precision floating point vector 3. More... | |
struct | HalfVector4 |
A storage only class for half precision floating point vector 4. More... | |
struct | HandleGLES |
class | HostBuffer |
class | Image |
class | ImageFilter |
class | ImageFilterVisitor |
struct | ImageVMA |
struct | ImageVMATraits |
struct | ImmutableSamplerKeyVK |
class | ImpellerBenchmarkAccessor |
class | ImpellerEntityUnitTestAccessor |
class | InlinePassContext |
struct | IPoint16 |
struct | KHRFrameSynchronizerVK |
class | KHRSurfaceVK |
class | KHRSwapchainImageVK |
class | KHRSwapchainImplVK |
An instance of a swapchain that does NOT adapt to going out of date with the underlying surface. Errors will be indicated when the next drawable is acquired from this implementation of the swapchain. If the error is due the swapchain going out of date, the caller must recreate another instance by optionally stealing this implementations guts. More... | |
class | KHRSwapchainVK |
A swapchain that adapts to the underlying surface going out of date. If the caller cannot acquire the next drawable, it is due to an unrecoverable error and the swapchain must be recreated with a new surface. More... | |
class | LazyGlyphAtlas |
class | LinearGradientContents |
struct | LinearPathComponent |
class | LinearToSrgbColorFilter |
class | LinearToSrgbFilterContents |
class | LineGeometry |
class | LocalMatrixFilterContents |
class | LocalMatrixImageFilter |
class | Lock |
struct | Mask |
A mask of typed enums. More... | |
struct | MaskTraits |
struct | Matrix |
A 4x4 matrix using column-major storage. More... | |
class | MatrixColorFilter |
struct | MatrixDecomposition |
class | MatrixFilterContents |
class | MatrixImageFilter |
struct | MixedOp_ |
class | MultiArchShaderArchive |
class | MultiArchShaderArchiveWriter |
class | NinePatchConverter |
class | NoExceptionPromise |
class | OpacityPeepholePassDelegate |
struct | Padded |
Struct used for padding uniform buffer array elements. More... | |
struct | Padding |
struct | Paint |
class | PaintPassDelegate |
struct | PassBindingsCacheMTL |
Ensures that bindings on the pass are not redundantly set or updated. Avoids making the driver do additional checks and makes the frame insights during profiling and instrumentation not complain about the same. More... | |
class | Path |
Paths are lightweight objects that describe a collection of linear, quadratic, or cubic segments. These segments may be broken up by move commands, which are effectively linear commands that pick up the pen rather than continuing to draw. More... | |
class | PathBuilder |
struct | PathComponentEndDirectionVisitor |
struct | PathComponentStartDirectionVisitor |
struct | PendingCommandBuffers |
struct | Picture |
class | PictureRecorder |
class | Pipeline |
Describes the fixed function and programmable aspects of rendering and compute operations performed by commands submitted to the GPU via a command buffer. More... | |
struct | PipelineBuilder |
An optional (but highly recommended) utility for creating pipelines from reflected shader information. More... | |
class | PipelineCacheVK |
class | PipelineDescriptor |
struct | PipelineFuture |
class | PipelineGLES |
class | PipelineLibrary |
class | PipelineLibraryGLES |
class | PipelineLibraryMTL |
class | PipelineLibraryVK |
class | PipelineMTL |
class | PipelineVK |
class | PlaceholderFilterInput |
class | Playground |
class | PlaygroundImpl |
class | PlaygroundImplGLES |
class | PlaygroundImplMTL |
class | PlaygroundImplVK |
struct | PlaygroundPoint |
struct | PlaygroundSwitches |
class | PlaygroundTest |
class | PointFieldGeometry |
class | Pool |
A thread-safe pool with a limited byte size. More... | |
struct | PoolVMA |
struct | PoolVMATraits |
class | ProcTableGLES |
struct | QuadraticPathComponent |
struct | Quaternion |
struct | QueueIndexVK |
struct | QueuesVK |
The collection of queues used by the context. The queues may all be the same. More... | |
class | QueueVK |
A thread safe object that can be used to access device queues. If multiple objects are created with the same underlying queue, then the external synchronization guarantees of Vulkan queues cannot be met. So care must be taken the same device queue doesn't form the basis of multiple QueueVK s. More... | |
class | RadialGradientContents |
struct | Radians |
struct | Radius |
For convolution filters, the "radius" is the size of the convolution kernel to use on the local space pixel grid of the filter input. For Gaussian blur kernels, this unit has a linear relationship with Sigma . See kKernelRadiusPerSigma for details on how this relationship works. More... | |
struct | Range |
class | ReactorGLES |
The reactor attempts to make thread-safe usage of OpenGL ES easier to reason about. More... | |
class | ReaderLock |
class | RectanglePacker |
Packs rectangles into a specified area without rotating them. More... | |
class | RectGeometry |
class | Renderer |
class | RenderPass |
Render passes encode render commands directed as one specific render target into an underlying command buffer. More... | |
class | RenderPassBuilderVK |
struct | RenderPassData |
Encapsulates data that will be needed in the reactor for the encoding of commands for this render pass. More... | |
class | RenderPassGLES |
class | RenderPassMTL |
class | RenderPassVK |
class | RenderPipelineT |
class | RenderTarget |
class | RenderTargetAllocator |
a wrapper around the impeller [Allocator] instance that can be used to provide caching of allocated render target textures. More... | |
class | RenderTargetCache |
An implementation of the [RenderTargetAllocator] that caches all allocated texture data for one frame. More... | |
struct | RenderTargetConfig |
struct | Resource |
struct | ResourceBinder |
An interface for binding resources. This is implemented by |Command| and |ComputeCommand| to make GPU resources available to a given command's pipeline. More... | |
class | ResourceManagerVK |
A resource manager controls how resources are allocated and reclaimed. More... | |
class | ResourceVK |
A resource that may be reclaimed by a |ResourceManagerVK|. More... | |
class | ResourceVKT |
An internal type that is used to move a resource reference. More... | |
class | RoundRectGeometry |
class | RuntimeEffectContents |
class | RuntimeStage |
class | RuntimeStagePlayground |
struct | RuntimeUniformDescription |
struct | RuntimeUniformDimensions |
struct | SampledImageSlot |
Metadata required to bind a combined texture and sampler. More... | |
class | Sampler |
struct | SamplerDescriptor |
class | SamplerGLES |
class | SamplerLibrary |
class | SamplerLibraryGLES |
class | SamplerLibraryMTL |
class | SamplerLibraryVK |
class | SamplerMTL |
class | SamplerVK |
struct | ScaledFont |
A font and a scale. Used as a key that represents a typeface within a glyph atlas. More... | |
class | SceneContents |
struct | ScopedValidationDisable |
struct | ScopedValidationFatal |
class | ShaderArchive |
class | ShaderArchiveWriter |
class | ShaderFunction |
class | ShaderFunctionGLES |
class | ShaderFunctionMTL |
class | ShaderFunctionVK |
struct | ShaderKey |
class | ShaderLibrary |
class | ShaderLibraryGLES |
class | ShaderLibraryMTL |
class | ShaderLibraryVK |
struct | ShaderMetadata |
struct | ShaderStageBufferLayout |
struct | ShaderStageIOSlot |
struct | ShaderStructMemberMetadata |
struct | ShaderUniformSlot |
Metadata required to bind a buffer. More... | |
class | SharedObjectVK |
class | SharedObjectVKT |
struct | Shear |
struct | Sigma |
In filters that use Gaussian distributions, "sigma" is a size of one standard deviation in terms of the local space pixel grid of the filter input. In other words, this determines how wide the distribution stretches. More... | |
class | SkylineRectanglePacker |
struct | Snapshot |
Represents a texture and its intended draw transform/sampler configuration. More... | |
class | SolidColorContents |
class | SolidRRectBlurContents |
Draws a fast solid color blur of an rounded rectangle. Only supports RRects with fully symmetrical radii. Also produces correct results for rectangles (corner_radius=0) and circles (corner_radius=width/2=height/2). More... | |
class | SrgbToLinearColorFilter |
class | SrgbToLinearFilterContents |
class | StandardCapabilities |
struct | StencilAttachment |
struct | StencilAttachmentDescriptor |
struct | StopData |
class | StrokePathGeometry |
A geometry that is created from a stroked path object. More... | |
struct | SubAtlasResult |
class | Surface |
class | SurfaceContextVK |
class | SurfaceGLES |
class | SurfaceMTL |
class | SweepGradientContents |
class | Tessellator |
A utility that generates triangles of the specified fill type given a polyline. This happens on the CPU. More... | |
struct | TexImage2DData |
class | TextContents |
class | TextFrame |
Represents a collection of shaped text runs. More... | |
class | TextRun |
Represents a collection of positioned glyphs from a specific font. More... | |
class | Texture |
struct | TextureAndSampler |
combines the texture, sampler and sampler slot information. More... | |
class | TextureContents |
struct | TextureDescriptor |
A lightweight object that describes the attributes of a texture that can then used an allocator to create that texture. More... | |
class | TextureFilterInput |
class | TextureGLES |
class | TextureMTL |
class | TextureSourceVK |
Abstract base class that represents a vkImage and an vkImageView. More... | |
class | TextureVK |
class | TiledTextureContents |
struct | TPoint |
class | TraceSerializer |
class | TrackedObjectsVK |
A per-frame object used to track resource lifetimes and allocate command buffers and descriptor sets. More... | |
struct | TRect |
struct | Trig |
A structure to store the sine and cosine of an angle. More... | |
struct | TSize |
class | Typeface |
A typeface, usually obtained from a font-file, on disk describes the intrinsic properties of the font. Typefaces are rarely used directly. Instead, font refer to typefaces along with any modifications applied to its intrinsic properties. More... | |
class | TypefaceSkia |
class | TypefaceSTB |
class | TypographerContext |
The graphics context necessary to render text. More... | |
class | TypographerContextSkia |
class | TypographerContextSTB |
struct | UniqueID |
class | UniqueResourceVKT |
A unique handle to a resource which will be reclaimed by the specified resource manager. More... | |
class | ValidationLog |
struct | Vector3 |
struct | Vector4 |
struct | Version |
struct | VertexBuffer |
class | VertexBufferBuilder |
class | VertexDescriptor |
Describes the format and layout of vertices expected by the pipeline. While it is possible to construct these descriptors manually, it would be tedious to do so. These are usually constructed using shader information reflected using impellerc . The usage of this class is indirectly via PipelineBuilder<VS, FS> . More... | |
class | VertexDescriptorMTL |
struct | Vertices |
class | VerticesColorContents |
class | VerticesContents |
class | VerticesGeometry |
A geometry that is created from a vertices object. More... | |
class | VerticesUVContents |
struct | Viewport |
class | WaitSetEntry |
class | WriterLock |
struct | YUVConversionDescriptorVKEqual |
struct | YUVConversionDescriptorVKHash |
class | YUVConversionLibraryVK |
Due the way the Vulkan spec. treats "identically defined" conversions, creating two conversion with identical descriptors, using one with the image and the other with the sampler, is invalid use. More... | |
class | YUVConversionVK |
It is sometimes necessary to deal with formats not native to Vulkan. In such cases, extra information is necessary to access images. A YUV conversion object is needed in such instances. More... | |
class | YUVToRGBFilterContents |
Typedefs | |
using | CanvasType = Canvas |
using | MyMask = Mask< MyMaskBits > |
using | MillisecondsF = std::chrono::duration< float, std::milli > |
using | SecondsF = std::chrono::duration< float > |
using | Clock = std::chrono::high_resolution_clock |
using | TimePoint = std::chrono::time_point< std::chrono::high_resolution_clock > |
using | TextureUsageMask = Mask< TextureUsage > |
using | ColorWriteMask = Mask< ColorWriteMaskBits > |
using | SamplerMap = std::unordered_map< SamplerDescriptor, std::unique_ptr< const Sampler >, ComparableHash< SamplerDescriptor >, ComparableEqual< SamplerDescriptor > > |
using | LinearGradientFillPipeline = RenderPipelineT< GradientFillVertexShader, LinearGradientFillFragmentShader > |
using | SolidFillPipeline = RenderPipelineT< SolidFillVertexShader, SolidFillFragmentShader > |
using | RadialGradientFillPipeline = RenderPipelineT< GradientFillVertexShader, RadialGradientFillFragmentShader > |
using | ConicalGradientFillPipeline = RenderPipelineT< GradientFillVertexShader, ConicalGradientFillFragmentShader > |
using | SweepGradientFillPipeline = RenderPipelineT< GradientFillVertexShader, SweepGradientFillFragmentShader > |
using | LinearGradientSSBOFillPipeline = RenderPipelineT< GradientFillVertexShader, LinearGradientSsboFillFragmentShader > |
using | ConicalGradientSSBOFillPipeline = RenderPipelineT< GradientFillVertexShader, ConicalGradientSsboFillFragmentShader > |
using | RadialGradientSSBOFillPipeline = RenderPipelineT< GradientFillVertexShader, RadialGradientSsboFillFragmentShader > |
using | SweepGradientSSBOFillPipeline = RenderPipelineT< GradientFillVertexShader, SweepGradientSsboFillFragmentShader > |
using | RRectBlurPipeline = RenderPipelineT< RrectBlurVertexShader, RrectBlurFragmentShader > |
using | BlendPipeline = RenderPipelineT< BlendVertexShader, BlendFragmentShader > |
using | TexturePipeline = RenderPipelineT< TextureFillVertexShader, TextureFillFragmentShader > |
using | TextureStrictSrcPipeline = RenderPipelineT< TextureFillVertexShader, TextureFillStrictSrcFragmentShader > |
using | PositionUVPipeline = RenderPipelineT< TextureFillVertexShader, TiledTextureFillFragmentShader > |
using | TiledTexturePipeline = RenderPipelineT< TextureFillVertexShader, TiledTextureFillFragmentShader > |
using | GaussianBlurDecalPipeline = RenderPipelineT< GaussianBlurVertexShader, GaussianBlurNoalphaDecalFragmentShader > |
using | GaussianBlurPipeline = RenderPipelineT< GaussianBlurVertexShader, GaussianBlurNoalphaNodecalFragmentShader > |
using | KernelDecalPipeline = RenderPipelineT< GaussianBlurVertexShader, KernelDecalFragmentShader > |
using | KernelPipeline = RenderPipelineT< GaussianBlurVertexShader, KernelNodecalFragmentShader > |
using | BorderMaskBlurPipeline = RenderPipelineT< BorderMaskBlurVertexShader, BorderMaskBlurFragmentShader > |
using | MorphologyFilterPipeline = RenderPipelineT< MorphologyFilterVertexShader, MorphologyFilterFragmentShader > |
using | ColorMatrixColorFilterPipeline = RenderPipelineT< ColorMatrixColorFilterVertexShader, ColorMatrixColorFilterFragmentShader > |
using | LinearToSrgbFilterPipeline = RenderPipelineT< LinearToSrgbFilterVertexShader, LinearToSrgbFilterFragmentShader > |
using | SrgbToLinearFilterPipeline = RenderPipelineT< SrgbToLinearFilterVertexShader, SrgbToLinearFilterFragmentShader > |
using | GlyphAtlasPipeline = RenderPipelineT< GlyphAtlasVertexShader, GlyphAtlasFragmentShader > |
using | GlyphAtlasColorPipeline = RenderPipelineT< GlyphAtlasVertexShader, GlyphAtlasColorFragmentShader > |
using | PorterDuffBlendPipeline = RenderPipelineT< PorterDuffBlendVertexShader, PorterDuffBlendFragmentShader > |
using | ClipPipeline = RenderPipelineT< ClipVertexShader, ClipFragmentShader > |
using | GeometryColorPipeline = RenderPipelineT< PositionColorVertexShader, VerticesFragmentShader > |
using | YUVToRGBFilterPipeline = RenderPipelineT< YuvToRgbFilterVertexShader, YuvToRgbFilterFragmentShader > |
using | BlendColorPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendColorBurnPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendColorDodgePipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendDarkenPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendDifferencePipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendExclusionPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendHardLightPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendHuePipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendLightenPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendLuminosityPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendMultiplyPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendOverlayPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendSaturationPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendScreenPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | BlendSoftLightPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendFragmentShader > |
using | FramebufferBlendColorPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendColorBurnPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendColorDodgePipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendDarkenPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendDifferencePipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendExclusionPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendHardLightPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendHuePipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendLightenPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendLuminosityPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendMultiplyPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendOverlayPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendSaturationPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendScreenPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | FramebufferBlendSoftLightPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendFragmentShader > |
using | PointsComputeShaderPipeline = ComputePipelineBuilder< PointsComputeShader > |
Geometry Pipelines. More... | |
using | UvComputeShaderPipeline = ComputePipelineBuilder< UvComputeShader > |
using | PipelineProc = std::shared_ptr< Pipeline< PipelineDescriptor > >(ContentContext::*)(ContentContextOptions) const |
using | GaussianBlurVertexShader = KernelPipeline::VertexShader |
using | GaussianBlurFragmentShader = KernelPipeline::FragmentShader |
using | VS = SolidFillVertexShader |
using | PathComponentVariant = std::variant< std::monostate, const LinearPathComponent *, const QuadraticPathComponent *, const CubicPathComponent * > |
using | Point = TPoint< Scalar > |
using | IPoint = TPoint< int64_t > |
using | IPoint32 = TPoint< int32_t > |
using | UintPoint32 = TPoint< uint32_t > |
using | Vector2 = Point |
using | Quad = std::array< Point, 4 > |
using | Rect = TRect< Scalar > |
using | IRect = TRect< int64_t > |
using | Scalar = float |
using | Size = TSize< Scalar > |
using | ISize = TSize< int64_t > |
template<class F , class I > | |
using | MixedOp = typename MixedOp_< F, I >::type |
using | Callback = std::function< void(MTLRenderPipelineDescriptor *)> |
using | AHBProperties = vk::StructureChain< vk::AndroidHardwareBufferPropertiesANDROID, vk::AndroidHardwareBufferFormatPropertiesANDROID > |
using | CommandPoolMap = std::unordered_map< uint64_t, std::shared_ptr< CommandPoolVK > > |
using | WaitSet = std::vector< std::shared_ptr< WaitSetEntry > > |
template<class T > | |
using | SharedHandleVK = std::shared_ptr< SharedObjectVKT< T > > |
using | UniqueAllocatorVMA = fml::UniqueObject< VmaAllocator, AllocatorVMATraits > |
using | UniquePoolVMA = fml::UniqueObject< PoolVMA, PoolVMATraits > |
using | UniqueBufferVMA = fml::UniqueObject< BufferVMA, BufferVMATraits > |
using | UniqueImageVMA = fml::UniqueObject< ImageVMA, ImageVMATraits > |
using | YUVConversionDescriptorVK = vk::StructureChain< vk::SamplerYcbcrConversionCreateInfo > |
using | BufferResource = Resource< BufferView > |
using | TextureResource = Resource< std::shared_ptr< const Texture > > |
using | PipelineMap = std::unordered_map< PipelineDescriptor, PipelineFuture< PipelineDescriptor >, ComparableHash< PipelineDescriptor >, ComparableEqual< PipelineDescriptor > > |
using | ComputePipelineMap = std::unordered_map< ComputePipelineDescriptor, PipelineFuture< ComputePipelineDescriptor >, ComparableHash< ComputePipelineDescriptor >, ComparableEqual< ComputePipelineDescriptor > > |
using | ShaderFunctionMap = std::unordered_map< ShaderKey, std::shared_ptr< const ShaderFunction >, ShaderKey::Hash, ShaderKey::Equal > |
using | TessellatedVertexProc = Tessellator::TessellatedVertexProc |
using | EllipticalVertexGenerator = Tessellator::EllipticalVertexGenerator |
using | CTessellator = std::unique_ptr< TESStesselator, decltype(&DestroyTessellator)> |
using | UniqueEGLImage = fml::UniqueObject< EGLImageWithDisplay, EGLImageWithDisplayTraits > |
using | UniqueEGLImageKHR = fml::UniqueObject< EGLImageKHRWithDisplay, EGLImageKHRWithDisplayTraits > |
using | UniqueGLTexture = fml::UniqueObject< GLTexture, GLTextureTraits > |
using | FontGlyphMap = std::unordered_map< ScaledFont, std::unordered_set< Glyph > > |
Functions | |
static bool | UseColorSourceContents (const std::shared_ptr< VerticesGeometry > &vertices, const Paint &paint) |
template<class... Args> | |
static void | BM_CanvasRecord (benchmark::State &state, Args &&... args) |
BENCHMARK_CAPTURE (BM_CanvasRecord, draw_rect, &DrawRect) | |
BENCHMARK_CAPTURE (BM_CanvasRecord, draw_circle, &DrawCircle) | |
BENCHMARK_CAPTURE (BM_CanvasRecord, draw_line, &DrawLine) | |
std::shared_ptr< fml::Mapping > | CreateMappingWithCopy (const uint8_t *contents, size_t length) |
std::shared_ptr< fml::Mapping > | CreateMappingFromAllocation (const std::shared_ptr< Allocation > &allocation) |
std::shared_ptr< fml::Mapping > | CreateMappingWithString (std::string string) |
std::shared_ptr< fml::Mapping > | CreateMappingWithString (std::shared_ptr< const std::string > string) |
IMPELLER_ENUM_IS_MASK (MyMaskBits) | |
template<class ComparableType , class = std::enable_if_t<std::is_base_of_v<ComparableBase, ComparableType>>> | |
bool | DeepComparePointer (const std::shared_ptr< ComparableType > &lhs, const std::shared_ptr< ComparableType > &rhs) |
template<class Key , class ComparableType , class = std::enable_if_t<std::is_base_of_v<ComparableBase, ComparableType>>> | |
bool | DeepCompareMap (const std::map< Key, std::shared_ptr< ComparableType >> &lhs, const std::map< Key, std::shared_ptr< ComparableType >> &rhs) |
void | ImpellerUnimplemented (const char *method, const char *file, int line) |
template<typename EnumType , typename std::enable_if< MaskTraits< EnumType >::kIsMask, bool >::type = true> | |
constexpr Mask< EnumType > | operator| (const EnumType &lhs, const EnumType &rhs) |
template<typename EnumType , typename std::enable_if< MaskTraits< EnumType >::kIsMask, bool >::type = true> | |
constexpr Mask< EnumType > | operator& (const EnumType &lhs, const EnumType &rhs) |
template<typename EnumType , typename std::enable_if< MaskTraits< EnumType >::kIsMask, bool >::type = true> | |
constexpr Mask< EnumType > | operator^ (const EnumType &lhs, const EnumType &rhs) |
template<typename EnumType , typename std::enable_if< MaskTraits< EnumType >::kIsMask, bool >::type = true> | |
constexpr Mask< EnumType > | operator~ (const EnumType &other) |
template<typename EnumType , typename std::enable_if< MaskTraits< EnumType >::kIsMask, bool >::type = true> | |
constexpr Mask< EnumType > | operator| (const EnumType &lhs, const Mask< EnumType > &rhs) |
template<typename EnumType , typename std::enable_if< MaskTraits< EnumType >::kIsMask, bool >::type = true> | |
constexpr Mask< EnumType > | operator& (const EnumType &lhs, const Mask< EnumType > &rhs) |
template<typename EnumType , typename std::enable_if< MaskTraits< EnumType >::kIsMask, bool >::type = true> | |
constexpr Mask< EnumType > | operator^ (const EnumType &lhs, const Mask< EnumType > &rhs) |
template<typename EnumType , typename std::enable_if_t< MaskTraits< EnumType >::kIsMask, bool > = true> | |
constexpr bool | operator< (const EnumType &lhs, const Mask< EnumType > &rhs) |
template<typename EnumType , typename std::enable_if_t< MaskTraits< EnumType >::kIsMask, bool > = true> | |
constexpr bool | operator> (const EnumType &lhs, const Mask< EnumType > &rhs) |
template<typename EnumType , typename std::enable_if_t< MaskTraits< EnumType >::kIsMask, bool > = true> | |
constexpr bool | operator<= (const EnumType &lhs, const Mask< EnumType > &rhs) |
template<typename EnumType , typename std::enable_if_t< MaskTraits< EnumType >::kIsMask, bool > = true> | |
constexpr bool | operator>= (const EnumType &lhs, const Mask< EnumType > &rhs) |
template<typename EnumType , typename std::enable_if_t< MaskTraits< EnumType >::kIsMask, bool > = true> | |
constexpr bool | operator== (const EnumType &lhs, const Mask< EnumType > &rhs) |
template<typename EnumType , typename std::enable_if_t< MaskTraits< EnumType >::kIsMask, bool > = true> | |
constexpr bool | operator!= (const EnumType &lhs, const Mask< EnumType > &rhs) |
template<class T > | |
std::future< T > | RealizedFuture (T t) |
std::string | SPrintF (const char *format,...) |
bool | HasPrefix (const std::string &string, const std::string &prefix) |
bool | HasSuffix (const std::string &string, const std::string &suffix) |
std::string | StripPrefix (const std::string &string, const std::string &to_strip) |
class | IPLR_CAPABILITY ("mutex") Mutex |
void | ImpellerValidationErrorsSetFatal (bool fatal) |
void | ImpellerValidationBreak (const char *message) |
bool | ImpellerValidationErrorsAreFatal () |
std::vector< spirv_cross::ID > | SortUniforms (const spirv_cross::ParsedIR *ir, const spirv_cross::Compiler *compiler, std::optional< spirv_cross::SPIRType::BaseType > type_filter=std::nullopt, bool include=true) |
Sorts uniform declarations in an IR according to decoration order. More... | |
_FOR_EACH_CAPTURE_PROPERTY (_CAPTURE_PROPERTY_CAST_DEFINITION) | |
_FOR_EACH_CAPTURE_PROPERTY (_CAPTURE_PROPERTY_DEFINITION) | |
_FOR_EACH_CAPTURE_PROPERTY (_CAPTURE_PROPERTY_DECLARATION) | |
constexpr bool | StoreActionNeedsResolveTexture (StoreAction action) |
std::string | TextureUsageMaskToString (TextureUsageMask mask) |
std::string | AttachmentToString (const Attachment &attachment) |
std::string | ColorAttachmentToString (const ColorAttachment &color) |
std::string | DepthAttachmentToString (const DepthAttachment &depth) |
std::string | StencilAttachmentToString (const StencilAttachment &stencil) |
constexpr const char * | StorageModeToString (StorageMode mode) |
constexpr bool | IsDepthWritable (PixelFormat format) |
constexpr bool | IsStencilWritable (PixelFormat format) |
constexpr const char * | PixelFormatToString (PixelFormat format) |
constexpr const char * | LoadActionToString (LoadAction action) |
constexpr const char * | StoreActionToString (StoreAction action) |
constexpr bool | CanClearAttachment (LoadAction action) |
constexpr bool | CanDiscardAttachmentWhenDone (StoreAction action) |
constexpr const char * | TextureTypeToString (TextureType type) |
constexpr bool | IsMultisampleCapable (TextureType type) |
IMPELLER_ENUM_IS_MASK (TextureUsage) | |
constexpr const char * | TextureUsageToString (TextureUsage usage) |
IMPELLER_ENUM_IS_MASK (ColorWriteMaskBits) | |
constexpr size_t | BytesPerPixelForPixelFormat (PixelFormat format) |
constexpr size_t | DefaultUniformAlignment () |
constexpr ShaderStage | ToShaderStage (RuntimeShaderStage stage) |
constexpr Vector4 | ToVector (Color color) |
std::string | TextureDescriptorToString (const TextureDescriptor &desc) |
constexpr const char * | CompressionTypeToString (CompressionType type) |
static BlendMode | ToBlendMode (flutter::DlBlendMode mode) |
static Entity::TileMode | ToTileMode (flutter::DlTileMode tile_mode) |
static impeller::SamplerDescriptor | ToSamplerDescriptor (const flutter::DlImageSampling options) |
static impeller::SamplerDescriptor | ToSamplerDescriptor (const flutter::DlFilterMode options) |
static Matrix | ToMatrix (const SkMatrix &m) |
static Paint::Style | ToStyle (flutter::DlDrawStyle style) |
static std::vector< Color > | ToColors (const flutter::DlColor colors[], int count) |
static std::optional< ColorSource::Type > | ToColorSourceType (flutter::DlColorSourceType type) |
static std::shared_ptr< ColorFilter > | ToColorFilter (const flutter::DlColorFilter *filter) |
static FilterContents::BlurStyle | ToBlurStyle (flutter::DlBlurStyle blur_style) |
static std::shared_ptr< ImageFilter > | ToImageFilter (const flutter::DlImageFilter *filter) |
static Entity::ClipOperation | ToClipOperation (flutter::DlCanvas::ClipOp clip_op) |
static Rect | ToRect (const SkRect &rect) |
static VerticesGeometry::VertexMode | ToVertexMode (flutter::DlVertexMode mode) |
std::shared_ptr< impeller::VerticesGeometry > | MakeVertices (const flutter::DlVertices *vertices) |
static Scalar | GetShaderClipDepth (const Entity &entity) |
template<typename PipelineT > | |
static std::unique_ptr< PipelineT > | CreateDefaultPipeline (const Context &context) |
ContentContextOptions | OptionsFromPass (const RenderPass &pass) |
ContentContextOptions | OptionsFromPassAndEntity (const RenderPass &pass, const Entity &entity) |
std::optional< BlendMode > | InvertPorterDuffBlend (BlendMode blend_mode) |
template<typename TPipeline > | |
static std::optional< Entity > | AdvancedBlend (const FilterInput::Vector &inputs, const ContentContext &renderer, const Entity &entity, const Rect &coverage, BlendMode blend_mode, std::optional< Color > foreground_color, ColorFilterContents::AbsorbOpacity absorb_opacity, PipelineProc pipeline_proc, std::optional< Scalar > alpha) |
static std::optional< Entity > | PipelineBlend (const FilterInput::Vector &inputs, const ContentContext &renderer, const Entity &entity, const Rect &coverage, BlendMode blend_mode, std::optional< Color > foreground_color, ColorFilterContents::AbsorbOpacity absorb_opacity, std::optional< Scalar > alpha) |
KernelPipeline::FragmentShader::KernelSamples | GenerateBlurInfo (BlurParameters parameters) |
KernelPipeline::FragmentShader::KernelSamples | LerpHackKernelSamples (KernelPipeline::FragmentShader::KernelSamples parameters) |
std::shared_ptr< Texture > | CreateGradientTexture (const GradientData &gradient_data, const std::shared_ptr< impeller::Context > &context) |
Create a host visible texture that contains the gradient defined by the provided gradient data. More... | |
std::vector< StopData > | CreateGradientColors (const std::vector< Color > &colors, const std::vector< Scalar > &stops) |
Populate a vector with the color and stop data for a gradient. More... | |
static ShaderType | GetShaderType (RuntimeUniformType type) |
static std::shared_ptr< ShaderMetadata > | MakeShaderMetadata (const RuntimeUniformDescription &uniform) |
static std::optional< SamplerAddressMode > | TileModeToAddressMode (Entity::TileMode tile_mode, const Capabilities &capabilities) |
static EntityPassTarget | CreateRenderTarget (ContentContext &renderer, ISize size, int mip_count, const Color &clear_color) |
static void | SetClipScissor (std::optional< Rect > clip_coverage, RenderPass &pass, Point global_pass_position) |
VertexBufferBuilder< TextureFillVertexShader::PerVertexData > | ComputeUVGeometryCPU (VertexBufferBuilder< SolidFillVertexShader::PerVertexData > &input, Point texture_origin, Size texture_coverage, Matrix effect_transform) |
Compute UV geometry for a VBB that contains only position geometry. More... | |
GeometryResult | ComputeUVGeometryForRect (Rect source_rect, Rect texture_bounds, Matrix effect_transform, const ContentContext &renderer, const Entity &entity, RenderPass &pass) |
Computes geometry and UV coordinates for a rectangle to be rendered. More... | |
static std::vector< uint16_t > | fromFanIndices (const std::vector< Point > &vertices, const std::vector< uint16_t > &indices) |
static constexpr bool | ValidateBlendModes () |
const char * | BlendModeToString (BlendMode blend_mode) |
static constexpr Color | Min (Color c, float threshold) |
static constexpr Scalar | Luminosity (Vector3 color) |
static constexpr Vector3 | ClipColor (Vector3 color) |
static constexpr Vector3 | SetLuminosity (Vector3 color, Scalar luminosity) |
static constexpr Scalar | Saturation (Vector3 color) |
static constexpr Vector3 | SetSaturation (Vector3 color, Scalar saturation) |
static constexpr Vector3 | ComponentChoose (Vector3 a, Vector3 b, Vector3 value, Scalar cutoff) |
static constexpr Vector3 | ToRGB (Color color) |
static constexpr Color | FromRGB (Vector3 color, Scalar alpha) |
static constexpr Color | ApplyBlendedColor (Color dst, Color src, Vector3 blend_result) |
static constexpr Color | DoColorBlend (Color dst, Color src, const std::function< Vector3(Vector3, Vector3)> &blend_rgb_func) |
static constexpr Color | DoColorBlendComponents (Color dst, Color src, const std::function< Scalar(Scalar, Scalar)> &blend_func) |
std::string | ColorToString (const Color &color) |
template<class T , class = std::enable_if_t<std::is_arithmetic_v<T>>> | |
constexpr Color | operator+ (T value, const Color &c) |
template<class T , class = std::enable_if_t<std::is_arithmetic_v<T>>> | |
constexpr Color | operator- (T value, const Color &c) |
template<class T , class = std::enable_if_t<std::is_arithmetic_v<T>>> | |
constexpr Color | operator* (T value, const Color &c) |
template<class T , class = std::enable_if_t<std::is_arithmetic_v<T>>> | |
constexpr Color | operator/ (T value, const Color &c) |
template<class... Args> | |
static void | BM_Polyline (benchmark::State &state, Args &&... args) |
template<class... Args> | |
static void | BM_StrokePolyline (benchmark::State &state, Args &&... args) |
template<class... Args> | |
static void | BM_Convex (benchmark::State &state, Args &&... args) |
BENCHMARK_CAPTURE (BM_Polyline, cubic_polyline, CreateCubic(true), false) | |
BENCHMARK_CAPTURE (BM_Polyline, cubic_polyline_tess, CreateCubic(true), true) | |
BENCHMARK_CAPTURE (BM_Polyline, unclosed_cubic_polyline, CreateCubic(false), false) | |
BENCHMARK_CAPTURE (BM_Polyline, unclosed_cubic_polyline_tess, CreateCubic(false), true) | |
MAKE_STROKE_BENCHMARK_CAPTURE_UVS (Cubic) | |
BENCHMARK_CAPTURE (BM_Polyline, quad_polyline, CreateQuadratic(true), false) | |
BENCHMARK_CAPTURE (BM_Polyline, quad_polyline_tess, CreateQuadratic(true), true) | |
BENCHMARK_CAPTURE (BM_Polyline, unclosed_quad_polyline, CreateQuadratic(false), false) | |
BENCHMARK_CAPTURE (BM_Polyline, unclosed_quad_polyline_tess, CreateQuadratic(false), true) | |
MAKE_STROKE_BENCHMARK_CAPTURE_UVS (Quadratic) | |
BENCHMARK_CAPTURE (BM_Convex, rrect_convex, CreateRRect(), true) | |
MAKE_STROKE_BENCHMARK_CAPTURE (RRect, Butt, Bevel,,, UVMode::kNoUV) | |
MAKE_STROKE_BENCHMARK_CAPTURE (RRect, Butt, Bevel,, _uv, UVMode::kUVRectTx) | |
MAKE_STROKE_BENCHMARK_CAPTURE (RRect, Butt, Bevel,, _uvNoTx, UVMode::kUVRect) | |
static void | AppendColor (const Color &color, GradientData *data) |
GradientData | CreateGradientBuffer (const std::vector< Color > &colors, const std::vector< Scalar > &stops) |
Populate a vector with the interpolated color bytes for the linear gradient described by colors and stops. More... | |
constexpr InternalHalf | ScalarToHalf (Scalar f) |
Convert a scalar to a half precision float. More... | |
static Scalar | LinearSolve (Scalar t, Scalar p0, Scalar p1) |
static Scalar | QuadraticSolve (Scalar t, Scalar p0, Scalar p1, Scalar p2) |
static Scalar | QuadraticSolveDerivative (Scalar t, Scalar p0, Scalar p1, Scalar p2) |
static Scalar | CubicSolve (Scalar t, Scalar p0, Scalar p1, Scalar p2, Scalar p3) |
static Scalar | CubicSolveDerivative (Scalar t, Scalar p0, Scalar p1, Scalar p2, Scalar p3) |
static Scalar | ApproximateParabolaIntegral (Scalar x) |
static bool | NearEqual (Scalar a, Scalar b, Scalar epsilon) |
static bool | NearZero (Scalar a) |
static void | CubicPathBoundingPopulateValues (std::vector< Scalar > &values, Scalar p1, Scalar p2, Scalar p3, Scalar p4) |
template<class F , class I , class = MixedOp<F, I>> | |
constexpr TPoint< F > | operator+ (const TPoint< F > &p1, const TPoint< I > &p2) |
template<class F , class I , class = MixedOp<F, I>> | |
constexpr TPoint< F > | operator+ (const TPoint< I > &p1, const TPoint< F > &p2) |
template<class F , class I , class = MixedOp<F, I>> | |
constexpr TPoint< F > | operator- (const TPoint< F > &p1, const TPoint< I > &p2) |
template<class F , class I , class = MixedOp<F, I>> | |
constexpr TPoint< F > | operator- (const TPoint< I > &p1, const TPoint< F > &p2) |
template<class F , class I , class = MixedOp<F, I>> | |
constexpr TPoint< F > | operator* (const TPoint< F > &p1, const TPoint< I > &p2) |
template<class F , class I , class = MixedOp<F, I>> | |
constexpr TPoint< F > | operator* (const TPoint< I > &p1, const TPoint< F > &p2) |
template<class F , class I , class = MixedOp<F, I>> | |
constexpr TPoint< F > | operator/ (const TPoint< F > &p1, const TPoint< I > &p2) |
template<class F , class I , class = MixedOp<F, I>> | |
constexpr TPoint< F > | operator/ (const TPoint< I > &p1, const TPoint< F > &p2) |
template<class T , class U , class = std::enable_if_t<std::is_arithmetic_v<U>>> | |
constexpr TPoint< T > | operator* (U s, const TPoint< T > &p) |
template<class T , class U , class = std::enable_if_t<std::is_arithmetic_v<U>>> | |
constexpr TPoint< T > | operator/ (U s, const TPoint< T > &p) |
template<class T , class U > | |
constexpr TPoint< T > | operator+ (const TSize< U > &s, const TPoint< T > &p) |
template<class T , class U > | |
constexpr TPoint< T > | operator- (const TSize< U > &s, const TPoint< T > &p) |
template<class T , class U > | |
constexpr TPoint< T > | operator* (const TSize< U > &s, const TPoint< T > &p) |
template<class T , class U > | |
constexpr TPoint< T > | operator/ (const TSize< U > &s, const TPoint< T > &p) |
template<class T , class = std::enable_if_t<std::is_arithmetic_v<T>>> | |
constexpr T | Absolute (const T &val) |
constexpr bool | ScalarNearlyZero (Scalar x, Scalar tolerance=kEhCloseEnough) |
constexpr bool | ScalarNearlyEqual (Scalar x, Scalar y, Scalar tolerance=kEhCloseEnough) |
template<class T , class U , class = std::enable_if_t<std::is_arithmetic_v<U>>> | |
constexpr TSize< T > | operator* (U s, const TSize< T > &p) |
template<class T , class U , class = std::enable_if_t<std::is_arithmetic_v<U>>> | |
constexpr TSize< T > | operator/ (U s, const TSize< T > &p) |
template<class U , class = std::enable_if_t<std::is_arithmetic_v<U>>> | |
constexpr Vector3 | operator* (U s, const Vector3 &p) |
template<class U , class = std::enable_if_t<std::is_arithmetic_v<U>>> | |
constexpr Vector3 | operator+ (U s, const Vector3 &p) |
template<class U , class = std::enable_if_t<std::is_arithmetic_v<U>>> | |
constexpr Vector3 | operator- (U s, const Vector3 &p) |
template<class U , class = std::enable_if_t<std::is_arithmetic_v<U>>> | |
constexpr Vector3 | operator/ (U s, const Vector3 &p) |
TEST (ValidationTest, IsFatal) | |
static std::vector< std::shared_ptr< fml::Mapping > > | ShaderLibraryMappingsForPlayground () |
static std::vector< std::shared_ptr< fml::Mapping > > | ShaderLibraryMappingsForPlayground () |
static std::vector< std::shared_ptr< fml::Mapping > > | ShaderLibraryMappingsForPlayground () |
static void | FindSwiftShaderICDAtKnownPaths () |
void | SetupSwiftshaderOnce (bool use_swiftshader) |
Find and setup the installable client driver for a locally built SwiftShader at known paths. The option to use SwiftShader can only be used once in the process. While calling this method multiple times is fine, specifying a different use_swiftshader value will trip an assertion. More... | |
static std::string | FormatWindowTitle (const std::string &test_name) |
static size_t | GetBytesPerPixel (DecompressedImage::Format format) |
std::string | PlaygroundBackendToString (PlaygroundBackend backend) |
static void | InitializeGLFWOnce () |
static void | PlaygroundKeyCallback (GLFWwindow *window, int key, int scancode, int action, int mods) |
static std::shared_ptr< Texture > | CreateTextureForDecompressedImage (const std::shared_ptr< Context > &context, DecompressedImage &decompressed_image, bool enable_mipmapping) |
constexpr RuntimeStageBackend | PlaygroundBackendToRuntimeStageBackend (PlaygroundBackend backend) |
Point | DrawPlaygroundPoint (PlaygroundPoint &point) |
std::tuple< Point, Point > | DrawPlaygroundLine (PlaygroundPoint &point_a, PlaygroundPoint &point_b) |
static void | DeleteFBO (const ProcTableGLES &gl, GLuint fbo, GLenum type) |
static std::optional< GLuint > | ConfigureFBO (const ProcTableGLES &gl, const std::shared_ptr< Texture > &texture, GLenum fbo_type) |
bool | EncodeCommandsInReactor (const std::shared_ptr< Allocator > &transients_allocator, const ReactorGLES &reactor, const std::vector< std::unique_ptr< BlitEncodeGLES >> &commands, const std::string &label) |
static std::string | NormalizeUniformKey (const std::string &key) |
static std::string | CreateUniformMemberKey (const std::string &struct_name, const std::string &member, bool is_array) |
static std::string | CreateUniformMemberKey (const std::string &non_struct_member) |
static std::string | GetGLString (const ProcTableGLES &gl, GLenum name) |
static std::string | GetGLStringi (const ProcTableGLES &gl, GLenum name, int index) |
static bool | DetermineIfES (const std::string &version) |
static bool | DetermineIfANGLE (const std::string &version) |
static std::optional< Version > | DetermineVersion (std::string version) |
static GLenum | ToTarget (DeviceBufferGLES::BindingType type) |
std::string | DebugToFramebufferError (int status) |
constexpr GLenum | ToMode (PrimitiveType primitive_type) |
constexpr GLenum | ToIndexType (IndexType type) |
constexpr GLenum | ToStencilOp (StencilOperation op) |
constexpr GLenum | ToCompareFunction (CompareFunction func) |
constexpr GLenum | ToBlendFactor (BlendFactor factor) |
constexpr GLenum | ToBlendOperation (BlendOperation op) |
constexpr std::optional< GLenum > | ToVertexAttribType (ShaderType type) |
constexpr GLenum | ToTextureType (TextureType type) |
constexpr std::optional< GLenum > | ToTextureTarget (TextureType type) |
std::string | HandleTypeToString (HandleType type) |
static std::string | GetShaderInfoLog (const ProcTableGLES &gl, GLuint shader) |
static std::string | GetShaderSource (const ProcTableGLES &gl, GLuint shader) |
static void | LogShaderCompilationFailure (const ProcTableGLES &gl, GLuint shader, const std::string &name, const fml::Mapping &source_mapping, ShaderStage stage) |
static bool | LinkProgram (const ReactorGLES &reactor, const std::shared_ptr< PipelineGLES > &pipeline, const std::shared_ptr< const ShaderFunction > &vert_function, const std::shared_ptr< const ShaderFunction > &frag_function) |
const char * | GLErrorToString (GLenum value) |
bool | GLErrorIsFatal (GLenum value) |
ProcTableGLES::Resolver | WrappedResolver (const ProcTableGLES::Resolver &resolver) |
static const char * | FramebufferStatusToString (GLenum status) |
static const char * | AttachmentTypeString (GLint type) |
static std::string | DescribeFramebufferAttachment (const ProcTableGLES &gl, GLenum attachment) |
static std::optional< GLenum > | ToDebugIdentifier (DebugResourceType type) |
static bool | ResourceIsLive (const ProcTableGLES &gl, DebugResourceType type, GLint name) |
void() | glClearDepthf (GLfloat depth) |
void() | glDepthRangef (GLfloat n, GLfloat f) |
void() | glClearDepth (GLdouble depth) |
void() | glDepthRange (GLdouble n, GLdouble f) |
static std::optional< GLuint > | CreateGLHandle (const ProcTableGLES &gl, HandleType type) |
static bool | CollectGLHandle (const ProcTableGLES &gl, HandleType type, GLuint handle) |
static DebugResourceType | ToDebugResourceType (HandleType type) |
void | ConfigureBlending (const ProcTableGLES &gl, const ColorAttachmentDescriptor *color) |
void | ConfigureStencil (GLenum face, const ProcTableGLES &gl, const StencilAttachmentDescriptor &stencil, uint32_t stencil_reference) |
void | ConfigureStencil (const ProcTableGLES &gl, const PipelineDescriptor &pipeline, uint32_t stencil_reference) |
bool | EncodeCommandsInReactor (const RenderPassData &pass_data, const std::shared_ptr< Allocator > &transients_allocator, const ReactorGLES &reactor, const std::vector< Command > &commands, const std::shared_ptr< GPUTracerGLES > &tracer) |
static GLint | ToParam (MinMagFilter minmag_filter, std::optional< MipFilter > mip_filter=std::nullopt) |
static GLint | ToAddressMode (SamplerAddressMode mode, bool supports_decal_sampler_address_mode) |
static ShaderStage | ToShaderStage (ArchiveShaderType type) |
static std::string | GLESShaderNameToShaderKeyName (const std::string &name, ShaderStage stage) |
static bool | IsDepthStencilFormat (PixelFormat format) |
static TextureGLES::Type | GetTextureTypeFromDescriptor (const TextureDescriptor &desc) |
HandleType | ToHandleType (TextureGLES::Type type) |
static std::optional< GLenum > | ToRenderBufferFormat (PixelFormat format) |
static GLenum | ToAttachmentType (TextureGLES::AttachmentType point) |
static bool | DeviceSupportsDeviceTransientTargets (id< MTLDevice > device) |
static bool | DeviceHasUnifiedMemoryArchitecture (id< MTLDevice > device) |
static ISize | DeviceMaxTextureSizeSupported (id< MTLDevice > device) |
static bool | SupportsLossyTextureCompression (id< MTLDevice > device) |
static MTLResourceOptions | ToMTLResourceOptions (StorageMode type, bool supports_memoryless_targets, bool supports_uma) |
static MTLStorageMode | ToMTLStorageMode (StorageMode mode, bool supports_memoryless_targets, bool supports_uma) |
API_AVAILABLE (ios(14.0), macos(11.0)) static NSString *MTLCommandEncoderErrorStateToString(MTLCommandEncoderErrorState state) | |
static NSString * | MTLCommandBufferErrorToString (MTLCommandBufferError code) |
static bool | LogMTLCommandBufferErrorIfPresent (id< MTLCommandBuffer > buffer) |
static id< MTLCommandBuffer > | CreateCommandBuffer (id< MTLCommandQueue > queue) |
static CommandBuffer::Status | ToCommitResult (MTLCommandBufferStatus status) |
static bool | DeviceSupportsFramebufferFetch (id< MTLDevice > device) |
static bool | DeviceSupportsComputeSubgroups (id< MTLDevice > device) |
static std::unique_ptr< Capabilities > | InferMetalCapabilities (id< MTLDevice > device, PixelFormat color_format) |
static NSArray< id< MTLLibrary > > * | MTLShaderLibraryFromFilePaths (id< MTLDevice > device, const std::vector< std::string > &libraries_paths) |
static NSArray< id< MTLLibrary > > * | MTLShaderLibraryFromFileData (id< MTLDevice > device, const std::vector< std::shared_ptr< fml::Mapping >> &libraries_data, const std::string &label) |
static id< MTLDevice > | CreateMetalDevice () |
static id< MTLCommandQueue > | CreateMetalCommandQueue (id< MTLDevice > device) |
constexpr PixelFormat | FromMTLPixelFormat (MTLPixelFormat format) |
MTLPixelFormat | SafeMTLPixelFormatDepth24Unorm_Stencil8 () |
MTLPixelFormat | SafeMTLPixelFormatBGR10_XR_sRGB () |
MTLPixelFormat | SafeMTLPixelFormatBGR10_XR () |
MTLPixelFormat | SafeMTLPixelFormatBGRA10_XR () |
constexpr MTLPixelFormat | ToMTLPixelFormat (PixelFormat format) |
constexpr MTLBlendFactor | ToMTLBlendFactor (BlendFactor type) |
constexpr MTLPrimitiveType | ToMTLPrimitiveType (PrimitiveType type) |
constexpr MTLTriangleFillMode | ToMTLTriangleFillMode (PolygonMode mode) |
constexpr MTLIndexType | ToMTLIndexType (IndexType type) |
constexpr MTLCullMode | ToMTLCullMode (CullMode mode) |
constexpr MTLBlendOperation | ToMTLBlendOperation (BlendOperation type) |
constexpr MTLColorWriteMask | ToMTLColorWriteMask (ColorWriteMask type) |
constexpr MTLCompareFunction | ToMTLCompareFunction (CompareFunction func) |
constexpr MTLStencilOperation | ToMTLStencilOperation (StencilOperation op) |
constexpr MTLLoadAction | ToMTLLoadAction (LoadAction action) |
constexpr LoadAction | FromMTLLoadAction (MTLLoadAction action) |
constexpr MTLStoreAction | ToMTLStoreAction (StoreAction action) |
constexpr StoreAction | FromMTLStoreAction (MTLStoreAction action) |
constexpr MTLSamplerMinMagFilter | ToMTLSamplerMinMagFilter (MinMagFilter filter) |
constexpr MTLSamplerMipFilter | ToMTLSamplerMipFilter (MipFilter filter) |
constexpr MTLSamplerAddressMode | ToMTLSamplerAddressMode (SamplerAddressMode mode) |
MTLClearColor | ToMTLClearColor (const Color &color) |
constexpr MTLTextureType | ToMTLTextureType (TextureType type) |
MTLRenderPipelineColorAttachmentDescriptor * | ToMTLRenderPipelineColorAttachmentDescriptor (ColorAttachmentDescriptor descriptor) |
MTLDepthStencilDescriptor * | ToMTLDepthStencilDescriptor (std::optional< DepthAttachmentDescriptor > depth, std::optional< StencilAttachmentDescriptor > front, std::optional< StencilAttachmentDescriptor > back) |
MTLTextureDescriptor * | ToMTLTextureDescriptor (const TextureDescriptor &desc) |
MTLStencilDescriptor * | ToMTLStencilDescriptor (const StencilAttachmentDescriptor &descriptor) |
std::shared_future< id< CAMetalDrawable > > | GetDrawableDeferred (CAMetalLayer *layer) |
Create a deferred drawable from a CAMetalLayer. More... | |
std::shared_ptr< TextureMTL > | CreateTextureFromDrawableFuture (TextureDescriptor desc, const std::shared_future< id< CAMetalDrawable >> &drawble_future) |
Create a TextureMTL from a deferred drawable. More... | |
static void | GetMTLRenderPipelineDescriptor (const PipelineDescriptor &desc, const Callback &callback) |
static MTLComputePipelineDescriptor * | GetMTLComputePipelineDescriptor (const ComputePipelineDescriptor &desc) |
static id< MTLDepthStencilState > | CreateDepthStencilDescriptor (const PipelineDescriptor &desc, id< MTLDevice > device) |
static bool | ConfigureResolveTextureAttachment (const Attachment &desc, MTLRenderPassAttachmentDescriptor *attachment) |
static bool | ConfigureAttachment (const Attachment &desc, MTLRenderPassAttachmentDescriptor *attachment) |
static bool | ConfigureColorAttachment (const ColorAttachment &desc, MTLRenderPassColorAttachmentDescriptor *attachment) |
static bool | ConfigureDepthAttachment (const DepthAttachment &desc, MTLRenderPassDepthAttachmentDescriptor *attachment) |
static bool | ConfigureStencilAttachment (const StencilAttachment &desc, MTLRenderPassStencilAttachmentDescriptor *attachment) |
static MTLRenderPassDescriptor * | ToMTLRenderPassDescriptor (const RenderTarget &desc) |
static bool | Bind (PassBindingsCacheMTL &pass, ShaderStage stage, size_t bind_index, const BufferView &view) |
static bool | Bind (PassBindingsCacheMTL &pass, ShaderStage stage, size_t bind_index, const std::unique_ptr< const Sampler > &sampler, const Texture &texture) |
static MTLFunctionType | ToMTLFunctionType (ShaderStage stage) |
static std::optional< RenderTarget > | WrapTextureWithRenderTarget (Allocator &allocator, id< MTLTexture > texture, bool requires_blit, std::optional< IRect > clip_rect) |
std::shared_ptr< Texture > | WrapperMTL (TextureDescriptor desc, const void *mtl_texture, std::function< void()> deletion_proc) |
std::shared_ptr< Texture > | WrapTextureMTL (TextureDescriptor desc, const void *mtl_texture, std::function< void()> deletion_proc=nullptr) |
static MTLVertexFormat | ReadStageInputFormat (const ShaderStageIOSlot &input) |
static constexpr vk::Flags< vk::MemoryPropertyFlagBits > | ToVKBufferMemoryPropertyFlags (StorageMode mode) |
static VmaAllocationCreateFlags | ToVmaAllocationBufferCreateFlags (StorageMode mode, bool readback) |
static PoolVMA | CreateBufferPool (VmaAllocator allocator) |
static constexpr VmaMemoryUsage | ToVMAMemoryUsage () |
static constexpr vk::Flags< vk::MemoryPropertyFlagBits > | ToVKTextureMemoryPropertyFlags (StorageMode mode, bool supports_memoryless_textures) |
static VmaAllocationCreateFlags | ToVmaAllocationCreateFlags (StorageMode mode) |
static vk::UniqueImage | CreateVKImageWrapperForAndroidHarwareBuffer (const vk::Device &device, const AHBProperties &ahb_props, const AHardwareBuffer_Desc &ahb_desc) |
static vk::UniqueDeviceMemory | ImportVKDeviceMemoryFromAndroidHarwareBuffer (const vk::Device &device, const vk::PhysicalDevice &physical_device, const vk::Image &image, struct AHardwareBuffer *hardware_buffer, const AHBProperties &ahb_props) |
static std::shared_ptr< YUVConversionVK > | CreateYUVConversion (const ContextVK &context, const AHBProperties &ahb_props) |
static vk::UniqueImageView | CreateVKImageView (const vk::Device &device, const vk::Image &image, const vk::SamplerYcbcrConversion &yuv_conversion, const AHBProperties &ahb_props, const AHardwareBuffer_Desc &ahb_desc) |
static PixelFormat | ToPixelFormat (AHardwareBuffer_Format format) |
static TextureType | ToTextureType (const AHardwareBuffer_Desc &ahb_desc) |
static TextureDescriptor | ToTextureDescriptor (const AHardwareBuffer_Desc &ahb_desc) |
static void | InsertImageMemoryBarrier (const vk::CommandBuffer &cmd, const vk::Image &image, vk::AccessFlags src_access_mask, vk::AccessFlags dst_access_mask, vk::ImageLayout old_layout, vk::ImageLayout new_layout, vk::PipelineStageFlags src_stage, vk::PipelineStageFlags dst_stage, uint32_t base_mip_level, uint32_t mip_level_count=1u) |
static const char * | GetExtensionName (RequiredCommonDeviceExtensionVK ext) |
static const char * | GetExtensionName (RequiredAndroidDeviceExtensionVK ext) |
static const char * | GetExtensionName (OptionalDeviceExtensionVK ext) |
template<class T > | |
static bool | IterateExtensions (const std::function< bool(T)> &it) |
static std::optional< std::set< std::string > > | GetSupportedDeviceExtensions (const vk::PhysicalDevice &physical_device) |
static bool | HasSuitableColorFormat (const vk::PhysicalDevice &device, vk::Format format) |
static bool | HasSuitableDepthStencilFormat (const vk::PhysicalDevice &device, vk::Format format) |
static bool | PhysicalDeviceSupportsRequiredFormats (const vk::PhysicalDevice &device) |
static bool | HasRequiredProperties (const vk::PhysicalDevice &physical_device) |
static bool | HasRequiredQueues (const vk::PhysicalDevice &physical_device) |
template<class ExtensionEnum > | |
static bool | IsExtensionInList (const std::vector< std::string > &list, ExtensionEnum ext) |
static std::unordered_map< const ContextVK *, std::vector< std::weak_ptr< CommandPoolVK > > > g_all_pools_map | IPLR_GUARDED_BY (g_all_pools_map_mutex) |
bool | HasValidationLayers () |
static std::optional< vk::PhysicalDevice > | PickPhysicalDevice (const CapabilitiesVK &caps, const vk::Instance &instance) |
static std::vector< vk::DeviceQueueCreateInfo > | GetQueueCreateInfos (std::initializer_list< QueueIndexVK > queues) |
static std::optional< QueueIndexVK > | PickQueue (const vk::PhysicalDevice &device, vk::QueueFlagBits flags) |
static std::string | JoinLabels (const VkDebugUtilsLabelEXT *labels, size_t count) |
static std::string | JoinVKDebugUtilsObjectNameInfoEXT (const VkDebugUtilsObjectNameInfoEXT *names, size_t count) |
constexpr VendorVK | IdentifyVendor (uint32_t vendor) |
constexpr DeviceTypeVK | ToDeviceType (const vk::PhysicalDeviceType &type) |
static std::vector< vk::Fence > | GetFencesForWaitSet (const WaitSet &set) |
vk::PipelineDepthStencilStateCreateInfo | ToVKPipelineDepthStencilStateCreateInfo (std::optional< DepthAttachmentDescriptor > depth, std::optional< StencilAttachmentDescriptor > front, std::optional< StencilAttachmentDescriptor > back) |
constexpr vk::SampleCountFlagBits | ToVKSampleCountFlagBits (SampleCount count) |
constexpr vk::BlendFactor | ToVKBlendFactor (BlendFactor factor) |
constexpr vk::BlendOp | ToVKBlendOp (BlendOperation op) |
constexpr vk::ColorComponentFlags | ToVKColorComponentFlags (ColorWriteMask type) |
constexpr vk::PipelineColorBlendAttachmentState | ToVKPipelineColorBlendAttachmentState (const ColorAttachmentDescriptor &desc) |
constexpr std::optional< vk::ShaderStageFlagBits > | ToVKShaderStageFlagBits (ShaderStage stage) |
constexpr vk::Format | ToVKImageFormat (PixelFormat format) |
constexpr PixelFormat | ToPixelFormat (vk::Format format) |
constexpr vk::SampleCountFlagBits | ToVKSampleCount (SampleCount sample_count) |
constexpr vk::Filter | ToVKSamplerMinMagFilter (MinMagFilter filter) |
constexpr vk::SamplerMipmapMode | ToVKSamplerMipmapMode (MipFilter filter) |
constexpr vk::SamplerAddressMode | ToVKSamplerAddressMode (SamplerAddressMode mode) |
constexpr vk::ShaderStageFlags | ToVkShaderStage (ShaderStage stage) |
constexpr vk::DescriptorType | ToVKDescriptorType (DescriptorType type) |
constexpr vk::DescriptorSetLayoutBinding | ToVKDescriptorSetLayoutBinding (const DescriptorSetLayout &layout) |
constexpr vk::AttachmentLoadOp | ToVKAttachmentLoadOp (LoadAction load_action) |
constexpr vk::AttachmentStoreOp | ToVKAttachmentStoreOp (StoreAction store_action, bool is_resolve_texture) |
constexpr bool | StoreActionPerformsResolve (StoreAction store_action) |
constexpr vk::IndexType | ToVKIndexType (IndexType index_type) |
constexpr vk::PolygonMode | ToVKPolygonMode (PolygonMode mode) |
constexpr vk::PrimitiveTopology | ToVKPrimitiveTopology (PrimitiveType primitive) |
constexpr bool | PixelFormatIsDepthStencil (PixelFormat format) |
constexpr vk::CullModeFlags | ToVKCullModeFlags (CullMode mode) |
constexpr vk::CompareOp | ToVKCompareOp (CompareFunction op) |
constexpr vk::StencilOp | ToVKStencilOp (StencilOperation op) |
constexpr vk::StencilOpState | ToVKStencilOpState (const StencilAttachmentDescriptor &desc) |
constexpr vk::ImageAspectFlags | ToVKImageAspectFlags (PixelFormat format) |
constexpr uint32_t | ToArrayLayerCount (TextureType type) |
constexpr vk::ImageViewType | ToVKImageViewType (TextureType type) |
constexpr vk::ImageCreateFlags | ToVKImageCreateFlags (TextureType type) |
constexpr vk::ImageAspectFlags | ToImageAspectFlags (PixelFormat format) |
static bool | VerifyExistingCache (const fml::Mapping &mapping, const CapabilitiesVK &caps) |
static std::shared_ptr< fml::Mapping > | DecorateCacheWithMetadata (std::shared_ptr< fml::Mapping > data) |
static std::unique_ptr< fml::Mapping > | RemoveMetadataFromCache (std::unique_ptr< fml::Mapping > data) |
static std::unique_ptr< fml::Mapping > | OpenCacheFile (const fml::UniqueFD &base_directory, const std::string &cache_file_name, const CapabilitiesVK &caps) |
static vk::PipelineCreationFeedbackEXT | EmptyFeedback () |
constexpr vk::FrontFace | ToVKFrontFace (WindingOrder order) |
static void | ReportPipelineCreationFeedbackToLog (std::stringstream &stream, const vk::PipelineCreationFeedbackEXT &feedback) |
static void | ReportPipelineCreationFeedbackToLog (const PipelineDescriptor &desc, const vk::PipelineCreationFeedbackCreateInfoEXT &feedback) |
static void | ReportPipelineCreationFeedbackToTrace (const PipelineDescriptor &desc, const vk::PipelineCreationFeedbackCreateInfoEXT &feedback) |
static void | ReportPipelineCreationFeedback (const PipelineDescriptor &desc, const vk::PipelineCreationFeedbackCreateInfoEXT &feedback) |
static vk::UniqueRenderPass | CreateCompatRenderPassForPipeline (const vk::Device &device, const PipelineDescriptor &desc) |
void | InsertBarrierForInputAttachmentRead (const vk::CommandBuffer &buffer, const vk::Image &image) |
Inserts the appropriate barriers to ensure that subsequent commands can read from the specified image (itself a framebuffer attachment) as an input attachment. More... | |
static vk::ClearColorValue | VKClearValueFromColor (Color color) |
static vk::ClearDepthStencilValue | VKClearValueFromDepthStencil (uint32_t stencil, Scalar depth) |
static std::vector< vk::ClearValue > | GetVKClearValues (const RenderTarget &target) |
static vk::UniqueSampler | CreateSampler (const vk::Device &device, const SamplerDescriptor &desc, const std::shared_ptr< YUVConversionVK > &yuv_conversion) |
static ShaderStage | ToShaderStage (ArchiveShaderType type) |
static std::string | VKShaderNameToShaderKeyName (const std::string &name, ShaderStage stage) |
static bool | IsMappingSPIRV (const fml::Mapping &mapping) |
template<class T > | |
auto | MakeSharedVK (vk::UniqueHandle< T, VULKAN_HPP_DEFAULT_DISPATCHER_TYPE > handle) |
static bool | ContainsFormat (const std::vector< vk::SurfaceFormatKHR > &formats, vk::SurfaceFormatKHR format) |
static std::optional< vk::SurfaceFormatKHR > | ChooseSurfaceFormat (const std::vector< vk::SurfaceFormatKHR > &formats, PixelFormat preference) |
static std::optional< vk::CompositeAlphaFlagBitsKHR > | ChooseAlphaCompositionMode (vk::CompositeAlphaFlagsKHR flags) |
vk::Format | ToVertexDescriptorFormat (const ShaderStageIOSlot &input) |
template<typename T > | |
static std::shared_ptr< DeviceBuffer > | CreateDeviceBuffer (const std::shared_ptr< Context > &context, const std::string &label, StorageMode storage_mode=StorageMode::kDevicePrivate) |
PipelineFuture< PipelineDescriptor > | CreatePipelineFuture (const Context &context, std::optional< PipelineDescriptor > desc) |
PipelineFuture< ComputePipelineDescriptor > | CreatePipelineFuture (const Context &context, std::optional< ComputePipelineDescriptor > desc) |
fml::Status | AddMipmapGeneration (const std::shared_ptr< CommandBuffer > &command_buffer, const std::shared_ptr< Context > &context, const std::shared_ptr< Texture > &texture) |
Adds a blit command to the render pass. More... | |
static RuntimeUniformType | ToType (fb::UniformDataType type) |
static RuntimeShaderStage | ToShaderStage (fb::Stage stage) |
constexpr ArchiveRenderingBackend | ToArchiveRenderingBackend (fb::RenderingBackend backend) |
constexpr fb::RenderingBackend | ToRenderingBackend (ArchiveRenderingBackend backend) |
constexpr ArchiveShaderType | ToShaderType (fb::Stage stage) |
bool | Main (const fml::CommandLine &command_line) |
std::optional< ArchiveShaderType > | InferShaderTypefromFileExtension (const std::filesystem::path &path) |
constexpr fb::Stage | ToStage (ArchiveShaderType type) |
PathBuilder * | CreatePathBuilder () |
void | DestroyPathBuilder (PathBuilder *builder) |
void | MoveTo (PathBuilder *builder, Scalar x, Scalar y) |
void | LineTo (PathBuilder *builder, Scalar x, Scalar y) |
void | CubicTo (PathBuilder *builder, Scalar x1, Scalar y1, Scalar x2, Scalar y2, Scalar x3, Scalar y3) |
void | Close (PathBuilder *builder) |
struct Vertices * | Tessellate (PathBuilder *builder, int fill_type, Scalar tolerance) |
void | DestroyVertices (Vertices *vertices) |
static void * | HeapAlloc (void *userData, unsigned int size) |
static void * | HeapRealloc (void *userData, void *ptr, unsigned int size) |
static void | HeapFree (void *userData, void *ptr) |
static int | ToTessWindingRule (FillType fill_type) |
void | DestroyTessellator (TESStesselator *tessellator) |
static size_t | ComputeQuadrantDivisions (Scalar pixel_radius) |
static Font | ToFont (const SkTextBlobRunIterator &run) |
static Rect | ToRect (const SkRect &rect) |
std::shared_ptr< TextFrame > | MakeTextFrameFromTextBlobSkia (const sk_sp< SkTextBlob > &blob) |
static size_t | PairsFitInAtlasOfSize (const std::vector< FontGlyphPair > &pairs, const ISize &atlas_size, std::vector< Rect > &glyph_positions, const std::shared_ptr< RectanglePacker > &rect_packer) |
static bool | CanAppendToExistingAtlas (const std::shared_ptr< GlyphAtlas > &atlas, const std::vector< FontGlyphPair > &extra_pairs, std::vector< Rect > &glyph_positions, ISize atlas_size, const std::shared_ptr< RectanglePacker > &rect_packer) |
static ISize | OptimumAtlasSizeForFontGlyphPairs (const std::vector< FontGlyphPair > &pairs, std::vector< Rect > &glyph_positions, const std::shared_ptr< GlyphAtlasContext > &atlas_context, GlyphAtlas::Type type, const ISize &max_texture_size) |
static void | DrawGlyph (SkCanvas *canvas, const ScaledFont &scaled_font, const Glyph &glyph, const Rect &location, bool has_color) |
static bool | UpdateAtlasBitmap (const GlyphAtlas &atlas, const std::shared_ptr< SkBitmap > &bitmap, const std::vector< FontGlyphPair > &new_pairs) |
static std::shared_ptr< SkBitmap > | CreateAtlasBitmap (const GlyphAtlas &atlas, const ISize &atlas_size) |
static bool | UpdateGlyphTextureAtlas (std::shared_ptr< SkBitmap > bitmap, const std::shared_ptr< Texture > &texture) |
static std::shared_ptr< Texture > | UploadGlyphTextureAtlas (const std::shared_ptr< Allocator > &allocator, std::shared_ptr< SkBitmap > bitmap, const ISize &atlas_size, PixelFormat format) |
std::shared_ptr< TextFrame > | MakeTextFrameSTB (const std::shared_ptr< TypefaceSTB > &typeface_stb, Font::Metrics metrics, const std::string &text) |
static size_t | PairsFitInAtlasOfSize (const std::vector< FontGlyphPair > &pairs, const ISize &atlas_size, std::vector< Rect > &glyph_positions, const std::shared_ptr< RectanglePacker > &rect_packer) |
static bool | CanAppendToExistingAtlas (const std::shared_ptr< GlyphAtlas > &atlas, const std::vector< FontGlyphPair > &extra_pairs, std::vector< Rect > &glyph_positions, ISize atlas_size, const std::shared_ptr< RectanglePacker > &rect_packer) |
static ISize | OptimumAtlasSizeForFontGlyphPairs (const std::vector< FontGlyphPair > &pairs, std::vector< Rect > &glyph_positions, const std::shared_ptr< GlyphAtlasContext > &atlas_context, GlyphAtlas::Type type, const ISize &max_texture_size) |
static void | DrawGlyph (BitmapSTB *bitmap, const ScaledFont &scaled_font, const Glyph &glyph, const Rect &location, bool has_color) |
static bool | UpdateAtlasBitmap (const GlyphAtlas &atlas, const std::shared_ptr< BitmapSTB > &bitmap, const std::vector< FontGlyphPair > &new_pairs) |
static std::shared_ptr< BitmapSTB > | CreateAtlasBitmap (const GlyphAtlas &atlas, const ISize &atlas_size) |
static bool | UpdateGlyphTextureAtlas (std::shared_ptr< BitmapSTB > &bitmap, const std::shared_ptr< Texture > &texture) |
static std::shared_ptr< Texture > | UploadGlyphTextureAtlas (const std::shared_ptr< Allocator > &allocator, std::shared_ptr< BitmapSTB > &bitmap, const ISize &atlas_size, PixelFormat format) |
Variables | |
static const char * | kElementsWindowName = "Elements" |
static const char * | kPropertiesWindowName = "Properties" |
static const std::initializer_list< std::string > | kSupportedDocuments |
static const auto | kPropertiesProcTable |
constexpr ColorMatrix | kColorInversion |
A color matrix which inverts colors. More... | |
static std::atomic_size_t | sLastID |
static std::atomic_int32_t | sValidationLogsDisabledCount = 0 |
static std::atomic_int32_t | sValidationLogsAreFatal = 0 |
constexpr size_t | kAllocatorBlockSize = 1024000 |
static const constexpr size_t | kHostBufferArenaSize = 3u |
Approximately the same size as the max frames in flight. More... | |
constexpr std::array< std::array< Scalar, 5 >, 15 > | kPorterDuffCoefficients |
constexpr Matrix | kMatrixBT601LimitedRange |
constexpr Matrix | kMatrixBT601FullRange |
static const constexpr RenderTarget::AttachmentConfig | kDefaultStencilConfig |
static const GeometryResult | kEmptyResult |
static constexpr const char * | kBlendModeNames [] |
constexpr float | kE = 2.7182818284590452354f |
constexpr float | kLog2E = 1.4426950408889634074f |
constexpr float | kLog10E = 0.43429448190325182765f |
constexpr float | kLogE2 = 0.69314718055994530942f |
constexpr float | kLogE10 = 2.30258509299404568402f |
constexpr float | kPi = 3.14159265358979323846f |
constexpr float | k2Pi = 6.28318530717958647693f |
constexpr float | kPiOver2 = 1.57079632679489661923f |
constexpr float | kPiOver4 = 0.78539816339744830962f |
constexpr float | k1OverPi = 0.31830988618379067154f |
constexpr float | k2OverPi = 0.63661977236758134308f |
constexpr float | k2OverSqrtPi = 1.12837916709551257390f |
constexpr float | kSqrt2 = 1.41421356237309504880f |
constexpr float | k1OverSqrt2 = 0.70710678118654752440f |
constexpr float | kPhi = 1.61803398874989484820f |
constexpr float | kEhCloseEnough = 1e-3f |
static Tessellator | tess |
static constexpr Scalar | kDefaultCurveTolerance = .1f |
constexpr static float | kKernelRadiusPerSigma = 1.73205080757 |
static const std::vector< std::string > | kSkipTests |
static std::atomic_bool | gShouldOpenNewPlaygrounds = true |
static constexpr std::string_view | kAngleInputAttachmentPrefix |
static const constexpr char * | kFramebufferFetchExt |
static const constexpr char * | kTextureBorderClampExt |
static const constexpr char * | kNvidiaTextureBorderClampExt |
static const constexpr char * | kMultisampledRenderToTextureExt |
static const std::unique_ptr< const Sampler > | kNullSampler = nullptr |
static const std::unique_ptr< const Sampler > | kNullSampler = nullptr |
static constexpr const char * | kInstanceLayer = "ImpellerInstance" |
static thread_local std::unique_ptr< CommandPoolMap > | tls_command_pool_map |
static Mutex | g_all_pools_map_mutex |
static bool | gHasValidationLayers = false |
static const constexpr DescriptorPoolSize | kDefaultBindingSize |
Descriptor pools are always allocated with the following sizes. More... | |
static constexpr vk::AttachmentReference | kUnusedAttachmentReference |
static constexpr uint32_t | kPoolSize = 128u |
constexpr size_t | kImageSizeThresholdForDedicatedMemoryAllocation |
static constexpr const char * | kPipelineCacheFileName |
static constexpr size_t | kMaxBindings = 32 |
constexpr auto | kSelfDependencySrcStageMask |
constexpr auto | kSelfDependencySrcAccessMask |
constexpr auto | kSelfDependencyDstStageMask |
constexpr auto | kSelfDependencyDstAccessMask |
constexpr auto | kSelfDependencyFlags = vk::DependencyFlagBits::eByRegion |
static constexpr size_t | kMagicSubpassInputBinding = 64u |
static const std::unique_ptr< const Sampler > | kNullSampler = nullptr |
static constexpr size_t | kMaxFramesInFlight = 3u |
static constexpr size_t | kPollFramesForOrientation = 1u |
static const TESSalloc | kAlloc |
static constexpr int | kPrecomputedDivisionCount = 1024 |
static int | kPrecomputedDivisions [kPrecomputedDivisionCount] |
static constexpr Scalar | kScaleSize = 100000.0f |
constexpr auto | kPadding = 2 |
static const std::shared_ptr< GlyphAtlas > | kNullGlyphAtlas = nullptr |
using impeller::AHBProperties = typedef vk::StructureChain< vk::AndroidHardwareBufferPropertiesANDROID, vk::AndroidHardwareBufferFormatPropertiesANDROID> |
Definition at line 18 of file ahb_texture_source_vk.cc.
using impeller::BlendColorBurnPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 185 of file content_context.h.
using impeller::BlendColorDodgePipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 187 of file content_context.h.
using impeller::BlendColorPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 183 of file content_context.h.
using impeller::BlendDarkenPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 189 of file content_context.h.
using impeller::BlendDifferencePipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 191 of file content_context.h.
using impeller::BlendExclusionPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 193 of file content_context.h.
using impeller::BlendHardLightPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 195 of file content_context.h.
using impeller::BlendHuePipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 197 of file content_context.h.
using impeller::BlendLightenPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 199 of file content_context.h.
using impeller::BlendLuminosityPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 201 of file content_context.h.
using impeller::BlendMultiplyPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 203 of file content_context.h.
using impeller::BlendOverlayPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 205 of file content_context.h.
using impeller::BlendPipeline = typedef RenderPipelineT<BlendVertexShader, BlendFragmentShader> |
Definition at line 132 of file content_context.h.
using impeller::BlendSaturationPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 207 of file content_context.h.
using impeller::BlendScreenPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 209 of file content_context.h.
using impeller::BlendSoftLightPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendFragmentShader> |
Definition at line 211 of file content_context.h.
using impeller::BorderMaskBlurPipeline = typedef RenderPipelineT<BorderMaskBlurVertexShader, BorderMaskBlurFragmentShader> |
Definition at line 153 of file content_context.h.
using impeller::BufferResource = typedef Resource<BufferView> |
using impeller::Callback = typedef std::function<void(MTLRenderPipelineDescriptor*)> |
Definition at line 26 of file pipeline_library_mtl.mm.
using impeller::CanvasType = typedef Canvas |
CanvasType defines what is the concrete type of the Canvas to be used. When the recorder is enabled it will be swapped out in place of the Canvas at compile-time.
Definition at line 20 of file canvas_type.h.
using impeller::ClipPipeline = typedef RenderPipelineT<ClipVertexShader, ClipFragmentShader> |
Definition at line 174 of file content_context.h.
using impeller::Clock = typedef std::chrono::high_resolution_clock |
using impeller::ColorMatrixColorFilterPipeline = typedef RenderPipelineT<ColorMatrixColorFilterVertexShader, ColorMatrixColorFilterFragmentShader> |
Definition at line 159 of file content_context.h.
using impeller::ColorWriteMask = typedef Mask<ColorWriteMaskBits> |
using impeller::CommandPoolMap = typedef std::unordered_map<uint64_t, std::shared_ptr<CommandPoolVK> > |
Definition at line 160 of file command_pool_vk.cc.
using impeller::ComputePipelineMap = typedef std::unordered_map<ComputePipelineDescriptor, PipelineFuture<ComputePipelineDescriptor>, ComparableHash<ComputePipelineDescriptor>, ComparableEqual<ComputePipelineDescriptor> > |
Definition at line 28 of file pipeline_library.h.
using impeller::ConicalGradientFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, ConicalGradientFillFragmentShader> |
Definition at line 115 of file content_context.h.
using impeller::ConicalGradientSSBOFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, ConicalGradientSsboFillFragmentShader> |
Definition at line 123 of file content_context.h.
using impeller::CTessellator = typedef std::unique_ptr<TESStesselator, decltype(&DestroyTessellator)> |
Definition at line 24 of file tessellator.h.
Definition at line 398 of file tessellator.cc.
using impeller::FontGlyphMap = typedef std::unordered_map<ScaledFont, std::unordered_set<Glyph> > |
Definition at line 29 of file font_glyph_pair.h.
using impeller::FramebufferBlendColorBurnPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 218 of file content_context.h.
using impeller::FramebufferBlendColorDodgePipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 221 of file content_context.h.
using impeller::FramebufferBlendColorPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 215 of file content_context.h.
using impeller::FramebufferBlendDarkenPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 224 of file content_context.h.
using impeller::FramebufferBlendDifferencePipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 227 of file content_context.h.
using impeller::FramebufferBlendExclusionPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 230 of file content_context.h.
using impeller::FramebufferBlendHardLightPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 233 of file content_context.h.
using impeller::FramebufferBlendHuePipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 236 of file content_context.h.
using impeller::FramebufferBlendLightenPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 239 of file content_context.h.
using impeller::FramebufferBlendLuminosityPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 242 of file content_context.h.
using impeller::FramebufferBlendMultiplyPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 245 of file content_context.h.
using impeller::FramebufferBlendOverlayPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 248 of file content_context.h.
using impeller::FramebufferBlendSaturationPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 251 of file content_context.h.
using impeller::FramebufferBlendScreenPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 254 of file content_context.h.
using impeller::FramebufferBlendSoftLightPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendFragmentShader> |
Definition at line 257 of file content_context.h.
using impeller::GaussianBlurDecalPipeline = typedef RenderPipelineT<GaussianBlurVertexShader, GaussianBlurNoalphaDecalFragmentShader> |
Definition at line 144 of file content_context.h.
using impeller::GaussianBlurFragmentShader = typedef KernelPipeline::FragmentShader |
Definition at line 23 of file gaussian_blur_filter_contents.cc.
using impeller::GaussianBlurPipeline = typedef RenderPipelineT<GaussianBlurVertexShader, GaussianBlurNoalphaNodecalFragmentShader> |
Definition at line 147 of file content_context.h.
using impeller::GaussianBlurVertexShader = typedef KernelPipeline::VertexShader |
Definition at line 22 of file gaussian_blur_filter_contents.cc.
using impeller::GeometryColorPipeline = typedef RenderPipelineT<PositionColorVertexShader, VerticesFragmentShader> |
Definition at line 177 of file content_context.h.
using impeller::GlyphAtlasColorPipeline = typedef RenderPipelineT<GlyphAtlasVertexShader, GlyphAtlasColorFragmentShader> |
Definition at line 169 of file content_context.h.
using impeller::GlyphAtlasPipeline = typedef RenderPipelineT<GlyphAtlasVertexShader, GlyphAtlasFragmentShader> |
Definition at line 167 of file content_context.h.
using impeller::IPoint = typedef TPoint<int64_t> |
using impeller::IPoint32 = typedef TPoint<int32_t> |
using impeller::IRect = typedef TRect<int64_t> |
using impeller::ISize = typedef TSize<int64_t> |
using impeller::KernelDecalPipeline = typedef RenderPipelineT<GaussianBlurVertexShader, KernelDecalFragmentShader> |
Definition at line 149 of file content_context.h.
using impeller::KernelPipeline = typedef RenderPipelineT<GaussianBlurVertexShader, KernelNodecalFragmentShader> |
Definition at line 151 of file content_context.h.
using impeller::LinearGradientFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, LinearGradientFillFragmentShader> |
Definition at line 108 of file content_context.h.
using impeller::LinearGradientSSBOFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, LinearGradientSsboFillFragmentShader> |
Definition at line 120 of file content_context.h.
using impeller::LinearToSrgbFilterPipeline = typedef RenderPipelineT<LinearToSrgbFilterVertexShader, LinearToSrgbFilterFragmentShader> |
Definition at line 162 of file content_context.h.
using impeller::MillisecondsF = typedef std::chrono::duration<float, std::milli> |
using impeller::MixedOp = typedef typename MixedOp_<F, I>::type |
Definition at line 19 of file type_traits.h.
using impeller::MorphologyFilterPipeline = typedef RenderPipelineT<MorphologyFilterVertexShader, MorphologyFilterFragmentShader> |
Definition at line 156 of file content_context.h.
using impeller::MyMask = typedef Mask<MyMaskBits> |
Definition at line 20 of file base_unittests.cc.
using impeller::PathComponentVariant = typedef std::variant<std::monostate, const LinearPathComponent*, const QuadraticPathComponent*, const CubicPathComponent*> |
Definition at line 169 of file path_component.h.
using impeller::PipelineMap = typedef std::unordered_map<PipelineDescriptor, PipelineFuture<PipelineDescriptor>, ComparableHash<PipelineDescriptor>, ComparableEqual<PipelineDescriptor> > |
Definition at line 22 of file pipeline_library.h.
using impeller::PipelineProc = typedef std::shared_ptr<Pipeline<PipelineDescriptor> > ( ContentContext::*)(ContentContextOptions) const |
Definition at line 68 of file blend_filter_contents.cc.
using impeller::Point = typedef TPoint<Scalar> |
using impeller::PointsComputeShaderPipeline = typedef ComputePipelineBuilder<PointsComputeShader> |
Geometry Pipelines.
Definition at line 260 of file content_context.h.
using impeller::PorterDuffBlendPipeline = typedef RenderPipelineT<PorterDuffBlendVertexShader, PorterDuffBlendFragmentShader> |
Definition at line 171 of file content_context.h.
using impeller::PositionUVPipeline = typedef RenderPipelineT<TextureFillVertexShader, TiledTextureFillFragmentShader> |
Definition at line 139 of file content_context.h.
using impeller::Quad = typedef std::array<Point, 4> |
using impeller::RadialGradientFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, RadialGradientFillFragmentShader> |
Definition at line 112 of file content_context.h.
using impeller::RadialGradientSSBOFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, RadialGradientSsboFillFragmentShader> |
Definition at line 126 of file content_context.h.
using impeller::Rect = typedef TRect<Scalar> |
using impeller::RRectBlurPipeline = typedef RenderPipelineT<RrectBlurVertexShader, RrectBlurFragmentShader> |
Definition at line 131 of file content_context.h.
using impeller::SamplerMap = typedef std::unordered_map<SamplerDescriptor, std::unique_ptr<const Sampler>, ComparableHash<SamplerDescriptor>, ComparableEqual<SamplerDescriptor> > |
using impeller::Scalar = typedef float |
using impeller::SecondsF = typedef std::chrono::duration<float> |
using impeller::ShaderFunctionMap = typedef std::unordered_map<ShaderKey, std::shared_ptr<const ShaderFunction>, ShaderKey::Hash, ShaderKey::Equal> |
Definition at line 44 of file shader_key.h.
using impeller::SharedHandleVK = typedef std::shared_ptr<SharedObjectVKT<T> > |
Definition at line 52 of file shared_object_vk.h.
using impeller::Size = typedef TSize<Scalar> |
using impeller::SolidFillPipeline = typedef RenderPipelineT<SolidFillVertexShader, SolidFillFragmentShader> |
Definition at line 110 of file content_context.h.
using impeller::SrgbToLinearFilterPipeline = typedef RenderPipelineT<SrgbToLinearFilterVertexShader, SrgbToLinearFilterFragmentShader> |
Definition at line 165 of file content_context.h.
using impeller::SweepGradientFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, SweepGradientFillFragmentShader> |
Definition at line 117 of file content_context.h.
using impeller::SweepGradientSSBOFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, SweepGradientSsboFillFragmentShader> |
Definition at line 129 of file content_context.h.
using impeller::TessellatedVertexProc = typedef Tessellator::TessellatedVertexProc |
Definition at line 397 of file tessellator.cc.
using impeller::TexturePipeline = typedef RenderPipelineT<TextureFillVertexShader, TextureFillFragmentShader> |
Definition at line 134 of file content_context.h.
using impeller::TextureResource = typedef Resource<std::shared_ptr<const Texture> > |
using impeller::TextureStrictSrcPipeline = typedef RenderPipelineT<TextureFillVertexShader, TextureFillStrictSrcFragmentShader> |
Definition at line 137 of file content_context.h.
using impeller::TextureUsageMask = typedef Mask<TextureUsage> |
using impeller::TiledTexturePipeline = typedef RenderPipelineT<TextureFillVertexShader, TiledTextureFillFragmentShader> |
Definition at line 141 of file content_context.h.
using impeller::TimePoint = typedef std::chrono::time_point<std::chrono::high_resolution_clock> |
using impeller::UintPoint32 = typedef TPoint<uint32_t> |
using impeller::UniqueAllocatorVMA = typedef fml::UniqueObject<VmaAllocator, AllocatorVMATraits> |
using impeller::UniqueBufferVMA = typedef fml::UniqueObject<BufferVMA, BufferVMATraits> |
using impeller::UniqueEGLImage = typedef fml::UniqueObject<EGLImageWithDisplay, EGLImageWithDisplayTraits> |
using impeller::UniqueEGLImageKHR = typedef fml::UniqueObject<EGLImageKHRWithDisplay, EGLImageKHRWithDisplayTraits> |
using impeller::UniqueGLTexture = typedef fml::UniqueObject<GLTexture, GLTextureTraits> |
using impeller::UniqueImageVMA = typedef fml::UniqueObject<ImageVMA, ImageVMATraits> |
using impeller::UniquePoolVMA = typedef fml::UniqueObject<PoolVMA, PoolVMATraits> |
using impeller::UvComputeShaderPipeline = typedef ComputePipelineBuilder<UvComputeShader> |
Definition at line 261 of file content_context.h.
using impeller::Vector2 = typedef Point |
using impeller::VS = typedef SolidFillVertexShader |
Definition at line 15 of file stroke_path_geometry.cc.
using impeller::WaitSet = typedef std::vector<std::shared_ptr<WaitSetEntry> > |
Definition at line 25 of file fence_waiter_vk.h.
using impeller::YUVConversionDescriptorVK = typedef vk::StructureChain<vk::SamplerYcbcrConversionCreateInfo > |
A descriptor used to create a new YUV conversion in a conversion library.
Definition at line 30 of file yuv_conversion_vk.h.
using impeller::YUVToRGBFilterPipeline = typedef RenderPipelineT<YuvToRgbFilterVertexShader, YuvToRgbFilterFragmentShader> |
Definition at line 179 of file content_context.h.
|
strong |
Enumerator | |
---|---|
kMetal | |
kVulkan | |
kOpenGLES |
Definition at line 16 of file shader_archive_types.h.
|
strong |
Enumerator | |
---|---|
kVertex | |
kFragment | |
kCompute |
Definition at line 10 of file shader_archive_types.h.
|
strong |
Definition at line 179 of file formats.h.
|
strong |
All blend modes assume that both the source (fragment output) and destination (first color attachment) have colors with premultiplied alpha.
Definition at line 59 of file color.h.
|
strong |
|
strong |
Enumerator | |
---|---|
kScreen | |
kOverlay | |
kDarken | |
kLighten | |
kColorDodge | |
kColorBurn | |
kHardLight | |
kSoftLight | |
kDifference | |
kExclusion | |
kMultiply | |
kHue | |
kSaturation | |
kColor | |
kLuminosity |
Definition at line 15 of file framebuffer_blend_contents.h.
enum impeller::CanvasRecorderOp : uint16_t |
TODO(tbd): These are very similar to flutter::DisplayListOpType
. When golden tests can be written at a higher level, migrate these to flutter::DisplayListOpType.
Definition at line 19 of file canvas_recorder.h.
|
strong |
|
strong |
|
strong |
Definition at line 534 of file formats.h.
|
strong |
Additional compression to apply to a texture. This value is ignored on platforms which do not support it.
Lossy compression is only supported on iOS 15+ on A15 chips.
Enumerator | |
---|---|
kLossless | |
kLossy |
Definition at line 18 of file texture_descriptor.h.
|
strong |
Specifies how much to trust the bounds rectangle provided for a list of contents. Used by both |EntityPass| and |Canvas::SaveLayer|.
Definition at line 28 of file entity_pass.h.
|
strong |
|
strong |
|
strong |
Enumerator | |
---|---|
kTexture | |
kBuffer | |
kProgram | |
kShader | |
kRenderBuffer | |
kFrameBuffer |
Definition at line 220 of file proc_table_gles.h.
|
strong |
Enumerator | |
---|---|
kUniformBuffer | |
kStorageBuffer | |
kSampledImage | |
kImage | |
kSampler | |
kInputAttachment |
Definition at line 153 of file shader_types.h.
|
strong |
Definition at line 36 of file driver_info_vk.h.
|
strong |
Enumerator | |
---|---|
kPosition | |
kColor | |
kColor | |
kUV |
Definition at line 49 of file geometry.h.
|
strong |
Enumerator | |
---|---|
kUnknown | |
kTexture | |
kBuffer | |
kProgram | |
kRenderBuffer | |
kFrameBuffer |
Definition at line 22 of file handle_gles.h.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
A device extension enabled if available. Subsystems cannot assume availability and must check if these extensions are available.
CapabilitiesVK::HasExtension
. Enumerator | |
---|---|
kEXTPipelineCreationFeedback | To instrument and profile PSO creation. |
kVKKHRPortabilitySubset | To enable context creation on MoltenVK. A non-conformant Vulkan implementation. https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_portability_subset.html |
kLast |
Definition at line 91 of file capabilities_vk.h.
|
strong |
The Pixel formats supported by Impeller. The naming convention denotes the usage of the component, the bit width of that component, and then one or more qualifiers to its interpretation.
For instance, kR8G8B8A8UNormIntSRGB
is a 32 bits-per-pixel format ordered in RGBA with 8 bits per component with each component expressed as an unsigned normalized integer and a conversion from sRGB to linear color space.
Key: R -> Red Component G -> Green Component B -> Blue Component D -> Depth Component S -> Stencil Component U -> Unsigned (Lack of this denotes a signed component) Norm -> Normalized SRGB -> sRGB to linear interpretation
While the effective bit width of the pixel can be determined by adding up the widths of each component, only the non-esoteric formats are tightly packed. Do not assume tight packing for the esoteric formats and use blit passes to convert to a non-esoteric pass.
Definition at line 100 of file formats.h.
|
strong |
Enumerator | |
---|---|
kMetal | |
kOpenGLES | |
kVulkan |
Definition at line 29 of file playground.h.
|
strong |
|
strong |
|
strong |
Decides how backend draws pixels based on input vertices.
Enumerator | |
---|---|
kTriangle | Draws a triage for each separate set of three vertices. Vertices [A, B, C, D, E, F] will produce triages [ABC, DEF]. |
kTriangleStrip | Draws a triage for every adjacent three vertices. Vertices [A, B, C, D, E, F] will produce triages [ABC, BCD, CDE, DEF]. |
kLine | Draws a line for each separate set of two vertices. Vertices [A, B, C] will produce discontinued line [AB, BC]. |
kLineStrip | Draws a continuous line that connect every input vertices Vertices [A, B, C] will produce one continuous line [ABC]. |
kPoint | Draws a point at each input vertex. |
Definition at line 353 of file formats.h.
|
strong |
A device extension available on all Android platforms. Without the presence of these extensions on Android, context creation will fail.
Platform agnostic code can still check if these Android extensions are present.
Enumerator | |
---|---|
kANDROIDExternalMemoryAndroidHardwareBuffer | For importing hardware buffers used in external texture composition. |
kKHRSamplerYcbcrConversion | Dependency of kANDROIDExternalMemoryAndroidHardwareBuffer. |
kKHRExternalMemory | Dependency of kANDROIDExternalMemoryAndroidHardwareBuffer. https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_external_memory.html |
kEXTQueueFamilyForeign | Dependency of kANDROIDExternalMemoryAndroidHardwareBuffer. https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_queue_family_foreign.html |
kKHRDedicatedAllocation | Dependency of kANDROIDExternalMemoryAndroidHardwareBuffer. https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_dedicated_allocation.html |
kLast |
Definition at line 45 of file capabilities_vk.h.
|
strong |
A device extension available on all platforms. Without the presence of these extensions, context creation will fail.
Enumerator | |
---|---|
kKHRSwapchain | For displaying content in the window system. https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_swapchain.html |
kLast |
Definition at line 26 of file capabilities_vk.h.
|
strong |
Enumerator | |
---|---|
kVertex | |
kFragment | |
kCompute |
Definition at line 28 of file runtime_types.h.
|
strong |
Enumerator | |
---|---|
kFloat | |
kSampledImage | |
kStruct |
Definition at line 22 of file runtime_types.h.
|
strong |
|
strong |
Enumerator | |
---|---|
kClampToEdge | |
kRepeat | |
kMirror | |
kDecal | decal sampling mode is only supported on devices that pass the |
Definition at line 423 of file formats.h.
|
strong |
|
strong |
Definition at line 41 of file shader_types.h.
|
strong |
|
strong |
Definition at line 553 of file formats.h.
|
strong |
Specified where the allocation resides and how it is used.
Definition at line 33 of file formats.h.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
Enumerator | |
---|---|
kNoUV | |
kUVRect | |
kUVRectTx |
Definition at line 100 of file geometry_benchmarks.cc.
|
strong |
Definition at line 13 of file driver_info_vk.h.
|
strong |
|
strong |
impeller::_FOR_EACH_CAPTURE_PROPERTY | ( | _CAPTURE_PROPERTY_CAST_DEFINITION | ) |
impeller::_FOR_EACH_CAPTURE_PROPERTY | ( | _CAPTURE_PROPERTY_DECLARATION | ) |
impeller::_FOR_EACH_CAPTURE_PROPERTY | ( | _CAPTURE_PROPERTY_DEFINITION | ) |
|
constexpr |
Definition at line 21 of file scalar.h.
Referenced by ScalarNearlyZero().
fml::Status impeller::AddMipmapGeneration | ( | const std::shared_ptr< CommandBuffer > & | command_buffer, |
const std::shared_ptr< Context > & | context, | ||
const std::shared_ptr< Texture > & | texture | ||
) |
Adds a blit command to the render pass.
Definition at line 11 of file texture_mipmap.cc.
Referenced by impeller::InlinePassContext::EndPass(), and impeller::ContentContext::MakeSubpass().
|
static |
Handle inputs.
Render to texture.
Definition at line 71 of file blend_filter_contents.cc.
References impeller::VertexBufferBuilder< VertexType_, IndexType_ >::AddVertices(), BlendModeToString(), impeller::VertexBufferBuilder< VertexType_, IndexType_ >::CreateVertexBuffer(), impeller::Entity::FromSnapshot(), impeller::Entity::GetBlendMode(), impeller::Entity::GetClipDepth(), impeller::Entity::GetContents(), impeller::ContentContext::GetContext(), impeller::ContentContext::GetDeviceCapabilities(), impeller::TRect< T >::GetOrigin(), impeller::TRect< T >::GetSize(), impeller::ContentContext::GetTransientsBuffer(), impeller::TRect< T >::Intersection(), kDecal, kSource, kTriangleStrip, impeller::ColorFilterContents::kYes, impeller::ContentContext::MakeSubpass(), impeller::Matrix::MakeTranslation(), OptionsFromPass(), SPrintF(), impeller::Capabilities::SupportsDecalSamplerAddressMode(), and impeller::Snapshot::texture.
impeller::API_AVAILABLE | ( | ios(14.0) | , |
macos(11.0) | |||
) |
Definition at line 17 of file command_buffer_mtl.mm.
|
static |
Definition at line 12 of file gradient.cc.
References impeller::GradientData::color_bytes, and impeller::Color::ToR8G8B8A8().
Referenced by CreateGradientBuffer().
|
inlinestaticconstexpr |
Composite a blended color onto the destination. All three parameters are unpremultiplied. Returns a premultiplied result.
This routine is the same as IPApplyBlendedColor
in the Impeller shader library.
Definition at line 201 of file color.cc.
References impeller::Color::alpha, FromRGB(), and impeller::Color::Premultiply().
Referenced by DoColorBlend(), and DoColorBlendComponents().
Definition at line 101 of file path_component.cc.
Referenced by impeller::QuadraticPathComponent::ToLinearPathComponents().
std::string impeller::AttachmentToString | ( | const Attachment & | attachment | ) |
Definition at line 104 of file formats.cc.
References impeller::Attachment::load_action, LoadActionToString(), impeller::Attachment::resolve_texture, impeller::Attachment::store_action, StoreActionToString(), impeller::Attachment::texture, and TextureDescriptorToString().
Referenced by ColorAttachmentToString(), DepthAttachmentToString(), and StencilAttachmentToString().
|
static |
impeller::BENCHMARK_CAPTURE | ( | BM_CanvasRecord | , |
draw_circle | , | ||
& | DrawCircle | ||
) |
impeller::BENCHMARK_CAPTURE | ( | BM_CanvasRecord | , |
draw_line | , | ||
& | DrawLine | ||
) |
impeller::BENCHMARK_CAPTURE | ( | BM_CanvasRecord | , |
draw_rect | , | ||
& | DrawRect | ||
) |
impeller::BENCHMARK_CAPTURE | ( | BM_Convex | , |
rrect_convex | , | ||
CreateRRect() | , | ||
true | |||
) |
impeller::BENCHMARK_CAPTURE | ( | BM_Polyline | , |
cubic_polyline | , | ||
CreateCubic(true) | , | ||
false | |||
) |
impeller::BENCHMARK_CAPTURE | ( | BM_Polyline | , |
cubic_polyline_tess | , | ||
CreateCubic(true) | , | ||
true | |||
) |
impeller::BENCHMARK_CAPTURE | ( | BM_Polyline | , |
quad_polyline | , | ||
CreateQuadratic(true) | , | ||
false | |||
) |
impeller::BENCHMARK_CAPTURE | ( | BM_Polyline | , |
quad_polyline_tess | , | ||
CreateQuadratic(true) | , | ||
true | |||
) |
impeller::BENCHMARK_CAPTURE | ( | BM_Polyline | , |
unclosed_cubic_polyline | , | ||
CreateCubic(false) | , | ||
false | |||
) |
impeller::BENCHMARK_CAPTURE | ( | BM_Polyline | , |
unclosed_cubic_polyline_tess | , | ||
CreateCubic(false) | , | ||
true | |||
) |
impeller::BENCHMARK_CAPTURE | ( | BM_Polyline | , |
unclosed_quad_polyline | , | ||
CreateQuadratic(false) | , | ||
false | |||
) |
impeller::BENCHMARK_CAPTURE | ( | BM_Polyline | , |
unclosed_quad_polyline_tess | , | ||
CreateQuadratic(false) | , | ||
true | |||
) |
|
static |
Definition at line 189 of file render_pass_mtl.mm.
References impeller::BufferView::buffer, impeller::Range::offset, impeller::BufferView::range, and impeller::PassBindingsCacheMTL::SetBuffer().
|
static |
Definition at line 211 of file render_pass_mtl.mm.
References impeller::Texture::IsValid(), impeller::Texture::NeedsMipmapGeneration(), impeller::PassBindingsCacheMTL::SetSampler(), impeller::PassBindingsCacheMTL::SetTexture(), and VALIDATION_LOG.
const char * impeller::BlendModeToString | ( | BlendMode | blend_mode | ) |
Definition at line 47 of file color.cc.
References kBlendModeNames.
Referenced by AdvancedBlend(), PipelineBlend(), impeller::AtlasContents::Render(), impeller::testing::TEST(), and impeller::TraceSerializer::Write().
|
static |
Definition at line 42 of file canvas_benchmarks.cc.
|
static |
Definition at line 151 of file geometry_benchmarks.cc.
References tess, and impeller::Tessellator::TessellateConvex().
|
static |
Definition at line 59 of file geometry_benchmarks.cc.
References impeller::Path::Polyline::points, polyline, tess, and impeller::Tessellator::Tessellate().
|
static |
Definition at line 107 of file geometry_benchmarks.cc.
References impeller::ImpellerBenchmarkAccessor::GenerateSolidStrokeVertices(), impeller::ImpellerBenchmarkAccessor::GenerateSolidStrokeVerticesUV(), kNoUV, kUVRectTx, impeller::Matrix::MakeScale(), polyline, scale, and stroke_width.
|
constexpr |
Definition at line 448 of file formats.h.
References kA8UNormInt, kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, and kUnknown.
Referenced by impeller::BlitPass::AddCopy(), impeller::BlitCopyTextureToBufferCommandMTL::Encode(), impeller::BlitCopyBufferToTextureCommandMTL::Encode(), impeller::TextureDescriptor::GetByteSizeOfBaseMipLevel(), impeller::TextureDescriptor::GetBytesPerRow(), and impeller::Allocator::MinimumBytesPerRow().
|
static |
Definition at line 80 of file typographer_context_skia.cc.
References impeller::Glyph::bounds, impeller::TSize< int64_t >::Ceil(), impeller::TRect< T >::GetSize(), impeller::FontGlyphPair::glyph, impeller::TSize< T >::IsEmpty(), kPadding, impeller::TRect< Scalar >::MakeXYWH(), impeller::ScaledFont::scale, impeller::FontGlyphPair::scaled_font, impeller::IPoint16::x(), and impeller::IPoint16::y().
Referenced by impeller::TypographerContextSkia::CreateGlyphAtlas(), and impeller::TypographerContextSTB::CreateGlyphAtlas().
|
static |
Definition at line 100 of file typographer_context_stb.cc.
References impeller::ScaledFont::font, impeller::Font::GetMetrics(), impeller::Font::GetTypeface(), impeller::FontGlyphPair::glyph, impeller::TSize< T >::height, impeller::Glyph::index, impeller::TSize< T >::IsEmpty(), kPadding, impeller::TypefaceSTB::kPointsToPixels, impeller::TRect< Scalar >::MakeXYWH(), impeller::Font::Metrics::point_size, impeller::FontGlyphPair::scaled_font, impeller::TSize< T >::width, impeller::IPoint16::x(), and impeller::IPoint16::y().
|
constexpr |
|
constexpr |
Definition at line 251 of file formats.h.
References kDontCare, kMultisampleResolve, kStore, and kStoreAndMultisampleResolve.
|
static |
Definition at line 101 of file khr_swapchain_impl_vk.cc.
|
static |
Definition at line 79 of file khr_swapchain_impl_vk.cc.
References ContainsFormat(), and ToVKImageFormat().
Definition at line 144 of file color.cc.
References kEhCloseEnough, Luminosity(), impeller::Vector3::x, impeller::Vector3::y, and impeller::Vector3::z.
Referenced by SetLuminosity().
IMPELLER_API void impeller::Close | ( | PathBuilder * | builder | ) |
Definition at line 36 of file tessellator.cc.
References impeller::PathBuilder::Close().
Referenced by impeller::testing::MaskBlurVariantTest(), impeller::testing::TEST(), and impeller::testing::TEST_P().
|
static |
Definition at line 108 of file reactor_gles.cc.
References kBuffer, kFrameBuffer, kProgram, kRenderBuffer, kTexture, and kUnknown.
std::string impeller::ColorAttachmentToString | ( | const ColorAttachment & | color | ) |
Definition at line 123 of file formats.cc.
References AttachmentToString(), impeller::ColorAttachment::clear_color, and ColorToString().
Referenced by impeller::RenderTarget::ToString().
std::string impeller::ColorToString | ( | const Color & | color | ) |
Definition at line 410 of file color.cc.
References impeller::Color::alpha, impeller::Color::blue, impeller::Color::green, impeller::Color::red, and SPrintF().
Referenced by ColorAttachmentToString().
|
inlinestaticconstexpr |
Definition at line 178 of file color.cc.
References impeller::saturated::b, impeller::Vector3::x, impeller::Vector3::y, and impeller::Vector3::z.
Referenced by impeller::Color::Blend().
|
constexpr |
Definition at line 23 of file texture_descriptor.h.
References kLossless, and kLossy.
Referenced by TextureDescriptorToString().
|
static |
Definition at line 318 of file tessellator.cc.
References impeller::Tessellator::kCircleTolerance, kPiOver4, kPrecomputedDivisionCount, and kPrecomputedDivisions.
Referenced by impeller::Tessellator::FilledCircle(), impeller::Tessellator::FilledEllipse(), impeller::Tessellator::FilledRoundRect(), impeller::Tessellator::RoundCapLine(), and impeller::Tessellator::StrokedCircle().
VertexBufferBuilder< TextureFillVertexShader::PerVertexData > impeller::ComputeUVGeometryCPU | ( | VertexBufferBuilder< SolidFillVertexShader::PerVertexData > & | input, |
Point | texture_origin, | ||
Size | texture_coverage, | ||
Matrix | effect_transform | ||
) |
Compute UV geometry for a VBB that contains only position geometry.
texture_origin should be set to 0, 0 for stroke and stroke based geometry, like the point field.
Definition at line 93 of file geometry.cc.
References impeller::VertexBufferBuilder< VertexType_, IndexType_ >::AppendVertex(), impeller::VertexBufferBuilder< VertexType_, IndexType_ >::GetVertexCount(), impeller::VertexBufferBuilder< VertexType_, IndexType_ >::IterateVertices(), and impeller::VertexBufferBuilder< VertexType_, IndexType_ >::Reserve().
GeometryResult impeller::ComputeUVGeometryForRect | ( | Rect | source_rect, |
Rect | texture_bounds, | ||
Matrix | effect_transform, | ||
const ContentContext & | renderer, | ||
const Entity & | entity, | ||
RenderPass & | pass | ||
) |
Computes geometry and UV coordinates for a rectangle to be rendered.
UV is the horizontal and vertical coordinates within the texture.
source_rect | The rectangle to be rendered. |
texture_bounds | The local space bounding box of the geometry. |
effect_transform | The transform to apply to the UV coordinates. |
renderer | The content context to use for allocating buffers. |
entity | The entity to use for the transform. |
pass | The render pass to use for the transform. |
Definition at line 113 of file geometry.cc.
References impeller::TRect< T >::GetNormalizingTransform(), impeller::TRect< T >::GetPoints(), impeller::Entity::GetShaderTransform(), impeller::ContentContext::GetTransientsBuffer(), kNone, kTriangleStrip, and impeller::GeometryResult::type.
Referenced by impeller::RectGeometry::GetPositionUVBuffer().
|
static |
Definition at line 56 of file render_pass_mtl.mm.
References impeller::BackendCast< TextureMTL, Texture >::Cast(), ConfigureResolveTextureAttachment(), impeller::TextureMTL::GetMTLTexture(), impeller::Attachment::load_action, impeller::Attachment::store_action, impeller::Attachment::texture, ToMTLLoadAction(), and ToMTLStoreAction().
Referenced by ConfigureColorAttachment(), ConfigureDepthAttachment(), and ConfigureStencilAttachment().
void impeller::ConfigureBlending | ( | const ProcTableGLES & | gl, |
const ColorAttachmentDescriptor * | color | ||
) |
Definition at line 43 of file render_pass_gles.cc.
References impeller::ColorAttachmentDescriptor::alpha_blend_op, impeller::ColorAttachmentDescriptor::blending_enabled, impeller::ColorAttachmentDescriptor::color_blend_op, impeller::ColorAttachmentDescriptor::dst_alpha_blend_factor, impeller::ColorAttachmentDescriptor::dst_color_blend_factor, kAlpha, kBlue, kGreen, kRed, impeller::ColorAttachmentDescriptor::src_alpha_blend_factor, impeller::ColorAttachmentDescriptor::src_color_blend_factor, ToBlendFactor(), ToBlendOperation(), and impeller::ColorAttachmentDescriptor::write_mask.
Referenced by EncodeCommandsInReactor().
|
static |
Definition at line 73 of file render_pass_mtl.mm.
References impeller::ColorAttachment::clear_color, ConfigureAttachment(), and ToMTLClearColor().
Referenced by ToMTLRenderPassDescriptor().
|
static |
Definition at line 83 of file render_pass_mtl.mm.
References impeller::DepthAttachment::clear_depth, and ConfigureAttachment().
Referenced by ToMTLRenderPassDescriptor().
|
static |
Definition at line 23 of file blit_command_gles.cc.
References impeller::BackendCast< TextureGLES, Texture >::Cast(), DeleteFBO(), impeller::TextureGLES::GetGLHandle(), impeller::TextureGLES::kColor0, impeller::TextureGLES::SetAsFramebufferAttachment(), and VALIDATION_LOG.
Referenced by impeller::BlitCopyTextureToTextureCommandGLES::Encode(), and impeller::BlitCopyTextureToBufferCommandGLES::Encode().
|
static |
Definition at line 27 of file render_pass_mtl.mm.
References impeller::BackendCast< TextureMTL, Texture >::Cast(), impeller::TextureMTL::GetMTLTexture(), kMultisampleResolve, kStoreAndMultisampleResolve, impeller::Attachment::resolve_texture, impeller::Attachment::store_action, and VALIDATION_LOG.
Referenced by ConfigureAttachment().
void impeller::ConfigureStencil | ( | const ProcTableGLES & | gl, |
const PipelineDescriptor & | pipeline, | ||
uint32_t | stencil_reference | ||
) |
void impeller::ConfigureStencil | ( | GLenum | face, |
const ProcTableGLES & | gl, | ||
const StencilAttachmentDescriptor & | stencil, | ||
uint32_t | stencil_reference | ||
) |
Definition at line 76 of file render_pass_gles.cc.
References impeller::StencilAttachmentDescriptor::depth_failure, impeller::StencilAttachmentDescriptor::depth_stencil_pass, impeller::StencilAttachmentDescriptor::read_mask, impeller::StencilAttachmentDescriptor::stencil_compare, impeller::StencilAttachmentDescriptor::stencil_failure, ToCompareFunction(), ToStencilOp(), and impeller::StencilAttachmentDescriptor::write_mask.
Referenced by ConfigureStencil(), and EncodeCommandsInReactor().
|
static |
Definition at line 93 of file render_pass_mtl.mm.
References impeller::StencilAttachment::clear_stencil, and ConfigureAttachment().
Referenced by ToMTLRenderPassDescriptor().
|
static |
Definition at line 74 of file khr_swapchain_impl_vk.cc.
Referenced by ChooseSurfaceFormat().
|
static |
Definition at line 217 of file typographer_context_skia.cc.
References DrawGlyph(), impeller::GlyphAtlas::GetType(), impeller::TSize< T >::height, impeller::GlyphAtlas::IterateGlyphs(), impeller::GlyphAtlas::kAlphaBitmap, impeller::GlyphAtlas::kColorBitmap, and impeller::TSize< T >::width.
Referenced by impeller::TypographerContextSkia::CreateGlyphAtlas(), and impeller::TypographerContextSTB::CreateGlyphAtlas().
|
static |
Definition at line 291 of file typographer_context_stb.cc.
References DISABLE_COLOR_FONT_SUPPORT, DrawGlyph(), impeller::GlyphAtlas::GetType(), impeller::TSize< T >::height, impeller::GlyphAtlas::IterateGlyphs(), impeller::GlyphAtlas::kColorBitmap, kColorFontBitsPerPixel, and impeller::TSize< T >::width.
|
static |
Definition at line 55 of file allocator_vk.cc.
References kHostVisible, ToVKBufferMemoryPropertyFlags(), and ToVmaAllocationBufferCreateFlags().
|
static |
Definition at line 117 of file command_buffer_mtl.mm.
|
static |
Render Pass We are NOT going to use the same render pass with the framebuffer (later) and the graphics pipeline (here). Instead, we are going to ensure that the sub-passes are compatible. To see the compatibility rules, see the Vulkan spec: https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/chap8.html#renderpass-compatibility
Definition at line 125 of file pipeline_vk.cc.
References impeller::RenderPassBuilderVK::Build(), impeller::PipelineDescriptor::GetColorAttachmentDescriptors(), impeller::PipelineDescriptor::GetDepthPixelFormat(), impeller::PipelineDescriptor::GetDepthStencilAttachmentDescriptor(), impeller::PipelineDescriptor::GetLabel(), impeller::PipelineDescriptor::GetSampleCount(), impeller::PipelineDescriptor::GetStencilPixelFormat(), impeller::PipelineDescriptor::HasStencilAttachmentDescriptors(), kDontCare, impeller::RenderPassBuilderVK::SetColorAttachment(), impeller::ContextVK::SetDebugName(), impeller::RenderPassBuilderVK::SetDepthStencilAttachment(), impeller::RenderPassBuilderVK::SetStencilAttachment(), and VALIDATION_LOG.
Referenced by impeller::PipelineVK::Create().
|
static |
Definition at line 232 of file content_context.cc.
References impeller::Context::GetCapabilities(), kCount4, kTriangleStrip, and impeller::ContentContextOptions::sample_count.
|
static |
Definition at line 94 of file pipeline_library_mtl.mm.
References impeller::PipelineDescriptor::GetBackStencilAttachmentDescriptor(), impeller::PipelineDescriptor::GetDepthStencilAttachmentDescriptor(), impeller::PipelineDescriptor::GetFrontStencilAttachmentDescriptor(), and ToMTLDepthStencilDescriptor().
|
static |
Definition at line 21 of file compute_tessellator.cc.
References impeller::DeviceBufferDescriptor::size, and impeller::DeviceBufferDescriptor::storage_mode.
|
static |
Definition at line 84 of file reactor_gles.cc.
References kBuffer, kFrameBuffer, kProgram, kRenderBuffer, kTexture, and kUnknown.
Referenced by impeller::ReactorGLES::CreateHandle().
GradientData impeller::CreateGradientBuffer | ( | const std::vector< Color > & | colors, |
const std::vector< Scalar > & | stops | ||
) |
Populate a vector with the interpolated color bytes for the linear gradient described by colors and stops.
colors | |
stops |
Definition at line 20 of file gradient.cc.
References AppendColor(), impeller::GradientData::color_bytes, impeller::Color::Lerp(), and ScalarNearlyEqual().
Referenced by impeller::testing::TEST().
std::vector< StopData > impeller::CreateGradientColors | ( | const std::vector< Color > & | colors, |
const std::vector< Scalar > & | stops | ||
) |
Populate a vector with the color and stop data for a gradient.
colors | |
stops |
Definition at line 45 of file gradient_generator.cc.
std::shared_ptr< Texture > impeller::CreateGradientTexture | ( | const GradientData & | gradient_data, |
const std::shared_ptr< impeller::Context > & | context | ||
) |
Create a host visible texture that contains the gradient defined by the provided gradient data.
Definition at line 17 of file gradient_generator.cc.
References impeller::GradientData::color_bytes, impeller::TextureDescriptor::format, kHostVisible, kR8G8B8A8UNormInt, impeller::TextureDescriptor::size, SPrintF(), impeller::TextureDescriptor::storage_mode, and impeller::GradientData::texture_size.
std::shared_ptr< fml::Mapping > impeller::CreateMappingFromAllocation | ( | const std::shared_ptr< Allocation > & | allocation | ) |
Definition at line 99 of file allocation.cc.
Referenced by CreateMappingWithCopy(), and impeller::testing::TEST_P().
std::shared_ptr< fml::Mapping > impeller::CreateMappingWithCopy | ( | const uint8_t * | contents, |
size_t | length | ||
) |
std::shared_ptr<fml::Mapping> impeller::CreateMappingWithString | ( | std::shared_ptr< const std::string > | string | ) |
std::shared_ptr< fml::Mapping > impeller::CreateMappingWithString | ( | std::string | string | ) |
Definition at line 111 of file allocation.cc.
Referenced by impeller::compiler::Compiler::Compiler().
|
static |
Definition at line 209 of file context_mtl.mm.
References VALIDATION_LOG.
Referenced by impeller::ContextMTL::Create().
|
static |
Definition at line 205 of file context_mtl.mm.
Referenced by impeller::ContextMTL::Create().
IMPELLER_API PathBuilder * impeller::CreatePathBuilder | ( | ) |
Definition at line 10 of file tessellator.cc.
PipelineFuture< ComputePipelineDescriptor > impeller::CreatePipelineFuture | ( | const Context & | context, |
std::optional< ComputePipelineDescriptor > | desc | ||
) |
Definition at line 35 of file pipeline.cc.
References impeller::Context::GetPipelineLibrary(), and impeller::Context::IsValid().
PipelineFuture< PipelineDescriptor > impeller::CreatePipelineFuture | ( | const Context & | context, |
std::optional< PipelineDescriptor > | desc | ||
) |
Definition at line 24 of file pipeline.cc.
References impeller::Context::GetPipelineLibrary(), and impeller::Context::IsValid().
|
static |
All of the load/store actions are managed by InlinePassContext
when RenderPasses
are created, so we just set them to kDontCare
here. What's important is the StorageMode
of the textures, which cannot be changed for the lifetime of the textures.
Definition at line 315 of file entity_pass.cc.
References impeller::ContentContext::GetContext(), impeller::ContentContext::GetDeviceCapabilities(), impeller::ContentContext::GetRenderTargetCache(), kDefaultStencilConfig, kDevicePrivate, kDeviceTransient, kDontCare, kMultisampleResolve, impeller::Context::kOpenGLES, impeller::RenderTarget::AttachmentConfig::storage_mode, impeller::RenderTarget::AttachmentConfigMSAA::storage_mode, impeller::Capabilities::SupportsImplicitResolvingMSAA(), and impeller::Capabilities::SupportsReadFromResolve().
Referenced by impeller::EntityPass::Render().
|
static |
Definition at line 13 of file sampler_vk.cc.
References impeller::SamplerDescriptor::depth_address_mode, impeller::SamplerDescriptor::height_address_mode, impeller::SamplerDescriptor::label, impeller::SamplerDescriptor::mag_filter, impeller::SamplerDescriptor::min_filter, impeller::SamplerDescriptor::mip_filter, impeller::ContextVK::SetDebugName(), ToVKSamplerAddressMode(), ToVKSamplerMinMagFilter(), ToVKSamplerMipmapMode(), VALIDATION_LOG, and impeller::SamplerDescriptor::width_address_mode.
|
static |
Definition at line 393 of file playground.cc.
References impeller::DecompressedImage::GetAllocation(), impeller::DecompressedImage::GetSize(), kHostVisible, kR8G8B8A8UNormInt, impeller::TSize< T >::MipCount(), impeller::TextureDescriptor::storage_mode, and VALIDATION_LOG.
Referenced by impeller::Playground::CreateTextureForMapping().
std::shared_ptr< TextureMTL > impeller::CreateTextureFromDrawableFuture | ( | TextureDescriptor | desc, |
const std::shared_future< id< CAMetalDrawable >> & | drawble_future | ||
) |
Create a TextureMTL from a deferred drawable.
This function is safe to call multiple times and will only call nextDrawable once.
Definition at line 41 of file lazy_drawable_holder.mm.
Referenced by impeller::testing::TEST().
|
static |
Definition at line 84 of file buffer_bindings_gles.cc.
References NormalizeUniformKey().
|
static |
|
static |
Definition at line 170 of file ahb_texture_source_vk.cc.
References VALIDATION_LOG, and impeller::TSize< T >::width.
Referenced by impeller::AHBTextureSourceVK::AHBTextureSourceVK().
|
static |
Definition at line 20 of file ahb_texture_source_vk.cc.
References VALIDATION_LOG, and impeller::TSize< T >::width.
Referenced by impeller::AHBTextureSourceVK::AHBTextureSourceVK().
|
static |
Definition at line 136 of file ahb_texture_source_vk.cc.
References impeller::ContextVK::GetYUVConversionLibrary().
Referenced by impeller::AHBTextureSourceVK::AHBTextureSourceVK().
|
static |
Definition at line 257 of file path_component.cc.
References impeller::saturated::b, and NearZero().
Referenced by impeller::CubicPathComponent::Extrema().
|
inlinestatic |
Definition at line 33 of file path_component.cc.
Referenced by impeller::CubicPathComponent::Solve().
|
inlinestatic |
Definition at line 44 of file path_component.cc.
Referenced by impeller::CubicPathComponent::SolveDerivative().
IMPELLER_API void impeller::CubicTo | ( | PathBuilder * | builder, |
Scalar | x1, | ||
Scalar | y1, | ||
Scalar | x2, | ||
Scalar | y2, | ||
Scalar | x3, | ||
Scalar | y3 | ||
) |
Definition at line 26 of file tessellator.cc.
References impeller::PathBuilder::CubicCurveTo().
std::string impeller::DebugToFramebufferError | ( | int | status | ) |
|
static |
Definition at line 24 of file pipeline_cache_vk.cc.
Referenced by impeller::PipelineCacheVK::PersistCacheToDisk().
bool impeller::DeepCompareMap | ( | const std::map< Key, std::shared_ptr< ComparableType >> & | lhs, |
const std::map< Key, std::shared_ptr< ComparableType >> & | rhs | ||
) |
Definition at line 74 of file comparable.h.
References DeepComparePointer().
Referenced by impeller::PipelineDescriptor::IsEqual().
bool impeller::DeepComparePointer | ( | const std::shared_ptr< ComparableType > & | lhs, |
const std::shared_ptr< ComparableType > & | rhs | ||
) |
Definition at line 57 of file comparable.h.
Referenced by DeepCompareMap(), impeller::ComputePipelineDescriptor::IsEqual(), impeller::Font::IsEqual(), and impeller::PipelineDescriptor::IsEqual().
|
constexpr |
Definition at line 15 of file platform.h.
Referenced by impeller::HostBuffer::EmplaceStorageBuffer(), impeller::HostBuffer::EmplaceUniform(), and impeller::RuntimeEffectContents::Render().
|
static |
Definition at line 16 of file blit_command_gles.cc.
Referenced by ConfigureFBO(), impeller::BlitCopyTextureToTextureCommandGLES::Encode(), and impeller::BlitCopyTextureToBufferCommandGLES::Encode().
std::string impeller::DepthAttachmentToString | ( | const DepthAttachment & | depth | ) |
Definition at line 130 of file formats.cc.
References AttachmentToString(), impeller::DepthAttachment::clear_depth, and SPrintF().
Referenced by impeller::RenderTarget::ToString().
|
static |
Definition at line 242 of file proc_table_gles.cc.
References AttachmentTypeString().
Referenced by impeller::ProcTableGLES::DescribeCurrentFramebuffer().
IMPELLER_API void impeller::DestroyPathBuilder | ( | PathBuilder * | builder | ) |
Definition at line 14 of file tessellator.cc.
void impeller::DestroyTessellator | ( | TESStesselator * | tessellator | ) |
Definition at line 242 of file tessellator.cc.
Referenced by impeller::Tessellator::Tessellator().
IMPELLER_API void impeller::DestroyVertices | ( | Vertices * | vertices | ) |
Definition at line 74 of file tessellator.cc.
References impeller::Vertices::points.
|
static |
Definition at line 43 of file description_gles.cc.
Referenced by impeller::DescriptionGLES::DescriptionGLES().
|
static |
Definition at line 39 of file description_gles.cc.
References HasPrefix().
Referenced by impeller::DescriptionGLES::DescriptionGLES().
|
static |
Definition at line 47 of file description_gles.cc.
References impeller::Version::FromVector(), and StripPrefix().
Referenced by impeller::DescriptionGLES::DescriptionGLES().
|
static |
Definition at line 37 of file allocator_mtl.mm.
|
static |
Definition at line 52 of file allocator_mtl.mm.
|
static |
|
static |
Definition at line 16 of file allocator_mtl.mm.
|
static |
|
inlinestaticconstexpr |
Definition at line 216 of file color.cc.
References ApplyBlendedColor(), ToRGB(), and impeller::Color::Unpremultiply().
Referenced by impeller::Color::Blend().
|
inlinestaticconstexpr |
Definition at line 224 of file color.cc.
References ApplyBlendedColor(), impeller::Color::blue, impeller::Color::green, impeller::Color::red, and impeller::Color::Unpremultiply().
Referenced by impeller::Color::Blend().
|
static |
Definition at line 198 of file typographer_context_stb.cc.
References DISABLE_COLOR_FONT_SUPPORT, impeller::ScaledFont::font, impeller::TRect< T >::GetHeight(), impeller::Font::GetMetrics(), impeller::BitmapSTB::GetPixelAddress(), impeller::BitmapSTB::GetRowBytes(), impeller::Font::GetTypeface(), impeller::TRect< T >::GetWidth(), impeller::TRect< T >::GetX(), impeller::TRect< T >::GetY(), impeller::Glyph::index, kPadding, and impeller::TypefaceSTB::kPointsToPixels.
|
static |
Definition at line 157 of file typographer_context_skia.cc.
References impeller::Glyph::bounds, impeller::BackendCast< TypefaceSkia, Typeface >::Cast(), impeller::ScaledFont::font, impeller::TRect< T >::GetLeft(), impeller::Font::GetMetrics(), impeller::TypefaceSkia::GetSkiaTypeface(), impeller::TRect< T >::GetTop(), impeller::Font::GetTypeface(), impeller::TRect< T >::GetX(), impeller::TRect< T >::GetY(), impeller::Glyph::index, and impeller::ScaledFont::scale.
Referenced by CreateAtlasBitmap(), and UpdateAtlasBitmap().
std::tuple< Point, Point > impeller::DrawPlaygroundLine | ( | PlaygroundPoint & | point_a, |
PlaygroundPoint & | point_b | ||
) |
Definition at line 50 of file widgets.cc.
References impeller::Color::blue, impeller::PlaygroundPoint::color, DrawPlaygroundPoint(), impeller::Color::green, impeller::PlaygroundPoint::radius, and impeller::Color::red.
Referenced by impeller::testing::TEST_P().
Point impeller::DrawPlaygroundPoint | ( | PlaygroundPoint & | point | ) |
Definition at line 9 of file widgets.cc.
References impeller::Color::blue, impeller::PlaygroundPoint::color, impeller::PlaygroundPoint::dragging, impeller::TPoint< T >::GetDistance(), impeller::Color::green, impeller::PlaygroundPoint::position, impeller::PlaygroundPoint::prev_mouse_pos, impeller::PlaygroundPoint::radius, impeller::Color::red, impeller::PlaygroundPoint::reset_position, SPrintF(), impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
Referenced by DrawPlaygroundLine(), and impeller::testing::TEST_P().
|
static |
bool impeller::EncodeCommandsInReactor | ( | const RenderPassData & | pass_data, |
const std::shared_ptr< Allocator > & | transients_allocator, | ||
const ReactorGLES & | reactor, | ||
const std::vector< Command > & | commands, | ||
const std::shared_ptr< GPUTracerGLES > & | tracer | ||
) |
Configure blending.
Setup stencil.
Configure depth.
Setup the viewport.
Setup the scissor rect.
Setup culling.
Setup winding order.
Bind vertex and index buffers.
Bind the pipeline program.
Bind vertex attribs.
Bind uniform data.
Determine the primitive type.
Finally! Invoke the draw call.
Unbind vertex attribs.
Unbind the program pipeline.
Definition at line 144 of file render_pass_gles.cc.
References impeller::Color::alpha, impeller::Color::blue, impeller::BackendCast< TextureGLES, Texture >::Cast(), impeller::BackendCast< DeviceBufferGLES, DeviceBuffer >::Cast(), impeller::BackendCast< PipelineGLES, Pipeline< PipelineDescriptor > >::Cast(), impeller::RenderPassData::clear_color, impeller::RenderPassData::clear_color_attachment, impeller::RenderPassData::clear_depth, impeller::RenderPassData::clear_depth_attachment, impeller::RenderPassData::clear_stencil, impeller::RenderPassData::clear_stencil_attachment, impeller::RenderPassData::color_attachment, ConfigureBlending(), ConfigureStencil(), DebugToFramebufferError(), impeller::RenderPassData::depth_attachment, impeller::RenderPassData::discard_color_attachment, impeller::RenderPassData::discard_depth_attachment, impeller::RenderPassData::discard_stencil_attachment, impeller::ReactorGLES::GetProcTable(), impeller::Color::green, impeller::DeviceBufferGLES::kArrayBuffer, kBackFace, kClockwise, impeller::TextureGLES::kColor0, kCounterClockwise, impeller::TextureGLES::kDepth, impeller::DeviceBufferGLES::kElementArrayBuffer, kFrontFace, kLine, kNone, impeller::TextureGLES::kStencil, kUnknown, impeller::RenderPassData::label, impeller::ProcTableGLES::PushDebugGroup(), impeller::Color::red, impeller::RenderPassData::stencil_attachment, ToCompareFunction(), ToIndexType(), ToMode(), VALIDATION_LOG, and impeller::RenderPassData::viewport.
bool impeller::EncodeCommandsInReactor | ( | const std::shared_ptr< Allocator > & | transients_allocator, |
const ReactorGLES & | reactor, | ||
const std::vector< std::unique_ptr< BlitEncodeGLES >> & | commands, | ||
const std::string & | label | ||
) |
Definition at line 34 of file blit_pass_gles.cc.
References impeller::ReactorGLES::GetProcTable(), and impeller::ProcTableGLES::PushDebugGroup().
|
static |
|
static |
Definition at line 44 of file compute_playground_test.cc.
Referenced by impeller::ComputePlaygroundTest::GetWindowTitle().
|
static |
Definition at line 208 of file proc_table_gles.cc.
Referenced by impeller::ProcTableGLES::DescribeCurrentFramebuffer().
|
static |
Definition at line 20 of file vertices_geometry.cc.
|
constexpr |
Definition at line 289 of file formats_mtl.h.
|
constexpr |
Definition at line 23 of file formats_mtl.h.
References kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kS8UInt, and kUnknown.
Referenced by WrapTextureMTL(), and WrapTextureWithRenderTarget().
|
constexpr |
Definition at line 318 of file formats_mtl.h.
References kDontCare, kMultisampleResolve, kStore, and kStoreAndMultisampleResolve.
Definition at line 192 of file color.cc.
References impeller::Vector3::x, impeller::Vector3::y, and impeller::Vector3::z.
Referenced by ApplyBlendedColor().
KernelPipeline::FragmentShader::KernelSamples impeller::GenerateBlurInfo | ( | BlurParameters | parameters | ) |
Definition at line 586 of file gaussian_blur_filter_contents.cc.
References impeller::BlurParameters::blur_radius, impeller::BlurParameters::blur_sigma, impeller::BlurParameters::blur_uv_offset, and impeller::BlurParameters::step_size.
Referenced by impeller::testing::TEST().
|
static |
Definition at line 46 of file decompressed_image.cc.
References impeller::DecompressedImage::kGrey, impeller::DecompressedImage::kGreyAlpha, impeller::DecompressedImage::kInvalid, impeller::DecompressedImage::kRGB, and impeller::DecompressedImage::kRGBA.
Referenced by impeller::DecompressedImage::ConvertToRGBA().
std::shared_future< id< CAMetalDrawable > > impeller::GetDrawableDeferred | ( | CAMetalLayer * | layer | ) |
Create a deferred drawable from a CAMetalLayer.
Definition at line 23 of file lazy_drawable_holder.mm.
References VALIDATION_LOG.
Referenced by impeller::testing::TEST().
|
static |
Definition at line 184 of file capabilities_vk.cc.
References kEXTPipelineCreationFeedback, kLast, and kVKKHRPortabilitySubset.
|
static |
Definition at line 165 of file capabilities_vk.cc.
References kANDROIDExternalMemoryAndroidHardwareBuffer, kEXTQueueFamilyForeign, kKHRDedicatedAllocation, kKHRExternalMemory, kKHRSamplerYcbcrConversion, and kLast.
|
static |
Definition at line 155 of file capabilities_vk.cc.
References kKHRSwapchain, and kLast.
Referenced by impeller::CapabilitiesVK::GetEnabledDeviceExtensions(), IsExtensionInList(), and impeller::CapabilitiesVK::SetPhysicalDevice().
|
static |
Definition at line 82 of file fence_waiter_vk.cc.
|
static |
Definition at line 21 of file description_gles.cc.
Referenced by impeller::DescriptionGLES::DescriptionGLES().
|
static |
Definition at line 29 of file description_gles.cc.
Referenced by impeller::DescriptionGLES::DescriptionGLES().
|
static |
|
static |
Definition at line 28 of file pipeline_library_mtl.mm.
References impeller::BackendCast< ShaderFunctionMTL, ShaderFunction >::Cast(), impeller::PipelineDescriptor::GetColorAttachmentDescriptors(), impeller::PipelineDescriptor::GetDepthPixelFormat(), impeller::PipelineDescriptor::GetLabel(), impeller::ShaderFunctionMTL::GetMTLFunction(), impeller::ShaderFunctionMTL::GetMTLFunctionSpecialized(), impeller::VertexDescriptorMTL::GetMTLVertexDescriptor(), impeller::PipelineDescriptor::GetSampleCount(), impeller::PipelineDescriptor::GetSpecializationConstants(), impeller::PipelineDescriptor::GetStageEntrypoints(), impeller::PipelineDescriptor::GetStencilPixelFormat(), impeller::PipelineDescriptor::GetVertexDescriptor(), kFragment, kVertex, impeller::VertexDescriptorMTL::SetStageInputsAndLayout(), ToMTLPixelFormat(), and ToMTLRenderPipelineColorAttachmentDescriptor().
|
static |
Definition at line 63 of file context_vk.cc.
Definition at line 18 of file clip_contents.cc.
References impeller::Entity::GetNewClipDepth(), and impeller::Entity::GetShaderClipDepth().
Referenced by impeller::ClipRestoreContents::Render().
|
static |
Definition at line 22 of file pipeline_library_gles.cc.
Referenced by LogShaderCompilationFailure().
|
static |
Definition at line 36 of file pipeline_library_gles.cc.
Referenced by LogShaderCompilationFailure().
|
static |
Definition at line 44 of file runtime_effect_contents.cc.
References kFloat, kSampledImage, and kStruct.
Referenced by MakeShaderMetadata().
|
static |
Definition at line 209 of file capabilities_vk.cc.
Referenced by impeller::CapabilitiesVK::GetEnabledDeviceExtensions(), and impeller::CapabilitiesVK::SetPhysicalDevice().
|
static |
Definition at line 45 of file texture_gles.cc.
References impeller::TextureDescriptor::format, IsDepthStencilFormat(), kCount4, impeller::TextureGLES::kRenderBuffer, impeller::TextureGLES::kRenderBufferMultisampled, kRenderTarget, impeller::TextureGLES::kTexture, impeller::TextureGLES::kTextureMultisampled, impeller::TextureDescriptor::sample_count, and impeller::TextureDescriptor::usage.
|
static |
Definition at line 54 of file render_pass_vk.cc.
References impeller::RenderTarget::GetColorAttachments(), impeller::RenderTarget::GetDepthAttachment(), impeller::RenderTarget::GetStencilAttachment(), VKClearValueFromColor(), and VKClearValueFromDepthStencil().
void() impeller::glClearDepth | ( | GLdouble | depth | ) |
void() impeller::glClearDepthf | ( | GLfloat | depth | ) |
void() impeller::glDepthRange | ( | GLdouble | n, |
GLdouble | f | ||
) |
void() impeller::glDepthRangef | ( | GLfloat | n, |
GLfloat | f | ||
) |
bool impeller::GLErrorIsFatal | ( | GLenum | value | ) |
Definition at line 38 of file proc_table_gles.cc.
Referenced by impeller::AutoErrorCheck::~AutoErrorCheck().
const char * impeller::GLErrorToString | ( | GLenum | value | ) |
Definition at line 18 of file proc_table_gles.cc.
Referenced by impeller::AutoErrorCheck::~AutoErrorCheck().
|
static |
Definition at line 30 of file shader_library_gles.cc.
std::string impeller::HandleTypeToString | ( | HandleType | type | ) |
Definition at line 11 of file handle_gles.cc.
References kBuffer, kFrameBuffer, kProgram, kRenderBuffer, kTexture, and kUnknown.
Referenced by std::operator<<().
bool impeller::HasPrefix | ( | const std::string & | string, |
const std::string & | prefix | ||
) |
Definition at line 30 of file strings.cc.
Referenced by DetermineIfES(), and StripPrefix().
|
static |
Definition at line 307 of file capabilities_vk.cc.
Referenced by impeller::CapabilitiesVK::GetEnabledDeviceFeatures().
|
static |
Definition at line 316 of file capabilities_vk.cc.
Referenced by impeller::CapabilitiesVK::GetEnabledDeviceFeatures().
bool impeller::HasSuffix | ( | const std::string & | string, |
const std::string & | suffix | ||
) |
Definition at line 34 of file strings.cc.
|
static |
Definition at line 282 of file capabilities_vk.cc.
Referenced by PhysicalDeviceSupportsRequiredFormats().
|
static |
Definition at line 290 of file capabilities_vk.cc.
Referenced by PhysicalDeviceSupportsRequiredFormats(), and impeller::CapabilitiesVK::SetPhysicalDevice().
bool impeller::HasValidationLayers | ( | ) |
Definition at line 48 of file context_vk.cc.
References gHasValidationLayers.
Referenced by impeller::QueueVK::InsertDebugMarker(), impeller::CommandEncoderVK::InsertDebugMarker(), impeller::CommandEncoderVK::PopDebugGroup(), impeller::CommandEncoderVK::PushDebugGroup(), and impeller::ContextVK::SetDebugName().
|
static |
Definition at line 11 of file tessellator.cc.
|
static |
Definition at line 19 of file tessellator.cc.
|
static |
Definition at line 15 of file tessellator.cc.
|
constexpr |
impeller::IMPELLER_ENUM_IS_MASK | ( | ColorWriteMaskBits | ) |
impeller::IMPELLER_ENUM_IS_MASK | ( | MyMaskBits | ) |
impeller::IMPELLER_ENUM_IS_MASK | ( | TextureUsage | ) |
|
inline |
void impeller::ImpellerValidationBreak | ( | const char * | message | ) |
Definition at line 48 of file validation.cc.
References sValidationLogsAreFatal.
Referenced by impeller::ValidationLog::~ValidationLog().
bool impeller::ImpellerValidationErrorsAreFatal | ( | ) |
Definition at line 63 of file validation.cc.
References sValidationLogsAreFatal.
Referenced by TEST().
void impeller::ImpellerValidationErrorsSetFatal | ( | bool | fatal | ) |
Definition at line 16 of file validation.cc.
References sValidationLogsAreFatal.
Referenced by main(), and impeller::PlaygroundTest::SetUp().
|
static |
Definition at line 92 of file ahb_texture_source_vk.cc.
References impeller::AllocatorVK::FindMemoryTypeIndex(), and VALIDATION_LOG.
Referenced by impeller::AHBTextureSourceVK::AHBTextureSourceVK().
|
static |
Definition at line 53 of file context_mtl.mm.
References impeller::CapabilitiesBuilder::Build(), DeviceSupportsComputeSubgroups(), DeviceSupportsFramebufferFetch(), kA8UNormInt, kD32FloatS8UInt, kS8UInt, impeller::CapabilitiesBuilder::SetDefaultColorFormat(), impeller::CapabilitiesBuilder::SetDefaultDepthStencilFormat(), impeller::CapabilitiesBuilder::SetDefaultGlyphAtlasFormat(), impeller::CapabilitiesBuilder::SetDefaultStencilFormat(), impeller::CapabilitiesBuilder::SetSupportsBufferToTextureBlits(), impeller::CapabilitiesBuilder::SetSupportsCompute(), impeller::CapabilitiesBuilder::SetSupportsComputeSubgroups(), impeller::CapabilitiesBuilder::SetSupportsDecalSamplerAddressMode(), impeller::CapabilitiesBuilder::SetSupportsDeviceTransientTextures(), impeller::CapabilitiesBuilder::SetSupportsFramebufferFetch(), impeller::CapabilitiesBuilder::SetSupportsOffscreenMSAA(), impeller::CapabilitiesBuilder::SetSupportsReadFromResolve(), impeller::CapabilitiesBuilder::SetSupportsSSBO(), and impeller::CapabilitiesBuilder::SetSupportsTextureToTextureBlits().
Referenced by impeller::ContextMTL::UpdateOffscreenLayerPixelFormat().
std::optional<ArchiveShaderType> impeller::InferShaderTypefromFileExtension | ( | const std::filesystem::path & | path | ) |
Definition at line 19 of file shader_archive_writer.cc.
References kCompute, kFragment, and kVertex.
Referenced by impeller::ShaderArchiveWriter::AddShaderAtPath().
|
static |
void impeller::InsertBarrierForInputAttachmentRead | ( | const vk::CommandBuffer & | buffer, |
const vk::Image & | image | ||
) |
Inserts the appropriate barriers to ensure that subsequent commands can read from the specified image (itself a framebuffer attachment) as an input attachment.
Unlike most barriers, this barrier may only be inserted within a Vulkan render-pass.
The type of barrier inserted depends on the subpass setup and self-dependencies. Only use this utility method for inserting barriers in render passes created by RenderPassBuilderVK
.
[in] | buffer | The buffer |
[in] | image | The image |
Definition at line 158 of file render_pass_builder_vk.cc.
References kSelfDependencyDstAccessMask, kSelfDependencyDstStageMask, kSelfDependencyFlags, kSelfDependencySrcAccessMask, and kSelfDependencySrcStageMask.
|
static |
Definition at line 243 of file blit_command_vk.cc.
Referenced by impeller::BlitGenerateMipmapCommandVK::Encode().
Definition at line 26 of file blend_filter_contents.cc.
References kClear, kDestination, kDestinationATop, kDestinationIn, kDestinationOut, kDestinationOver, kModulate, kPlus, kSource, kSourceATop, kSourceIn, kSourceOut, kSourceOver, and kXor.
Referenced by impeller::AtlasContents::Render().
class impeller::IPLR_CAPABILITY | ( | "mutex" | ) |
|
static |
|
static |
Definition at line 21 of file texture_gles.cc.
References kA8UNormInt, kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, and kUnknown.
Referenced by GetTextureTypeFromDescriptor().
|
constexpr |
|
static |
Definition at line 331 of file capabilities_vk.cc.
References GetExtensionName().
Referenced by impeller::CapabilitiesVK::GetEnabledDeviceFeatures().
|
static |
Definition at line 118 of file shader_library_vk.cc.
|
constexpr |
Definition at line 284 of file formats.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, and kTextureExternalOES.
Referenced by impeller::TextureDescriptor::SamplingOptionsAreValid().
|
constexpr |
|
static |
Definition at line 197 of file capabilities_vk.cc.
|
static |
Definition at line 48 of file debug_report_vk.cc.
|
static |
Definition at line 60 of file debug_report_vk.cc.
KernelPipeline::FragmentShader::KernelSamples impeller::LerpHackKernelSamples | ( | KernelPipeline::FragmentShader::KernelSamples | samples | ) |
This will shrink the size of a kernel by roughly half by sampling between samples and relying on linear interpolation between the samples.
Definition at line 622 of file gaussian_blur_filter_contents.cc.
Referenced by impeller::testing::TEST().
Definition at line 15 of file path_component.cc.
Referenced by impeller::LinearPathComponent::Solve().
IMPELLER_API void impeller::LineTo | ( | PathBuilder * | builder, |
Scalar | x, | ||
Scalar | y | ||
) |
Definition at line 22 of file tessellator.cc.
References impeller::PathBuilder::LineTo().
Referenced by impeller::testing::MaskBlurVariantTest(), impeller::testing::TEST(), and impeller::testing::TEST_P().
|
static |
Definition at line 77 of file pipeline_library_gles.cc.
References impeller::BackendCast< ShaderFunctionGLES, ShaderFunction >::Cast(), impeller::ReactorGLES::GetGLHandle(), impeller::ReactorGLES::GetProcTable(), impeller::ShaderFunctionGLES::GetSourceMapping(), kFragment, kShader, kVertex, LogShaderCompilationFailure(), SPrintF(), and VALIDATION_LOG.
|
constexpr |
|
static |
Definition at line 60 of file command_buffer_mtl.mm.
References MTLCommandBufferErrorToString(), and VALIDATION_LOG.
|
static |
Definition at line 49 of file pipeline_library_gles.cc.
References GetShaderInfoLog(), GetShaderSource(), kCompute, kFragment, kUnknown, kVertex, and VALIDATION_LOG.
Referenced by LinkProgram().
Definition at line 140 of file color.cc.
References impeller::Vector3::x, impeller::Vector3::y, and impeller::Vector3::z.
Referenced by impeller::Color::Blend(), ClipColor(), impeller::BlendFilterContents::SetBlendMode(), and SetLuminosity().
bool impeller::Main | ( | const fml::CommandLine & | command_line | ) |
Definition at line 13 of file shader_archive_main.cc.
References impeller::ShaderArchiveWriter::AddShaderAtPath(), and impeller::ShaderArchiveWriter::CreateMapping().
Referenced by main().
impeller::MAKE_STROKE_BENCHMARK_CAPTURE | ( | RRect | , |
Butt | , | ||
Bevel | , | ||
_uv | , | ||
UVMode::kUVRectTx | |||
) |
impeller::MAKE_STROKE_BENCHMARK_CAPTURE | ( | RRect | , |
Butt | , | ||
Bevel | , | ||
_uvNoTx | , | ||
UVMode::kUVRect | |||
) |
impeller::MAKE_STROKE_BENCHMARK_CAPTURE | ( | RRect | , |
Butt | , | ||
Bevel | , | ||
UVMode::kNoUV | |||
) |
impeller::MAKE_STROKE_BENCHMARK_CAPTURE_UVS | ( | Cubic | ) |
impeller::MAKE_STROKE_BENCHMARK_CAPTURE_UVS | ( | Quadratic | ) |
|
static |
Definition at line 55 of file runtime_effect_contents.cc.
References impeller::RuntimeUniformDescription::bit_width, GetShaderType(), impeller::RuntimeUniformDescription::GetSize(), impeller::RuntimeUniformDescription::name, impeller::RuntimeUniformDescription::type, and impeller::ShaderStructMemberMetadata::type.
Referenced by impeller::RuntimeEffectContents::Render().
auto impeller::MakeSharedVK | ( | vk::UniqueHandle< T, VULKAN_HPP_DEFAULT_DISPATCHER_TYPE > | handle | ) |
Definition at line 43 of file shared_object_vk.h.
std::shared_ptr< impeller::TextFrame > impeller::MakeTextFrameFromTextBlobSkia | ( | const sk_sp< SkTextBlob > & | blob | ) |
Definition at line 41 of file text_frame_skia.cc.
References impeller::Glyph::kBitmap, impeller::Glyph::kPath, kScaleSize, impeller::TRect< T >::Scale(), ToFont(), ToRect(), and impeller::TPoint< T >::x.
Referenced by impeller::testing::TEST_P().
std::shared_ptr< TextFrame > impeller::MakeTextFrameSTB | ( | const std::shared_ptr< TypefaceSTB > & | typeface_stb, |
Font::Metrics | metrics, | ||
const std::string & | text | ||
) |
Definition at line 11 of file text_frame_stb.cc.
References impeller::TextRun::AddGlyph(), impeller::TextRun::GetGlyphPositions(), impeller::Glyph::kPath, impeller::TypefaceSTB::kPointsToPixels, impeller::TRect< Scalar >::MakeLTRB(), impeller::TRect< Scalar >::MakeOriginSize(), impeller::TRect< Scalar >::MakeXYWH(), impeller::Font::Metrics::point_size, and scale.
std::shared_ptr< VerticesGeometry > impeller::MakeVertices | ( | const flutter::DlVertices * | vertices | ) |
Definition at line 31 of file dl_vertices_geometry.cc.
References impeller::Color::Premultiply(), impeller::skia_conversions::ToColor(), impeller::skia_conversions::ToPoint(), ToRect(), and ToVertexMode().
Referenced by impeller::DlDispatcher::drawVertices().
Definition at line 132 of file color.cc.
References impeller::Color::alpha, impeller::Color::blue, impeller::Color::green, and impeller::Color::red.
Referenced by impeller::Color::Blend().
IMPELLER_API void impeller::MoveTo | ( | PathBuilder * | builder, |
Scalar | x, | ||
Scalar | y | ||
) |
Definition at line 18 of file tessellator.cc.
References impeller::PathBuilder::MoveTo().
Referenced by impeller::testing::TEST(), and impeller::testing::TEST_P().
|
static |
Definition at line 35 of file command_buffer_mtl.mm.
Referenced by LogMTLCommandBufferErrorIfPresent().
|
static |
|
static |
Definition at line 139 of file context_mtl.mm.
References VALIDATION_LOG.
Referenced by impeller::ContextMTL::Create().
Definition at line 249 of file path_component.cc.
References impeller::saturated::b.
Referenced by NearZero().
|
inlinestatic |
Definition at line 253 of file path_component.cc.
References NearEqual().
Referenced by CubicPathBoundingPopulateValues().
|
static |
Definition at line 57 of file buffer_bindings_gles.cc.
Referenced by CreateUniformMemberKey(), and impeller::BufferBindingsGLES::ReadUniformsBindings().
|
static |
Definition at line 34 of file pipeline_cache_vk.cc.
References RemoveMetadataFromCache(), and VerifyExistingCache().
Referenced by impeller::PipelineCacheVK::PipelineCacheVK().
|
inlineconstexpr |
|
inlineconstexpr |
|
constexpr |
Definition at line 263 of file point.h.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
constexpr |
Definition at line 243 of file point.h.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
constexpr |
Definition at line 253 of file point.h.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
constexpr |
Definition at line 258 of file point.h.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
constexpr |
Definition at line 302 of file point.h.
References impeller::TSize< T >::height, impeller::TSize< T >::width, impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
inlineconstexpr |
Definition at line 895 of file color.h.
References impeller::Color::alpha, impeller::Color::blue, impeller::Color::green, and impeller::Color::red.
|
constexpr |
Definition at line 273 of file point.h.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
constexpr |
Definition at line 278 of file point.h.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
constexpr |
Definition at line 312 of file point.h.
References impeller::TSize< T >::height, impeller::TSize< T >::width, impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
inlineconstexpr |
Definition at line 906 of file color.h.
References impeller::Color::alpha, impeller::Color::blue, impeller::Color::green, and impeller::Color::red.
|
constexpr |
Definition at line 290 of file point.h.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
constexpr |
Definition at line 133 of file size.h.
References impeller::TSize< T >::height, and impeller::TSize< T >::width.
|
constexpr |
Definition at line 224 of file vector.h.
References impeller::Vector3::x, impeller::Vector3::y, and impeller::Vector3::z.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
static |
Definition at line 118 of file typographer_context_skia.cc.
References impeller::RectanglePacker::Factory(), impeller::TSize< T >::height, impeller::GlyphAtlas::kAlphaBitmap, impeller::TSize< int64_t >::MakeWH(), impeller::Allocation::NextPowerOfTwoSize(), PairsFitInAtlasOfSize(), and impeller::TSize< T >::width.
Referenced by impeller::TypographerContextSkia::CreateGlyphAtlas(), and impeller::TypographerContextSTB::CreateGlyphAtlas().
|
static |
Definition at line 159 of file typographer_context_stb.cc.
References impeller::RectanglePacker::Factory(), impeller::TSize< T >::height, impeller::GlyphAtlas::kAlphaBitmap, impeller::TSize< int64_t >::MakeWH(), impeller::Allocation::NextPowerOfTwoSize(), PairsFitInAtlasOfSize(), and impeller::TSize< T >::width.
ContentContextOptions impeller::OptionsFromPass | ( | const RenderPass & | pass | ) |
Definition at line 20 of file contents.cc.
References impeller::ContentContextOptions::color_attachment_pixel_format, impeller::ContentContextOptions::depth_compare, impeller::RenderPass::GetRenderTargetPixelFormat(), impeller::RenderPass::GetSampleCount(), impeller::ContentContextOptions::has_depth_stencil_attachments, impeller::RenderPass::HasDepthAttachment(), impeller::RenderPass::HasStencilAttachment(), impeller::ContentContext::kEnableStencilThenCover, kGreater, impeller::ContentContextOptions::kIgnore, impeller::ContentContextOptions::sample_count, and impeller::ContentContextOptions::stencil_mode.
Referenced by AdvancedBlend(), OptionsFromPassAndEntity(), PipelineBlend(), impeller::CheckerboardContents::Render(), impeller::AtlasContents::Render(), impeller::ClipRestoreContents::Render(), and impeller::testing::TEST_P().
ContentContextOptions impeller::OptionsFromPassAndEntity | ( | const RenderPass & | pass, |
const Entity & | entity | ||
) |
Definition at line 37 of file contents.cc.
References impeller::ContentContextOptions::blend_mode, impeller::Entity::GetBlendMode(), and OptionsFromPass().
Referenced by impeller::SolidRRectBlurContents::Render(), impeller::TextContents::Render(), impeller::VerticesColorContents::Render(), impeller::TextureContents::Render(), impeller::VerticesUVContents::Render(), impeller::AtlasTextureContents::Render(), and impeller::AtlasColorContents::Render().
|
static |
Definition at line 44 of file typographer_context_stb.cc.
References impeller::Font::GetMetrics(), impeller::Font::GetTypeface(), impeller::TSize< T >::height, impeller::TSize< T >::IsEmpty(), kPadding, impeller::TypefaceSTB::kPointsToPixels, impeller::TRect< Scalar >::MakeXYWH(), impeller::Font::Metrics::point_size, scale, impeller::TSize< T >::width, impeller::IPoint16::x(), and impeller::IPoint16::y().
|
static |
Definition at line 45 of file typographer_context_skia.cc.
References impeller::TSize< int64_t >::Ceil(), impeller::TSize< T >::IsEmpty(), kPadding, impeller::TRect< Scalar >::MakeXYWH(), impeller::IPoint16::x(), and impeller::IPoint16::y().
Referenced by OptimumAtlasSizeForFontGlyphPairs().
|
static |
Definition at line 297 of file capabilities_vk.cc.
References HasSuitableColorFormat(), and HasSuitableDepthStencilFormat().
Referenced by impeller::CapabilitiesVK::GetEnabledDeviceFeatures().
|
static |
Definition at line 52 of file context_vk.cc.
References impeller::CapabilitiesVK::GetEnabledDeviceFeatures().
|
static |
|
static |
Definition at line 397 of file blend_filter_contents.cc.
References impeller::VertexBufferBuilder< VertexType_, IndexType_ >::AddVertices(), BlendModeToString(), impeller::VertexBufferBuilder< VertexType_, IndexType_ >::CreateVertexBuffer(), impeller::Entity::FromSnapshot(), impeller::Entity::GetBlendMode(), impeller::ContentContext::GetBlendPipeline(), impeller::Entity::GetClipDepth(), impeller::Entity::GetContents(), impeller::ContentContext::GetContext(), impeller::TRect< T >::GetOrigin(), impeller::TRect< T >::GetSize(), impeller::ContentContext::GetTransientsBuffer(), impeller::TRect< T >::Intersection(), kSource, kTriangleStrip, impeller::ColorFilterContents::kYes, impeller::Geometry::MakeRect(), impeller::TRect< Scalar >::MakeSize(), impeller::ContentContext::MakeSubpass(), impeller::Matrix::MakeTranslation(), OptionsFromPass(), impeller::Entity::Render(), impeller::Entity::SetBlendMode(), impeller::Entity::SetContents(), SPrintF(), and impeller::Snapshot::texture.
|
constexpr |
Definition at line 392 of file formats_vk.h.
References kA8UNormInt, kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, and kUnknown.
Referenced by impeller::AllocatorVK::ToVKImageUsageFlags().
|
constexpr |
Definition at line 141 of file formats.h.
References kA8UNormInt, kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, and kUnknown.
Referenced by impeller::BlitPass::AddCopy(), and TextureDescriptorToString().
|
inlineconstexpr |
Definition at line 35 of file playground.h.
References kMetal, kOpenGLES, and kVulkan.
Referenced by impeller::testing::TEST_P().
std::string impeller::PlaygroundBackendToString | ( | PlaygroundBackend | backend | ) |
Definition at line 44 of file playground.cc.
References kMetal, kOpenGLES, and kVulkan.
Referenced by impeller::PlaygroundImpl::Create().
|
static |
Definition at line 165 of file playground.cc.
References gShouldOpenNewPlaygrounds.
Referenced by impeller::Playground::OpenPlaygroundHere().
Definition at line 19 of file path_component.cc.
Referenced by impeller::QuadraticPathComponent::Solve().
|
inlinestatic |
Definition at line 25 of file path_component.cc.
Referenced by impeller::QuadraticPathComponent::SolveDerivative().
|
static |
Definition at line 16 of file vertex_descriptor_mtl.mm.
References impeller::ShaderStageIOSlot::bit_width, impeller::ShaderStageIOSlot::columns, kAtomicCounter, kBoolean, kDouble, kFloat, kHalfFloat, kImage, kSampledImage, kSampler, kSignedByte, kSignedInt, kSignedInt64, kSignedShort, kStruct, kUnknown, kUnsignedByte, kUnsignedInt, kUnsignedInt64, kUnsignedShort, kVoid, impeller::ShaderStageIOSlot::type, and impeller::ShaderStageIOSlot::vec_size.
Referenced by impeller::VertexDescriptorMTL::SetStageInputsAndLayout().
std::future<T> impeller::RealizedFuture | ( | T | t | ) |
|
static |
Definition at line 29 of file pipeline_cache_vk.cc.
Referenced by OpenCacheFile().
|
static |
Definition at line 104 of file pipeline_vk.cc.
References ReportPipelineCreationFeedbackToLog(), and ReportPipelineCreationFeedbackToTrace().
Referenced by impeller::PipelineVK::Create().
|
static |
Definition at line 56 of file pipeline_vk.cc.
References impeller::PipelineDescriptor::GetLabel(), and ReportPipelineCreationFeedbackToLog().
|
static |
Definition at line 39 of file pipeline_vk.cc.
Referenced by ReportPipelineCreationFeedback(), and ReportPipelineCreationFeedbackToLog().
|
static |
|
static |
Definition at line 328 of file proc_table_gles.cc.
References kBuffer, kFrameBuffer, kProgram, kRenderBuffer, kShader, and kTexture.
Referenced by impeller::ProcTableGLES::SetDebugLabel().
MTLPixelFormat impeller::SafeMTLPixelFormatBGR10_XR | ( | ) |
Safe accessor for MTLPixelFormatBGR10_XR. Returns PixelFormat::kUnknown if MTLPixelFormatBGR10_XR isn't supported.
Definition at line 130 of file formats_mtl.mm.
Referenced by ToMTLPixelFormat().
MTLPixelFormat impeller::SafeMTLPixelFormatBGR10_XR_sRGB | ( | ) |
Safe accessor for MTLPixelFormatBGR10_XR_sRGB. Returns PixelFormat::kUnknown if MTLPixelFormatBGR10_XR_sRGB isn't supported.
Definition at line 122 of file formats_mtl.mm.
Referenced by ToMTLPixelFormat().
MTLPixelFormat impeller::SafeMTLPixelFormatBGRA10_XR | ( | ) |
Safe accessor for MTLPixelFormatBGRA10_XR. Returns PixelFormat::kUnknown if MTLPixelFormatBGR10_XR isn't supported.
Definition at line 138 of file formats_mtl.mm.
Referenced by ToMTLPixelFormat().
MTLPixelFormat impeller::SafeMTLPixelFormatDepth24Unorm_Stencil8 | ( | ) |
Safe accessor for MTLPixelFormatDepth24Unorm_Stencil8. Returns PixelFormat::kUnknown if MTLPixelFormatDepth24Unorm_Stencil8 isn't supported.
Definition at line 113 of file formats_mtl.mm.
Referenced by ToMTLPixelFormat().
Definition at line 166 of file color.cc.
References impeller::Vector3::x, impeller::Vector3::y, and impeller::Vector3::z.
Referenced by impeller::Color::Blend(), and impeller::BlendFilterContents::SetBlendMode().
|
inlineconstexpr |
Definition at line 30 of file scalar.h.
References ScalarNearlyZero().
Referenced by CreateGradientBuffer(), impeller::Color::operator==(), impeller::testing::TEST(), impeller::testing::TEST_P(), and impeller::Color::Unpremultiply().
|
inlineconstexpr |
Definition at line 25 of file scalar.h.
References Absolute().
Referenced by impeller::Matrix::IsAligned(), and ScalarNearlyEqual().
|
inlineconstexpr |
Convert a scalar to a half precision float.
See also: https://clang.llvm.org/docs/LanguageExtensions.html This is not currently supported on Windows toolchains.
Definition at line 32 of file half.h.
Referenced by impeller::testing::TEST().
|
static |
Definition at line 756 of file entity_pass.cc.
References impeller::RenderPass::GetRenderTargetSize(), impeller::TRect< T >::Intersection(), impeller::ContentContext::kEnableStencilThenCover, impeller::TRect< int64_t >::MakeSize(), impeller::TRect< int64_t >::RoundOut(), impeller::RenderPass::SetScissor(), and impeller::TRect< T >::Shift().
|
inlinestaticconstexpr |
Definition at line 160 of file color.cc.
References ClipColor(), and Luminosity().
Referenced by impeller::Color::Blend().
|
inlinestaticconstexpr |
Definition at line 171 of file color.cc.
References impeller::Vector3::x, impeller::Vector3::y, and impeller::Vector3::z.
Referenced by impeller::Color::Blend().
void impeller::SetupSwiftshaderOnce | ( | bool | use_swiftshader | ) |
Find and setup the installable client driver for a locally built SwiftShader at known paths. The option to use SwiftShader can only be used once in the process. While calling this method multiple times is fine, specifying a different use_swiftshader value will trip an assertion.
[in] | use_swiftshader | If SwiftShader should be used. |
Definition at line 54 of file swiftshader_utilities.cc.
References FindSwiftShaderICDAtKnownPaths().
Referenced by impeller::Playground::Playground().
|
static |
Definition at line 31 of file playground_impl_vk.cc.
|
static |
Definition at line 36 of file playground_impl_mtl.mm.
|
static |
Definition at line 106 of file playground_impl_gles.cc.
Referenced by impeller::PlaygroundImplVK::PlaygroundImplVK().
std::vector< spirv_cross::ID > impeller::SortUniforms | ( | const spirv_cross::ParsedIR * | ir, |
const spirv_cross::Compiler * | compiler, | ||
std::optional< spirv_cross::SPIRType::BaseType > | type_filter = std::nullopt , |
||
bool | include = true |
||
) |
Sorts uniform declarations in an IR according to decoration order.
The [type_filter] may be optionally supplied to limit which types are returned The [include] value can be set to false change this filter to exclude instead of include.
Definition at line 11 of file uniform_sorter.cc.
std::string impeller::SPrintF | ( | const char * | format, |
... | |||
) |
Definition at line 12 of file strings.cc.
Referenced by impeller::BlitPass::AddCopy(), AdvancedBlend(), ColorToString(), CreateGradientTexture(), impeller::RenderTargetAllocator::CreateOffscreen(), impeller::RenderTargetAllocator::CreateOffscreenMSAA(), DepthAttachmentToString(), DrawPlaygroundPoint(), impeller::FilterContentsFilterInput::GetSnapshot(), impeller::ContentsFilterInput::GetSnapshot(), ImGui_ImplImpeller_RenderDrawData(), impeller::ComputePipelineBuilder< ComputeShader_ >::InitializePipelineDescriptorDefaults(), impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults(), LinkProgram(), impeller::ContentContext::MakeSubpass(), PipelineBlend(), impeller::AtlasContents::Render(), impeller::RenderTarget::SetupDepthStencilAttachments(), impeller::testing::TEST(), and impeller::RenderTarget::ToString().
std::string impeller::StencilAttachmentToString | ( | const StencilAttachment & | stencil | ) |
Definition at line 137 of file formats.cc.
References AttachmentToString(), and impeller::StencilAttachment::clear_stencil.
Referenced by impeller::RenderTarget::ToString().
|
constexpr |
Definition at line 61 of file formats.h.
References kDevicePrivate, kDeviceTransient, and kHostVisible.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK(), and TextureDescriptorToString().
|
constexpr |
Definition at line 15 of file formats.cc.
References kDontCare, kMultisampleResolve, kStore, and kStoreAndMultisampleResolve.
Referenced by impeller::Attachment::IsValid().
|
constexpr |
Definition at line 338 of file formats_vk.h.
References kDontCare, kMultisampleResolve, kStore, and kStoreAndMultisampleResolve.
Referenced by impeller::RenderPassBuilderVK::SetColorAttachment().
|
constexpr |
Definition at line 227 of file formats.h.
References kDontCare, kMultisampleResolve, kStore, and kStoreAndMultisampleResolve.
Referenced by AttachmentToString().
std::string impeller::StripPrefix | ( | const std::string & | string, |
const std::string & | to_strip | ||
) |
|
static |
Definition at line 80 of file allocator_mtl.mm.
IMPELLER_API struct Vertices * impeller::Tessellate | ( | PathBuilder * | builder, |
int | fill_type, | ||
Scalar | tolerance | ||
) |
Definition at line 40 of file tessellator.cc.
References impeller::PathBuilder::CopyPath(), impeller::Tessellator::kSuccess, impeller::Vertices::length, impeller::Vertices::points, and impeller::Tessellator::Tessellate().
impeller::TEST | ( | ValidationTest | , |
IsFatal | |||
) |
Definition at line 29 of file main.cc.
References ImpellerValidationErrorsAreFatal().
std::string impeller::TextureDescriptorToString | ( | const TextureDescriptor & | desc | ) |
Definition at line 11 of file texture_descriptor.cc.
References impeller::TextureDescriptor::compression_type, CompressionTypeToString(), impeller::TextureDescriptor::format, impeller::TextureDescriptor::mip_count, PixelFormatToString(), impeller::TextureDescriptor::sample_count, impeller::TextureDescriptor::size, impeller::TextureDescriptor::storage_mode, StorageModeToString(), TextureTypeToString(), and impeller::TextureDescriptor::type.
Referenced by AttachmentToString().
|
constexpr |
Definition at line 270 of file formats.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, and kTextureExternalOES.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK(), impeller::RenderTarget::IsValid(), and TextureDescriptorToString().
std::string impeller::TextureUsageMaskToString | ( | TextureUsageMask | mask | ) |
Definition at line 81 of file formats.cc.
References kRenderTarget, kShaderRead, kShaderWrite, and TextureUsageToString().
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
constexpr |
Definition at line 311 of file formats.h.
References kRenderTarget, kShaderRead, kShaderWrite, and kUnknown.
Referenced by TextureUsageMaskToString().
|
static |
Definition at line 16 of file tiled_texture_contents.cc.
References impeller::Entity::kClamp, kClampToEdge, impeller::Entity::kDecal, kDecal, impeller::Entity::kMirror, kMirror, impeller::Entity::kRepeat, kRepeat, and impeller::Capabilities::SupportsDecalSamplerAddressMode().
|
static |
Definition at line 50 of file sampler_gles.cc.
References IMPELLER_GL_CLAMP_TO_BORDER, kClampToEdge, kDecal, kMirror, and kRepeat.
Referenced by impeller::SamplerGLES::ConfigureBoundTexture().
|
constexpr |
Definition at line 11 of file multi_arch_shader_archive.cc.
References kMetal, kOpenGLES, and kVulkan.
Referenced by impeller::MultiArchShaderArchive::MultiArchShaderArchive().
|
constexpr |
Definition at line 517 of file formats_vk.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, kTextureExternalOES, and VALIDATION_LOG.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK(), impeller::KHRSwapchainImageVK::KHRSwapchainImageVK(), and impeller::TextureSourceVK::SetLayout().
|
static |
Definition at line 488 of file texture_gles.cc.
References impeller::TextureGLES::kColor0, impeller::TextureGLES::kDepth, and impeller::TextureGLES::kStencil.
Referenced by impeller::TextureGLES::SetAsFramebufferAttachment().
|
constexpr |
Definition at line 91 of file formats_gles.h.
References kBlendAlpha, kBlendColor, kDestinationAlpha, kDestinationColor, kOne, kOneMinusBlendAlpha, kOneMinusBlendColor, kOneMinusDestinationAlpha, kOneMinusDestinationColor, kOneMinusSourceAlpha, kOneMinusSourceColor, kSourceAlpha, kSourceAlphaSaturated, kSourceColor, and kZero.
Referenced by ConfigureBlending().
|
static |
Definition at line 47 of file dl_dispatcher.cc.
References kClear, kColor, kColorBurn, kColorDodge, kDarken, kDestination, kDestinationATop, kDestinationIn, kDestinationOut, kDestinationOver, kDifference, kExclusion, kHardLight, kHue, kLighten, kLuminosity, kModulate, kMultiply, kOverlay, kPlus, kSaturation, kScreen, kSoftLight, kSource, kSourceATop, kSourceIn, kSourceOut, kSourceOver, and kXor.
Referenced by impeller::DlDispatcher::drawAtlas(), impeller::DlDispatcher::drawColor(), impeller::DlDispatcher::drawVertices(), impeller::DlDispatcher::setBlendMode(), and ToColorFilter().
|
constexpr |
Definition at line 127 of file formats_gles.h.
References kAdd, kReverseSubtract, and kSubtract.
Referenced by ConfigureBlending().
|
static |
Definition at line 492 of file dl_dispatcher.cc.
References impeller::FilterContents::kInner, impeller::FilterContents::kNormal, impeller::FilterContents::kOuter, and impeller::FilterContents::kSolid.
Referenced by impeller::DlDispatcher::setMaskFilter().
|
static |
Definition at line 715 of file dl_dispatcher.cc.
References impeller::Entity::kDifference, and impeller::Entity::kIntersect.
Referenced by impeller::DlDispatcher::clipPath(), impeller::DlDispatcher::clipRect(), and impeller::DlDispatcher::clipRRect().
|
static |
Definition at line 445 of file dl_dispatcher.cc.
References impeller::ColorMatrix::array, impeller::ColorFilter::MakeBlend(), impeller::ColorFilter::MakeLinearToSrgb(), impeller::ColorFilter::MakeMatrix(), impeller::ColorFilter::MakeSrgbToLinear(), ToBlendMode(), and impeller::skia_conversions::ToColor().
Referenced by impeller::DlDispatcher::setColorFilter(), and ToImageFilter().
|
static |
Definition at line 250 of file dl_dispatcher.cc.
References impeller::skia_conversions::ToColor().
Referenced by impeller::DlDispatcher::drawAtlas().
|
static |
Definition at line 261 of file dl_dispatcher.cc.
References impeller::ColorSource::kColor, kColor, impeller::ColorSource::kConicalGradient, impeller::ColorSource::kImage, impeller::ColorSource::kLinearGradient, impeller::ColorSource::kRadialGradient, impeller::ColorSource::kRuntimeEffect, impeller::ColorSource::kScene, and impeller::ColorSource::kSweepGradient.
Referenced by impeller::DlDispatcher::setColorSource().
|
static |
Definition at line 148 of file command_buffer_mtl.mm.
|
constexpr |
Definition at line 69 of file formats_gles.h.
References kAlways, kEqual, kGreater, kGreaterEqual, kLess, kLessEqual, kNever, and kNotEqual.
Referenced by ConfigureStencil(), and EncodeCommandsInReactor().
|
static |
Definition at line 310 of file proc_table_gles.cc.
References kBuffer, kFrameBuffer, kProgram, kRenderBuffer, kShader, and kTexture.
Referenced by impeller::ProcTableGLES::SetDebugLabel().
|
static |
Definition at line 173 of file reactor_gles.cc.
References kBuffer, kFrameBuffer, kProgram, kRenderBuffer, kTexture, and kUnknown.
|
constexpr |
Definition at line 44 of file driver_info_vk.cc.
References kCPU, kDiscreteGPU, kIntegratedGPU, kUnknown, and kVirtualGPU.
Referenced by impeller::DriverInfoVK::DriverInfoVK().
|
static |
Definition at line 19 of file text_frame_skia.cc.
References impeller::Font::Metrics::embolden, impeller::Font::Metrics::point_size, impeller::Font::Metrics::scaleX, and impeller::Font::Metrics::skewX.
Referenced by MakeTextFrameFromTextBlobSkia().
HandleType impeller::ToHandleType | ( | TextureGLES::Type | type | ) |
Definition at line 58 of file texture_gles.cc.
References impeller::TextureGLES::kRenderBuffer, kRenderBuffer, impeller::TextureGLES::kRenderBufferMultisampled, impeller::TextureGLES::kTexture, kTexture, and impeller::TextureGLES::kTextureMultisampled.
|
constexpr |
Definition at line 564 of file formats_vk.h.
References kA8UNormInt, kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, and kUnknown.
Referenced by impeller::TextureSourceVK::SetLayout().
|
static |
Definition at line 525 of file dl_dispatcher.cc.
References impeller::FilterContents::kNormal, impeller::ImageFilter::MakeBlur(), impeller::ImageFilter::MakeCompose(), impeller::ImageFilter::MakeDilate(), impeller::ImageFilter::MakeErode(), impeller::ImageFilter::MakeFromColorFilter(), impeller::ImageFilter::MakeLocalMatrix(), impeller::ImageFilter::MakeMatrix(), ToColorFilter(), ToMatrix(), ToSamplerDescriptor(), and ToTileMode().
Referenced by impeller::DlDispatcher::saveLayer(), and impeller::DlDispatcher::setImageFilter().
|
constexpr |
Definition at line 34 of file formats_gles.h.
References k16bit, k32bit, kNone, and kUnknown.
Referenced by EncodeCommandsInReactor().
|
static |
Definition at line 166 of file dl_dispatcher.cc.
Referenced by impeller::DlDispatcher::setColorSource(), and ToImageFilter().
|
constexpr |
Definition at line 18 of file formats_gles.h.
References kLine, kLineStrip, kPoint, kTriangle, and kTriangleStrip.
Referenced by EncodeCommandsInReactor().
|
constexpr |
Definition at line 115 of file formats_mtl.h.
References kBlendAlpha, kBlendColor, kDestinationAlpha, kDestinationColor, kOne, kOneMinusBlendAlpha, kOneMinusBlendColor, kOneMinusDestinationAlpha, kOneMinusDestinationColor, kOneMinusSourceAlpha, kOneMinusSourceColor, kSourceAlpha, kSourceAlphaSaturated, kSourceColor, and kZero.
Referenced by ToMTLRenderPipelineColorAttachmentDescriptor().
|
constexpr |
Definition at line 198 of file formats_mtl.h.
References kAdd, kReverseSubtract, and kSubtract.
Referenced by ToMTLRenderPipelineColorAttachmentDescriptor().
|
inline |
Definition at line 369 of file formats_mtl.h.
References impeller::Color::alpha, impeller::Color::blue, impeller::Color::green, and impeller::Color::red.
Referenced by ConfigureColorAttachment().
|
constexpr |
Definition at line 210 of file formats_mtl.h.
References kAlpha, kBlue, kGreen, and kRed.
Referenced by ToMTLRenderPipelineColorAttachmentDescriptor().
|
constexpr |
Definition at line 232 of file formats_mtl.h.
References kAlways, kEqual, kGreater, kGreaterEqual, kLess, kLessEqual, kNever, and kNotEqual.
Referenced by ToMTLDepthStencilDescriptor(), and ToMTLStencilDescriptor().
|
constexpr |
MTLDepthStencilDescriptor * impeller::ToMTLDepthStencilDescriptor | ( | std::optional< DepthAttachmentDescriptor > | depth, |
std::optional< StencilAttachmentDescriptor > | front, | ||
std::optional< StencilAttachmentDescriptor > | back | ||
) |
Definition at line 54 of file formats_mtl.mm.
References impeller::DepthAttachmentDescriptor::depth_compare, kAlways, ToMTLCompareFunction(), and ToMTLStencilDescriptor().
Referenced by CreateDepthStencilDescriptor().
|
static |
Definition at line 28 of file shader_library_mtl.mm.
|
constexpr |
|
constexpr |
Definition at line 276 of file formats_mtl.h.
References kClear, kDontCare, and kLoad.
Referenced by ConfigureAttachment().
|
constexpr |
Definition at line 77 of file formats_mtl.h.
References kA8UNormInt, kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, kUnknown, SafeMTLPixelFormatBGR10_XR(), SafeMTLPixelFormatBGR10_XR_sRGB(), SafeMTLPixelFormatBGRA10_XR(), and SafeMTLPixelFormatDepth24Unorm_Stencil8().
Referenced by GetMTLRenderPipelineDescriptor(), impeller::testing::TEST(), ToMTLRenderPipelineColorAttachmentDescriptor(), and ToMTLTextureDescriptor().
|
constexpr |
Definition at line 151 of file formats_mtl.h.
References kLine, kLineStrip, kPoint, kTriangle, and kTriangleStrip.
|
static |
Definition at line 104 of file render_pass_mtl.mm.
References ConfigureColorAttachment(), ConfigureDepthAttachment(), ConfigureStencilAttachment(), impeller::RenderTarget::GetColorAttachments(), impeller::RenderTarget::GetDepthAttachment(), impeller::RenderTarget::GetStencilAttachment(), and VALIDATION_LOG.
MTLRenderPipelineColorAttachmentDescriptor * impeller::ToMTLRenderPipelineColorAttachmentDescriptor | ( | ColorAttachmentDescriptor | descriptor | ) |
Definition at line 15 of file formats_mtl.mm.
References impeller::ColorAttachmentDescriptor::alpha_blend_op, impeller::ColorAttachmentDescriptor::blending_enabled, impeller::ColorAttachmentDescriptor::color_blend_op, impeller::ColorAttachmentDescriptor::dst_alpha_blend_factor, impeller::ColorAttachmentDescriptor::dst_color_blend_factor, impeller::ColorAttachmentDescriptor::format, impeller::ColorAttachmentDescriptor::src_alpha_blend_factor, impeller::ColorAttachmentDescriptor::src_color_blend_factor, ToMTLBlendFactor(), ToMTLBlendOperation(), ToMTLColorWriteMask(), ToMTLPixelFormat(), and impeller::ColorAttachmentDescriptor::write_mask.
Referenced by GetMTLRenderPipelineDescriptor().
|
static |
Definition at line 110 of file allocator_mtl.mm.
|
constexpr |
Definition at line 354 of file formats_mtl.h.
References kClampToEdge, kDecal, kMirror, and kRepeat.
|
constexpr |
Definition at line 334 of file formats_mtl.h.
|
constexpr |
Definition at line 344 of file formats_mtl.h.
MTLStencilDescriptor* impeller::ToMTLStencilDescriptor | ( | const StencilAttachmentDescriptor & | descriptor | ) |
Definition at line 38 of file formats_mtl.mm.
References impeller::StencilAttachmentDescriptor::depth_failure, impeller::StencilAttachmentDescriptor::depth_stencil_pass, impeller::StencilAttachmentDescriptor::read_mask, impeller::StencilAttachmentDescriptor::stencil_compare, impeller::StencilAttachmentDescriptor::stencil_failure, ToMTLCompareFunction(), ToMTLStencilOperation(), and impeller::StencilAttachmentDescriptor::write_mask.
Referenced by ToMTLDepthStencilDescriptor().
|
constexpr |
Definition at line 254 of file formats_mtl.h.
References kDecrementClamp, kDecrementWrap, kIncrementClamp, kIncrementWrap, kInvert, kKeep, kSetToReferenceValue, and kZero.
Referenced by ToMTLStencilDescriptor().
|
static |
Definition at line 142 of file allocator_mtl.mm.
|
constexpr |
Definition at line 304 of file formats_mtl.h.
References kDontCare, kMultisampleResolve, kStore, and kStoreAndMultisampleResolve.
Referenced by ConfigureAttachment().
MTLTextureDescriptor * impeller::ToMTLTextureDescriptor | ( | const TextureDescriptor & | desc | ) |
Definition at line 86 of file formats_mtl.mm.
References impeller::TextureDescriptor::format, impeller::TSize< T >::height, impeller::TextureDescriptor::IsValid(), kRenderTarget, kShaderRead, kShaderWrite, kUnknown, impeller::TextureDescriptor::mip_count, impeller::TextureDescriptor::sample_count, impeller::TextureDescriptor::size, ToMTLPixelFormat(), ToMTLTextureType(), impeller::TextureDescriptor::type, impeller::TextureDescriptor::usage, and impeller::TSize< T >::width.
|
constexpr |
Definition at line 373 of file formats_mtl.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, kTextureExternalOES, and VALIDATION_LOG.
Referenced by ToMTLTextureDescriptor().
|
constexpr |
Definition at line 167 of file formats_mtl.h.
|
static |
Definition at line 19 of file sampler_gles.cc.
References kLinear, and kNearest.
Referenced by impeller::SamplerGLES::ConfigureBoundTexture().
|
static |
Definition at line 216 of file ahb_texture_source_vk.cc.
References kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR8G8B8A8UNormInt, kR8UNormInt, and kS8UInt.
Referenced by ToTextureDescriptor().
|
constexpr |
Definition at line 172 of file formats_vk.h.
References kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, and kUnknown.
|
static |
Definition at line 16 of file dl_vertices_geometry.cc.
References impeller::TRect< Scalar >::MakeLTRB().
Referenced by MakeTextFrameFromTextBlobSkia(), and MakeVertices().
|
static |
Definition at line 35 of file text_frame_skia.cc.
References impeller::TRect< Scalar >::MakeLTRB().
|
static |
Definition at line 308 of file texture_gles.cc.
References kA8UNormInt, kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, and kUnknown.
|
constexpr |
Definition at line 31 of file multi_arch_shader_archive_writer.cc.
References kMetal, kOpenGLES, and kVulkan.
Referenced by impeller::MultiArchShaderArchiveWriter::CreateMapping().
Definition at line 188 of file color.cc.
References impeller::Color::blue, impeller::Color::green, and impeller::Color::red.
Referenced by DoColorBlend().
|
static |
Definition at line 148 of file dl_dispatcher.cc.
References kLinear, kNearest, impeller::SamplerDescriptor::label, impeller::SamplerDescriptor::mag_filter, and impeller::SamplerDescriptor::min_filter.
|
static |
Definition at line 124 of file dl_dispatcher.cc.
References kLinear, kNearest, impeller::SamplerDescriptor::label, impeller::SamplerDescriptor::mag_filter, impeller::SamplerDescriptor::min_filter, and impeller::SamplerDescriptor::mip_filter.
Referenced by impeller::DlDispatcher::drawAtlas(), impeller::DlDispatcher::drawImageNine(), impeller::DlDispatcher::drawImageRect(), impeller::DlDispatcher::setColorSource(), and ToImageFilter().
|
static |
Definition at line 18 of file shader_library_gles.cc.
|
static |
Definition at line 18 of file shader_library_vk.cc.
|
static |
Definition at line 30 of file runtime_stage.cc.
|
constexpr |
Definition at line 29 of file shader_types.h.
References kCompute, kFragment, and kVertex.
Referenced by impeller::RuntimeStagePlayground::RegisterStage(), impeller::RuntimeEffectContents::Render(), impeller::RuntimeStage::RuntimeStage(), and impeller::testing::TEST_P().
|
constexpr |
Definition at line 16 of file shader_archive.cc.
|
constexpr |
Definition at line 86 of file shader_archive_writer.cc.
References kCompute, kFragment, and kVertex.
Referenced by impeller::ShaderArchiveWriter::CreateMapping().
|
constexpr |
Definition at line 47 of file formats_gles.h.
References kDecrementClamp, kDecrementWrap, kIncrementClamp, kIncrementWrap, kInvert, kKeep, kSetToReferenceValue, and kZero.
Referenced by ConfigureStencil().
|
static |
Definition at line 182 of file dl_dispatcher.cc.
References impeller::Paint::kFill, impeller::Paint::kStroke, and UNIMPLEMENTED.
Referenced by impeller::DlDispatcher::setDrawStyle().
|
static |
Definition at line 64 of file device_buffer_gles.cc.
References impeller::DeviceBufferGLES::kArrayBuffer, and impeller::DeviceBufferGLES::kElementArrayBuffer.
Referenced by impeller::DeviceBufferGLES::BindAndUploadDataIfNecessary().
|
static |
Definition at line 48 of file tessellator.cc.
References kNonZero, and kOdd.
Referenced by impeller::Tessellator::Tessellate().
|
static |
Definition at line 263 of file ahb_texture_source_vk.cc.
References impeller::TextureDescriptor::compression_type, impeller::TextureDescriptor::format, kCount1, kDevicePrivate, kLossless, impeller::TextureDescriptor::mip_count, impeller::TextureDescriptor::sample_count, impeller::TextureDescriptor::size, impeller::TextureDescriptor::storage_mode, ToPixelFormat(), ToTextureType(), impeller::TextureDescriptor::type, and impeller::TSize< T >::width.
|
constexpr |
Definition at line 184 of file formats_gles.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, and kTextureExternalOES.
Referenced by impeller::TextureGLES::Bind(), and impeller::SamplerGLES::ConfigureBoundTexture().
|
static |
|
constexpr |
Definition at line 170 of file formats_gles.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, and kTextureExternalOES.
Referenced by impeller::TextureGLES::GenerateMipmap(), and ToTextureDescriptor().
|
static |
Definition at line 111 of file dl_dispatcher.cc.
References impeller::Entity::kClamp, impeller::Entity::kDecal, impeller::Entity::kMirror, and impeller::Entity::kRepeat.
Referenced by impeller::DlDispatcher::setColorSource(), and ToImageFilter().
|
static |
Definition at line 18 of file runtime_stage.cc.
References kFloat, kSampledImage, and kStruct.
Referenced by impeller::RuntimeStage::RuntimeStage().
Definition at line 185 of file shader_types.h.
References impeller::Color::alpha, impeller::Color::blue, impeller::Color::green, and impeller::Color::red.
Referenced by impeller::TextContents::Render().
|
constexpr |
Definition at line 139 of file formats_gles.h.
References kAtomicCounter, kBoolean, kDouble, kFloat, kHalfFloat, kImage, kSampledImage, kSampler, kSignedByte, kSignedInt, kSignedInt64, kSignedShort, kStruct, kUnknown, kUnsignedByte, kUnsignedInt, kUnsignedInt64, kUnsignedShort, and kVoid.
Referenced by impeller::BufferBindingsGLES::RegisterVertexStageInput().
vk::Format impeller::ToVertexDescriptorFormat | ( | const ShaderStageIOSlot & | input | ) |
Definition at line 11 of file vertex_descriptor_vk.cc.
References impeller::ShaderStageIOSlot::bit_width, impeller::ShaderStageIOSlot::columns, kAtomicCounter, kBoolean, kDouble, kFloat, kHalfFloat, kImage, kSampledImage, kSampler, kSignedByte, kSignedInt, kSignedInt64, kSignedShort, kStruct, kUnknown, kUnsignedByte, kUnsignedInt, kUnsignedInt64, kUnsignedShort, kVoid, impeller::ShaderStageIOSlot::type, and impeller::ShaderStageIOSlot::vec_size.
Referenced by impeller::PipelineVK::Create().
|
static |
Definition at line 20 of file dl_vertices_geometry.cc.
References impeller::VerticesGeometry::kTriangleFan, impeller::VerticesGeometry::kTriangles, and impeller::VerticesGeometry::kTriangleStrip.
Referenced by MakeVertices().
|
constexpr |
Definition at line 301 of file formats_vk.h.
References kClear, kDontCare, and kLoad.
Referenced by impeller::RenderPassBuilderVK::SetColorAttachment(), impeller::RenderPassBuilderVK::SetDepthStencilAttachment(), and impeller::RenderPassBuilderVK::SetStencilAttachment().
|
constexpr |
Definition at line 314 of file formats_vk.h.
References kDontCare, kMultisampleResolve, kStore, and kStoreAndMultisampleResolve.
Referenced by impeller::RenderPassBuilderVK::SetColorAttachment(), impeller::RenderPassBuilderVK::SetDepthStencilAttachment(), and impeller::RenderPassBuilderVK::SetStencilAttachment().
|
constexpr |
Definition at line 31 of file formats_vk.h.
References kBlendAlpha, kBlendColor, kDestinationAlpha, kDestinationColor, kOne, kOneMinusBlendAlpha, kOneMinusBlendColor, kOneMinusDestinationAlpha, kOneMinusDestinationColor, kOneMinusSourceAlpha, kOneMinusSourceColor, kSourceAlpha, kSourceAlphaSaturated, kSourceColor, and kZero.
Referenced by ToVKPipelineColorBlendAttachmentState().
|
constexpr |
Definition at line 67 of file formats_vk.h.
References kAdd, kReverseSubtract, and kSubtract.
Referenced by ToVKPipelineColorBlendAttachmentState().
|
staticconstexpr |
Definition at line 20 of file allocator_vk.cc.
References kDevicePrivate, kDeviceTransient, and kHostVisible.
Referenced by CreateBufferPool().
|
constexpr |
Definition at line 79 of file formats_vk.h.
References kAlpha, kBlue, kGreen, and kRed.
Referenced by ToVKPipelineColorBlendAttachmentState().
|
constexpr |
Definition at line 431 of file formats_vk.h.
References kAlways, kEqual, kGreater, kGreaterEqual, kLess, kLessEqual, kNever, and kNotEqual.
Referenced by ToVKPipelineDepthStencilStateCreateInfo(), and ToVKStencilOpState().
|
constexpr |
Definition at line 419 of file formats_vk.h.
References kBackFace, kFrontFace, and kNone.
Referenced by impeller::PipelineVK::Create().
|
constexpr |
Definition at line 291 of file formats_vk.h.
References impeller::DescriptorSetLayout::binding, impeller::DescriptorSetLayout::descriptor_type, impeller::DescriptorSetLayout::shader_stage, ToVKDescriptorType(), and ToVkShaderStage().
|
constexpr |
Definition at line 267 of file formats_vk.h.
References kImage, kInputAttachment, kSampledImage, kSampler, kStorageBuffer, and kUniformBuffer.
Referenced by impeller::PipelineVK::Create(), and ToVKDescriptorSetLayoutBinding().
|
constexpr |
Definition at line 29 of file pipeline_vk.cc.
References kClockwise, and kCounterClockwise.
Referenced by impeller::PipelineVK::Create().
|
constexpr |
Definition at line 491 of file formats_vk.h.
References kA8UNormInt, kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, and kUnknown.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
constexpr |
Definition at line 545 of file formats_vk.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, kTextureExternalOES, and VALIDATION_LOG.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
constexpr |
Definition at line 135 of file formats_vk.h.
References kA8UNormInt, kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, and kUnknown.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK(), ChooseSurfaceFormat(), impeller::KHRSwapchainImageVK::KHRSwapchainImageVK(), impeller::RenderPassBuilderVK::SetColorAttachment(), impeller::RenderPassBuilderVK::SetDepthStencilAttachment(), and impeller::RenderPassBuilderVK::SetStencilAttachment().
|
constexpr |
Definition at line 531 of file formats_vk.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, kTextureExternalOES, and VALIDATION_LOG.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
constexpr |
Definition at line 350 of file formats_vk.h.
|
constexpr |
Definition at line 102 of file formats_vk.h.
References impeller::ColorAttachmentDescriptor::alpha_blend_op, impeller::ColorAttachmentDescriptor::blending_enabled, impeller::ColorAttachmentDescriptor::color_blend_op, impeller::ColorAttachmentDescriptor::dst_alpha_blend_factor, impeller::ColorAttachmentDescriptor::dst_color_blend_factor, impeller::ColorAttachmentDescriptor::src_alpha_blend_factor, impeller::ColorAttachmentDescriptor::src_color_blend_factor, ToVKBlendFactor(), ToVKBlendOp(), ToVKColorComponentFlags(), and impeller::ColorAttachmentDescriptor::write_mask.
Referenced by impeller::PipelineVK::Create().
vk::PipelineDepthStencilStateCreateInfo impeller::ToVKPipelineDepthStencilStateCreateInfo | ( | std::optional< DepthAttachmentDescriptor > | depth, |
std::optional< StencilAttachmentDescriptor > | front, | ||
std::optional< StencilAttachmentDescriptor > | back | ||
) |
Definition at line 9 of file formats_vk.cc.
References ToVKCompareOp(), and ToVKStencilOpState().
Referenced by impeller::PipelineVK::Create().
|
constexpr |
|
constexpr |
Definition at line 375 of file formats_vk.h.
References kLine, kLineStrip, kPoint, kTriangle, and kTriangleStrip.
Referenced by impeller::PipelineVK::Create().
|
constexpr |
Definition at line 203 of file formats_vk.h.
References kCount1, and kCount4.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK(), impeller::RenderPassBuilderVK::SetColorAttachment(), impeller::RenderPassBuilderVK::SetDepthStencilAttachment(), and impeller::RenderPassBuilderVK::SetStencilAttachment().
|
constexpr |
Definition at line 21 of file formats_vk.h.
References kCount1, and kCount4.
Referenced by impeller::PipelineVK::Create().
|
constexpr |
Definition at line 236 of file formats_vk.h.
References kClampToEdge, kDecal, kMirror, and kRepeat.
Referenced by CreateSampler().
|
constexpr |
Definition at line 214 of file formats_vk.h.
References kLinear, and kNearest.
Referenced by CreateSampler().
|
constexpr |
Definition at line 225 of file formats_vk.h.
References kLinear, and kNearest.
Referenced by CreateSampler().
|
constexpr |
Definition at line 252 of file formats_vk.h.
References kCompute, kFragment, kUnknown, and kVertex.
Referenced by impeller::PipelineVK::Create(), and ToVKDescriptorSetLayoutBinding().
|
constexpr |
Definition at line 120 of file formats_vk.h.
References kCompute, kFragment, kUnknown, and kVertex.
Referenced by impeller::PipelineVK::Create().
|
constexpr |
Definition at line 453 of file formats_vk.h.
References kDecrementClamp, kDecrementWrap, kIncrementClamp, kIncrementWrap, kInvert, kKeep, kSetToReferenceValue, and kZero.
Referenced by ToVKStencilOpState().
|
constexpr |
Definition at line 476 of file formats_vk.h.
References impeller::StencilAttachmentDescriptor::depth_failure, impeller::StencilAttachmentDescriptor::depth_stencil_pass, impeller::StencilAttachmentDescriptor::read_mask, impeller::StencilAttachmentDescriptor::stencil_compare, impeller::StencilAttachmentDescriptor::stencil_failure, ToVKCompareOp(), ToVKStencilOp(), and impeller::StencilAttachmentDescriptor::write_mask.
Referenced by ToVKPipelineDepthStencilStateCreateInfo().
|
staticconstexpr |
Definition at line 249 of file allocator_vk.cc.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
static |
Definition at line 32 of file allocator_vk.cc.
References kDevicePrivate, kDeviceTransient, and kHostVisible.
Referenced by CreateBufferPool().
|
static |
Definition at line 267 of file allocator_vk.cc.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
staticconstexpr |
Definition at line 244 of file allocator_vk.cc.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
static |
Definition at line 272 of file typographer_context_stb.cc.
References DrawGlyph(), impeller::GlyphAtlas::FindFontGlyphBounds(), impeller::GlyphAtlas::GetType(), and impeller::GlyphAtlas::kColorBitmap.
|
static |
Definition at line 190 of file typographer_context_skia.cc.
References DrawGlyph(), impeller::GlyphAtlas::FindFontGlyphBounds(), impeller::GlyphAtlas::GetType(), and impeller::GlyphAtlas::kColorBitmap.
Referenced by impeller::TypographerContextSkia::CreateGlyphAtlas(), and impeller::TypographerContextSTB::CreateGlyphAtlas().
|
static |
Definition at line 316 of file typographer_context_stb.cc.
|
static |
Definition at line 260 of file typographer_context_skia.cc.
Referenced by impeller::TypographerContextSkia::CreateGlyphAtlas(), and impeller::TypographerContextSTB::CreateGlyphAtlas().
|
static |
Definition at line 334 of file typographer_context_stb.cc.
References impeller::TextureDescriptor::format, impeller::TextureDescriptor::GetByteSizeOfBaseMipLevel(), kHostVisible, impeller::TextureDescriptor::size, and impeller::TextureDescriptor::storage_mode.
|
static |
Definition at line 276 of file typographer_context_skia.cc.
References impeller::TextureDescriptor::format, impeller::TextureDescriptor::GetByteSizeOfBaseMipLevel(), kHostVisible, impeller::TextureDescriptor::size, and impeller::TextureDescriptor::storage_mode.
Referenced by impeller::TypographerContextSkia::CreateGlyphAtlas(), and impeller::TypographerContextSTB::CreateGlyphAtlas().
|
static |
Definition at line 848 of file canvas.cc.
References impeller::Paint::color_source, impeller::ColorSource::GetType(), and kColor.
Referenced by impeller::Canvas::DrawVertices().
|
inlinestaticconstexpr |
Definition at line 28 of file color.cc.
References _IMPELLER_ASSERT_BLEND_MODE, IMPELLER_FOR_EACH_BLEND_MODE, and kLast.
|
static |
Definition at line 19 of file pipeline_cache_vk.cc.
Referenced by OpenCacheFile().
|
static |
Definition at line 39 of file render_pass_vk.cc.
References impeller::Color::alpha, impeller::Color::blue, impeller::Color::green, and impeller::Color::red.
Referenced by GetVKClearValues().
|
static |
|
static |
Definition at line 30 of file shader_library_vk.cc.
ProcTableGLES::Resolver impeller::WrappedResolver | ( | const ProcTableGLES::Resolver & | resolver | ) |
Definition at line 52 of file proc_table_gles.cc.
Referenced by impeller::ProcTableGLES::ProcTableGLES().
std::shared_ptr<Texture> impeller::WrapperMTL | ( | TextureDescriptor | desc, |
const void * | mtl_texture, | ||
std::function< void()> | deletion_proc | ||
) |
std::shared_ptr< Texture > impeller::WrapTextureMTL | ( | TextureDescriptor | desc, |
const void * | mtl_texture, | ||
std::function< void()> | deletion_proc = nullptr |
||
) |
Definition at line 14 of file texture_wrapper_mtl.mm.
References impeller::TextureDescriptor::format, FromMTLPixelFormat(), and impeller::TextureMTL::Wrapper().
|
static |
Definition at line 47 of file surface_mtl.mm.
References impeller::ColorAttachment::clear_color, impeller::TextureDescriptor::compression_type, impeller::TextureMTL::Create(), impeller::Allocator::CreateTexture(), impeller::Color::DarkSlateGray(), impeller::TextureDescriptor::format, FromMTLPixelFormat(), kClear, kCount1, kCount4, kDevicePrivate, kDeviceTransient, kLossy, kMultisampleResolve, kRenderTarget, kShaderRead, kTexture2DMultisample, kUnknown, impeller::Attachment::load_action, impeller::Attachment::resolve_texture, impeller::TextureDescriptor::sample_count, impeller::TextureDescriptor::size, impeller::TextureDescriptor::storage_mode, impeller::Attachment::store_action, impeller::Attachment::texture, impeller::TextureDescriptor::type, impeller::TextureDescriptor::usage, and VALIDATION_LOG.
Referenced by impeller::SurfaceMTL::MakeFromTexture().
|
static |
Definition at line 174 of file command_pool_vk.cc.
Referenced by impeller::CommandPoolRecyclerVK::DestroyThreadLocalPools(), and impeller::CommandPoolRecyclerVK::Get().
|
static |
Definition at line 46 of file context_vk.cc.
Referenced by HasValidationLayers().
|
static |
Definition at line 159 of file playground.cc.
Referenced by PlaygroundKeyCallback(), and impeller::Playground::ShouldOpenNewPlaygrounds().
|
constexpr |
Definition at line 38 of file constants.h.
|
constexpr |
Definition at line 50 of file constants.h.
Referenced by impeller::testing::TEST(), and impeller::testing::TEST_P().
|
constexpr |
Definition at line 41 of file constants.h.
|
constexpr |
Definition at line 44 of file constants.h.
|
constexpr |
Definition at line 29 of file constants.h.
Referenced by impeller::PathBuilder::AddArc(), impeller::testing::TEST(), and impeller::testing::TEST_P().
|
static |
Definition at line 24 of file tessellator.cc.
Referenced by impeller::Tessellator::Tessellator().
|
constexpr |
Definition at line 18 of file host_buffer.cc.
|
staticconstexpr |
Definition at line 21 of file buffer_bindings_gles.cc.
Referenced by impeller::BufferBindingsGLES::ReadUniformsBindings().
|
staticconstexpr |
Definition at line 44 of file color.cc.
Referenced by BlendModeToString().
|
constexpr |
A color matrix which inverts colors.
Definition at line 20 of file paint.cc.
Referenced by impeller::Paint::GetColorFilter().
|
staticconstexpr |
Descriptor pools are always allocated with the following sizes.
Definition at line 24 of file descriptor_pool_vk.cc.
|
staticconstexpr |
Definition at line 27 of file path_component.h.
Referenced by impeller::QuadraticPathComponent::ToLinearPathComponents().
|
staticconstexpr |
Definition at line 308 of file entity_pass.cc.
Referenced by CreateRenderTarget(), and impeller::EntityPass::Render().
|
constexpr |
Definition at line 11 of file constants.h.
|
constexpr |
Definition at line 56 of file constants.h.
Referenced by impeller::Color::Blend(), ClipColor(), impeller::VerticesGeometry::GetPositionUVBuffer(), impeller::SolidRRectBlurContents::Render(), impeller::TextureContents::RenderToSnapshot(), impeller::Tessellator::RoundCapLine(), and impeller::testing::TEST().
|
static |
Definition at line 17 of file aiks_playground_inspector.cc.
|
static |
Definition at line 42 of file geometry.h.
|
staticconstexpr |
Definition at line 13 of file capabilities_gles.cc.
Referenced by impeller::CapabilitiesGLES::CapabilitiesGLES().
|
staticconstexpr |
Approximately the same size as the max frames in flight.
Definition at line 22 of file host_buffer.h.
Referenced by impeller::HostBuffer::Reset().
|
constexpr |
Definition at line 12 of file limits_vk.h.
|
staticconstexpr |
Definition at line 15 of file capabilities_vk.cc.
Referenced by impeller::CapabilitiesVK::CapabilitiesVK().
|
staticconstexpr |
For filters that use a Gaussian distribution, this is the Radius
size to use per Sigma
(standard deviation).
This cutoff (sqrt(3)) is taken from Flutter and Skia (where the multiplicative inverse of this constant is used (1 / sqrt(3)): https://api.flutter.dev/flutter/dart-ui/Shadow/convertRadiusToSigma.html
In practice, this value is somewhat arbitrary, and can be changed to a higher number to integrate more of the Gaussian function and render higher quality blurs (with exponentially diminishing returns for the same sigma input). Making this value any lower results in a noticable loss of quality in the blur.
Definition at line 24 of file sigma.h.
Referenced by impeller::Sigma::operator Radius(), and impeller::Radius::operator Sigma().
|
constexpr |
Definition at line 17 of file constants.h.
|
constexpr |
Definition at line 14 of file constants.h.
|
constexpr |
Definition at line 23 of file constants.h.
|
constexpr |
Definition at line 20 of file constants.h.
|
staticconstexpr |
Definition at line 37 of file render_pass_vk.cc.
|
constexpr |
Definition at line 24 of file yuv_to_rgb_filter_contents.cc.
|
constexpr |
Definition at line 17 of file yuv_to_rgb_filter_contents.cc.
|
staticconstexpr |
Definition at line 26 of file pipeline_vk.h.
|
staticconstexpr |
Definition at line 22 of file khr_swapchain_impl_vk.cc.
|
staticconstexpr |
Definition at line 22 of file capabilities_gles.cc.
Referenced by impeller::CapabilitiesGLES::CapabilitiesGLES().
|
static |
Definition at line 17 of file lazy_glyph_atlas.cc.
Referenced by impeller::LazyGlyphAtlas::CreateOrGetGlyphAtlas().
|
static |
Definition at line 14 of file sampler_library_gles.cc.
|
static |
Definition at line 16 of file sampler_library_mtl.mm.
|
static |
Definition at line 19 of file sampler_library_vk.cc.
|
staticconstexpr |
Definition at line 18 of file capabilities_gles.cc.
Referenced by impeller::CapabilitiesGLES::CapabilitiesGLES().
|
constexpr |
Definition at line 30 of file typographer_context_skia.cc.
Referenced by CanAppendToExistingAtlas(), DrawGlyph(), and PairsFitInAtlasOfSize().
|
constexpr |
Definition at line 53 of file constants.h.
Referenced by impeller::testing::TEST_P().
|
constexpr |
Definition at line 26 of file constants.h.
Referenced by impeller::testing::MaskBlurVariantTest(), impeller::Degrees::operator Radians(), impeller::testing::TEST(), and impeller::testing::TEST_P().
|
constexpr |
Definition at line 32 of file constants.h.
Referenced by impeller::PathBuilder::AddArc(), impeller::testing::TEST(), and impeller::testing::TEST_P().
|
constexpr |
Definition at line 35 of file constants.h.
Referenced by ComputeQuadrantDivisions(), impeller::testing::TEST(), and impeller::scene::testing::TEST_P().
|
staticconstexpr |
Definition at line 16 of file pipeline_cache_vk.cc.
Referenced by impeller::PipelineCacheVK::PersistCacheToDisk(), and impeller::PipelineCacheVK::PipelineCacheVK().
|
staticconstexpr |
Definition at line 27 of file khr_swapchain_impl_vk.cc.
|
staticconstexpr |
Definition at line 23 of file gpu_tracer_vk.cc.
Referenced by impeller::GPUTracerVK::InitializeQueryPool().
|
constexpr |
Definition at line 15 of file blend_filter_contents.h.
Referenced by impeller::AtlasContents::Render().
|
staticconstexpr |
Definition at line 248 of file tessellator.cc.
Referenced by ComputeQuadrantDivisions().
|
static |
Definition at line 249 of file tessellator.cc.
Referenced by ComputeQuadrantDivisions().
|
static |
Definition at line 70 of file aiks_playground_inspector.cc.
|
static |
Definition at line 18 of file aiks_playground_inspector.cc.
|
staticconstexpr |
Definition at line 39 of file text_frame_skia.cc.
Referenced by MakeTextFrameFromTextBlobSkia().
|
constexpr |
Definition at line 20 of file render_pass_builder_vk.cc.
Referenced by impeller::RenderPassBuilderVK::Build(), and InsertBarrierForInputAttachmentRead().
|
constexpr |
Definition at line 18 of file render_pass_builder_vk.cc.
Referenced by impeller::RenderPassBuilderVK::Build(), and InsertBarrierForInputAttachmentRead().
|
constexpr |
Definition at line 23 of file render_pass_builder_vk.cc.
Referenced by impeller::RenderPassBuilderVK::Build(), and InsertBarrierForInputAttachmentRead().
|
constexpr |
Definition at line 15 of file render_pass_builder_vk.cc.
Referenced by impeller::RenderPassBuilderVK::Build(), and InsertBarrierForInputAttachmentRead().
|
constexpr |
Definition at line 13 of file render_pass_builder_vk.cc.
Referenced by impeller::RenderPassBuilderVK::Build(), and InsertBarrierForInputAttachmentRead().
|
static |
Definition at line 64 of file golden_playground_test_mac.cc.
Referenced by impeller::GoldenPlaygroundTest::SetUp().
|
constexpr |
Definition at line 47 of file constants.h.
|
static |
Definition at line 20 of file aiks_playground_inspector.cc.
Referenced by impeller::AiksInspector::RenderInspector().
|
staticconstexpr |
Definition at line 16 of file capabilities_gles.cc.
Referenced by impeller::CapabilitiesGLES::CapabilitiesGLES().
|
staticconstexpr |
Definition at line 416 of file formats_vk.h.
Referenced by impeller::RenderPassBuilderVK::Build().
|
static |
Definition at line 11 of file comparable.cc.
|
static |
Definition at line 14 of file validation.cc.
Referenced by ImpellerValidationBreak(), ImpellerValidationErrorsAreFatal(), ImpellerValidationErrorsSetFatal(), impeller::ScopedValidationFatal::ScopedValidationFatal(), and impeller::ScopedValidationFatal::~ScopedValidationFatal().
|
static |
Definition at line 13 of file validation.cc.
Referenced by impeller::ScopedValidationDisable::ScopedValidationDisable(), impeller::ScopedValidationDisable::~ScopedValidationDisable(), and impeller::ValidationLog::~ValidationLog().
|
static |
Definition at line 56 of file geometry_benchmarks.cc.
Referenced by BM_Convex(), and BM_Polyline().
|
static |
Definition at line 170 of file command_pool_vk.cc.
Referenced by impeller::CommandPoolRecyclerVK::DestroyThreadLocalPools(), impeller::CommandPoolRecyclerVK::Dispose(), and impeller::CommandPoolRecyclerVK::Get().