Namespaces | |
| compiler | |
| egl | |
| scene | |
| skia_conversions | |
| testing | |
Classes | |
| 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 |
| class | Archivable |
Instances of Archivables can be read from and written to a persistent archive. More... | |
| class | Archive |
| class | ArchiveClassRegistration |
| class | ArchiveDatabase |
| A handle to the underlying database connection for an archive. More... | |
| struct | ArchiveDef |
| class | ArchiveLocation |
| class | ArchiveStatement |
| Represents a read/write query to an archive database. Statements are expensive to create and must be cached for as long as possible. More... | |
| class | ArchiveTransaction |
| All writes made to the archive within a transaction that is not marked as ready for commit will be rolled back with the transaction ends. More... | |
| class | ArchiveVector |
| struct | AtlasBlenderKey |
| class | AtlasColorContents |
| class | AtlasContents |
| class | AtlasTextureContents |
| struct | Attachment |
| struct | AutoErrorCheck |
| class | BackendCast |
| class | BackgroundCommandPoolVK |
| 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 | BlobLibrary |
| class | BlobWriter |
| class | BlurImageFilter |
| class | BorderMaskBlurFilterContents |
| class | Buffer |
| 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 |
| struct | CapabilitiesGLES |
| 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 | ClipContents |
| 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 | Comparable |
| class | ComparableBase |
| struct | ComparableEqual |
| struct | ComparableHash |
| class | ComposeImageFilter |
| class | CompressedImage |
| class | CompressedImageSkia |
| struct | ComputeCommand |
| An object used to specify compute work to the GPU along with references to resources the GPU will used when doing said work. More... | |
| class | ComputePass |
| Compute passes encode compute shader into the underlying command buffer. More... | |
| struct | ComputePassBindingsCache |
| 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 | 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 | DescriptorPoolVK |
| A short-lived dynamically-sized 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 | DeviceHolder |
| class | DilateImageFilter |
| class | DirectionalGaussianBlurFilterContents |
| class | DirectionalMorphologyFilterContents |
| class | DlDispatcher |
| class | DlImageImpeller |
| class | DlPlayground |
| struct | EGLImageKHRWithDisplay |
| struct | EGLImageKHRWithDisplayTraits |
| struct | EGLImageWithDisplay |
| struct | EGLImageWithDisplayTraits |
| class | Entity |
| class | EntityPass |
| 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 |
| struct | FrameSynchronizer |
| 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 |
| 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 |
| struct | ImageVMA |
| struct | ImageVMATraits |
| class | InlinePassContext |
| struct | IPoint16 |
| class | LazyGlyphAtlas |
| class | LinearGradientContents |
| struct | LinearPathComponent |
| class | LinearToSrgbColorFilter |
| class | LinearToSrgbFilterContents |
| class | LocalMatrixFilterContents |
| class | LocalMatrixImageFilter |
| class | Lock |
| struct | Matrix |
| A 4x4 matrix using column-major storage. More... | |
| class | MatrixColorFilter |
| struct | MatrixDecomposition |
| class | MatrixFilterContents |
| class | MatrixImageFilter |
| struct | MixedOp_ |
| class | NinePatchConverter |
| class | OpacityPeepholePassDelegate |
| struct | Padded |
| Struct used for padding uniform buffer array elements. More... | |
| struct | Padding |
| struct | Paint |
| class | PaintPassDelegate |
| class | PassBindingsCache |
| 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 | 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 | 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 QueueVKs. 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 |
| 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... | |
| 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 | 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 | RuntimeEffectContents |
| class | RuntimeStage |
| class | RuntimeStagePlayground |
| struct | RuntimeUniformDescription |
| struct | RuntimeUniformDimensions |
| struct | SampledImageSlot |
| 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 |
| 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 |
| 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 | SurfaceVK |
| class | SwapchainImageVK |
| class | SwapchainImplVK |
| 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 | SwapchainVK |
| 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 | 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 |
| class | TextureVK |
| class | TiledTextureContents |
| struct | TPoint |
| class | TrackedObjectsVK |
| struct | TRect |
| 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 |
| class | YUVToRGBFilterContents |
Typedefs | |
| using | PrimaryKey = std::optional< int64_t > |
| 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 = uint64_t |
| using | SamplerMap = std::unordered_map< SamplerDescriptor, std::shared_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 | PositionUVPipeline = RenderPipelineT< TextureFillVertexShader, TiledTextureFillFragmentShader > |
| using | TiledTexturePipeline = RenderPipelineT< TextureFillVertexShader, TiledTextureFillFragmentShader > |
| using | GaussianBlurDecalPipeline = RenderPipelineT< GaussianBlurVertexShader, GaussianBlurNoalphaDecalFragmentShader > |
| using | GaussianBlurPipeline = RenderPipelineT< GaussianBlurVertexShader, GaussianBlurNoalphaNodecalFragmentShader > |
| 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, AdvancedBlendColorFragmentShader > |
| using | BlendColorBurnPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendColorburnFragmentShader > |
| using | BlendColorDodgePipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendColordodgeFragmentShader > |
| using | BlendDarkenPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendDarkenFragmentShader > |
| using | BlendDifferencePipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendDifferenceFragmentShader > |
| using | BlendExclusionPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendExclusionFragmentShader > |
| using | BlendHardLightPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendHardlightFragmentShader > |
| using | BlendHuePipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendHueFragmentShader > |
| using | BlendLightenPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendLightenFragmentShader > |
| using | BlendLuminosityPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendLuminosityFragmentShader > |
| using | BlendMultiplyPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendMultiplyFragmentShader > |
| using | BlendOverlayPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendOverlayFragmentShader > |
| using | BlendSaturationPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendSaturationFragmentShader > |
| using | BlendScreenPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendScreenFragmentShader > |
| using | BlendSoftLightPipeline = RenderPipelineT< AdvancedBlendVertexShader, AdvancedBlendSoftlightFragmentShader > |
| using | FramebufferBlendColorPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendColorFragmentShader > |
| using | FramebufferBlendColorBurnPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendColorburnFragmentShader > |
| using | FramebufferBlendColorDodgePipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendColordodgeFragmentShader > |
| using | FramebufferBlendDarkenPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendDarkenFragmentShader > |
| using | FramebufferBlendDifferencePipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendDifferenceFragmentShader > |
| using | FramebufferBlendExclusionPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendExclusionFragmentShader > |
| using | FramebufferBlendHardLightPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendHardlightFragmentShader > |
| using | FramebufferBlendHuePipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendHueFragmentShader > |
| using | FramebufferBlendLightenPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendLightenFragmentShader > |
| using | FramebufferBlendLuminosityPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendLuminosityFragmentShader > |
| using | FramebufferBlendMultiplyPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendMultiplyFragmentShader > |
| using | FramebufferBlendOverlayPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendOverlayFragmentShader > |
| using | FramebufferBlendSaturationPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendSaturationFragmentShader > |
| using | FramebufferBlendScreenPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendScreenFragmentShader > |
| using | FramebufferBlendSoftLightPipeline = RenderPipelineT< FramebufferBlendVertexShader, FramebufferBlendSoftlightFragmentShader > |
| using | PointsComputeShaderPipeline = ComputePipelineBuilder< PointsComputeShader > |
| Geometry Pipelines. More... | |
| using | UvComputeShaderPipeline = ComputePipelineBuilder< UvComputeShader > |
| using | PipelineProc = std::shared_ptr< Pipeline< PipelineDescriptor > >(ContentContext::*)(ContentContextOptions) const |
| 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 | 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 | 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 | BufferResource = Resource< BufferView > |
| using | TextureResource = Resource< std::shared_ptr< const Texture > > |
| using | SamplerResource = Resource< std::shared_ptr< const Sampler > > |
| 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 | 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) |
| static const ArchiveClassRegistration * | RegistrationIfReady (const ArchiveClassRegistration *registration) |
| static constexpr int | ToParam (size_t index) |
| static constexpr int | ToColumn (size_t index) |
| 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) |
| 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<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) |
| constexpr BlobShaderType | ToShaderType (fb::Stage stage) |
| std::optional< BlobShaderType > | InferShaderTypefromFileExtension (const std::filesystem::path &path) |
| constexpr fb::Stage | ToStage (BlobShaderType type) |
| bool | Main (const fml::CommandLine &command_line) |
| 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 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) |
| constexpr bool | TextureUsageIsRenderTarget (TextureUsageMask mask) |
| constexpr const char * | TextureUsageToString (TextureUsage usage) |
| 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 sk_sp< SkData > | OpenFixtureAsSkData (const char *fixture_name) |
| static Rect | ToRect (const SkRect &rect) |
| static VerticesGeometry::VertexMode | ToVertexMode (flutter::DlVertexMode mode) |
| std::shared_ptr< impeller::VerticesGeometry > | MakeVertices (const flutter::DlVertices *vertices) |
| 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) |
| 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 std::optional< SamplerAddressMode > | TileModeToAddressMode (Entity::TileMode tile_mode, const Capabilities &capabilities) |
| static RenderTarget::AttachmentConfig | GetDefaultStencilConfig (bool readable) |
| static EntityPassTarget | CreateRenderTarget (ContentContext &renderer, ISize size, bool readable, const Color &clear_color) |
| std::pair< std::vector< Point >, std::vector< uint16_t > > | TessellateConvex (Path::Polyline polyline) |
| Given a convex polyline, create a triangle fan structure. More... | |
| 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_coverage, Matrix effect_transform, const ContentContext &renderer, const Entity &entity, RenderPass &pass) |
| 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 | DoColorBlend (Color d, Color s, const std::function< Vector3(Vector3, Vector3)> &blend_rgb_func) |
| static constexpr Color | DoColorBlendComponents (Color d, Color s, 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) |
| BENCHMARK_CAPTURE (BM_Polyline, cubic_polyline, CreateCubic(), false) | |
| BENCHMARK_CAPTURE (BM_Polyline, cubic_polyline_tess, CreateCubic(), true) | |
| BENCHMARK_CAPTURE (BM_Polyline, quad_polyline, CreateQuadratic(), false) | |
| BENCHMARK_CAPTURE (BM_Polyline, quad_polyline_tess, CreateQuadratic(), true) | |
| 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) |
| static size_t | GetBytesPerPixel (DecompressedImage::Format format) |
| 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 std::string | FormatWindowTitle (const std::string &test_name) |
| std::string | PlaygroundBackendToString (PlaygroundBackend backend) |
| 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) |
| static std::string | FormatWindowTitle (const std::string &test_name) |
| 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 std::optional< Version > | DetermineVersion (std::string version) |
| static GLenum | ToTarget (DeviceBufferGLES::BindingType type) |
| 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 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) |
| 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) |
| 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) |
| static GLint | ToParam (MinMagFilter minmag_filter, std::optional< MipFilter > mip_filter=std::nullopt) |
| static GLint | ToAddressMode (SamplerAddressMode mode) |
| static ShaderStage | ToShaderStage (BlobShaderType type) |
| static std::string | GLESShaderNameToShaderKeyName (const std::string &name, ShaderStage stage) |
| static TextureGLES::Type | GetTextureTypeFromDescriptor (const TextureDescriptor &desc) |
| HandleType | ToHandleType (TextureGLES::Type type) |
| static std::optional< GLenum > | ToRenderBufferFormat (PixelFormat format) |
| static GLenum | ToAttachmentPoint (TextureGLES::AttachmentPoint 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 | Bind (ComputePassBindingsCache &pass, Allocator &allocator, size_t bind_index, const BufferView &view) |
| static bool | Bind (ComputePassBindingsCache &pass, size_t bind_index, const Sampler &sampler, const Texture &texture) |
| 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 (std::underlying_type_t< 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) |
| static MTLRenderPipelineDescriptor * | GetMTLRenderPipelineDescriptor (const PipelineDescriptor &desc) |
| 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 (PassBindingsCache &pass, Allocator &allocator, ShaderStage stage, size_t bind_index, const BufferView &view) |
| static bool | Bind (PassBindingsCache &pass, ShaderStage stage, size_t bind_index, 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) |
| static PoolVMA | CreateBufferPool (VmaAllocator allocator) |
| static constexpr vk::ImageUsageFlags | ToVKImageUsageFlags (PixelFormat format, TextureUsageMask usage, StorageMode mode, bool supports_memoryless_textures) |
| static constexpr VmaMemoryUsage | ToVMAMemoryUsage () |
| static constexpr vk::Flags< vk::MemoryPropertyFlagBits > | ToVKTextureMemoryPropertyFlags (StorageMode mode, bool supports_memoryless_textures) |
| static VmaAllocationCreateFlags | ToVmaAllocationCreateFlags (StorageMode mode) |
| 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 * | GetDeviceExtensionName (OptionalDeviceExtensionVK ext) |
| static void | IterateOptionalDeviceExtensions (const std::function< void(OptionalDeviceExtensionVK)> &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) |
| static std::unordered_map< const ContextVK *, std::vector< std::weak_ptr< CommandPoolVK > > > g_all_pools_map | IPLR_GUARDED_BY (g_all_pools_map_mutex) |
| static bool | UpdateBindingLayouts (const Bindings &bindings, const vk::CommandBuffer &buffer) |
| static bool | UpdateBindingLayouts (const ComputeCommand &command, const vk::CommandBuffer &buffer) |
| static bool | UpdateBindingLayouts (const std::vector< ComputeCommand > &commands, const vk::CommandBuffer &buffer) |
| static bool | AllocateAndBindDescriptorSets (const ContextVK &context, const ComputeCommand &command, CommandEncoderVK &encoder, const ComputePipelineVK &pipeline, size_t command_count) |
| 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) |
| static vk::UniqueDescriptorPool | CreatePool (const vk::Device &device, uint32_t pool_count) |
| 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 (std::underlying_type_t< 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) |
| 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 AttachmentKind | AttachmentKindFromFormat (PixelFormat format) |
| constexpr vk::AttachmentDescription | CreateAttachmentDescription (PixelFormat format, SampleCount sample_count, LoadAction load_action, StoreAction store_action, vk::ImageLayout current_layout) |
| 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::AttachmentDescription | CreatePlaceholderAttachmentDescription (PixelFormat format, SampleCount sample_count) |
| Creates an attachment description that does just enough to ensure render pass compatibility with the pass associated later with the framebuffer. More... | |
| static vk::UniqueRenderPass | CreateCompatRenderPassForPipeline (const vk::Device &device, const PipelineDescriptor &desc) |
| constexpr vk::FrontFace | ToVKFrontFace (WindingOrder order) |
| static vk::PipelineCreationFeedbackEXT | EmptyFeedback () |
| 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::AttachmentDescription | CreateAttachmentDescription (const Attachment &attachment, const std::shared_ptr< Texture > Attachment::*texture_ptr) |
| static void | SetTextureLayout (const Attachment &attachment, const vk::AttachmentDescription &attachment_desc, const std::shared_ptr< CommandBufferVK > &command_buffer, const std::shared_ptr< Texture > Attachment::*texture_ptr) |
| 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 bool | UpdateBindingLayouts (const Bindings &bindings, const vk::CommandBuffer &buffer) |
| static bool | UpdateBindingLayouts (const Command &command, const vk::CommandBuffer &buffer) |
| static bool | UpdateBindingLayouts (const std::vector< Command > &commands, const vk::CommandBuffer &buffer) |
| static bool | AllocateAndBindDescriptorSets (const ContextVK &context, const Command &command, CommandEncoderVK &encoder, const PipelineVK &pipeline, size_t command_count) |
| static void | SetViewportAndScissor (const Command &command, const vk::CommandBuffer &cmd_buffer, PassBindingsCache &cmd_buffer_cache, const ISize &target_size) |
| static bool | EncodeCommand (const Context &context, const Command &command, CommandEncoderVK &encoder, PassBindingsCache &command_buffer_cache, const ISize &target_size, size_t command_count) |
| static ShaderStage | ToShaderStage (BlobShaderType 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) |
| static std::optional< vk::Queue > | ChoosePresentQueue (const vk::PhysicalDevice &physical_device, const vk::Device &device, const vk::SurfaceKHR &surface) |
| 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) |
| static RuntimeUniformType | ToType (fb::UniformDataType type) |
| static RuntimeShaderStage | ToShaderStage (fb::Stage stage) |
| 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 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 constexpr const char * | kArchivePrimaryKeyColumnName = "primary_key" |
| static constexpr const char * | kVectorKeys = "keys" |
| static std::atomic_size_t | sLastID |
| static std::atomic_int32_t | sValidationLogsDisabledCount = 0 |
| static bool | sValidationLogsAreFatal = false |
| constexpr std::array< std::array< Scalar, 5 >, 15 > | kPorterDuffCoefficients |
| constexpr Matrix | kMatrixBT601LimitedRange |
| constexpr Matrix | kMatrixBT601FullRange |
| static constexpr const char * | kBlendModeNames [] |
| constexpr float | kE = 2.7182818284590452354f |
| constexpr float | kLog2_E = 1.4426950408889634074f |
| constexpr float | kLog10_E = 0.43429448190325182765f |
| constexpr float | klogE_2 = 0.69314718055994530942f |
| constexpr float | klogE_10 = 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 const char * | kInstanceLayer = "ImpellerInstance" |
| static bool | kResetOnBackgroundThread = false |
| FML_THREAD_LOCAL fml::ThreadLocalUniquePtr< CommandPoolMap > | tls_command_pool_map |
| static Mutex | g_all_pools_map_mutex |
| static bool | gHasValidationLayers = false |
| static constexpr vk::AttachmentReference | kUnusedAttachmentReference |
| constexpr size_t | kImageSizeThresholdForDedicatedMemoryAllocation |
| static constexpr const char * | kPipelineCacheFileName |
| static constexpr size_t | kMaxFramesInFlight = 3u |
| static constexpr size_t | kPollFramesForOrientation = 1u |
| static const TESSalloc | kAlloc |
| static constexpr Scalar | kScaleSize = 100000.0f |
| constexpr auto | kPadding = 2 |
| using impeller::BlendColorBurnPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendColorburnFragmentShader> |
Definition at line 199 of file content_context.h.
| using impeller::BlendColorDodgePipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendColordodgeFragmentShader> |
Definition at line 202 of file content_context.h.
| using impeller::BlendColorPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendColorFragmentShader> |
Definition at line 196 of file content_context.h.
| using impeller::BlendDarkenPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendDarkenFragmentShader> |
Definition at line 204 of file content_context.h.
| using impeller::BlendDifferencePipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendDifferenceFragmentShader> |
Definition at line 207 of file content_context.h.
| using impeller::BlendExclusionPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendExclusionFragmentShader> |
Definition at line 210 of file content_context.h.
| using impeller::BlendHardLightPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendHardlightFragmentShader> |
Definition at line 213 of file content_context.h.
| using impeller::BlendHuePipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendHueFragmentShader> |
Definition at line 215 of file content_context.h.
| using impeller::BlendLightenPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendLightenFragmentShader> |
Definition at line 218 of file content_context.h.
| using impeller::BlendLuminosityPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendLuminosityFragmentShader> |
Definition at line 221 of file content_context.h.
| using impeller::BlendMultiplyPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendMultiplyFragmentShader> |
Definition at line 224 of file content_context.h.
| using impeller::BlendOverlayPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendOverlayFragmentShader> |
Definition at line 227 of file content_context.h.
| using impeller::BlendPipeline = typedef RenderPipelineT<BlendVertexShader, BlendFragmentShader> |
Definition at line 152 of file content_context.h.
| using impeller::BlendSaturationPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendSaturationFragmentShader> |
Definition at line 230 of file content_context.h.
| using impeller::BlendScreenPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendScreenFragmentShader> |
Definition at line 232 of file content_context.h.
| using impeller::BlendSoftLightPipeline = typedef RenderPipelineT<AdvancedBlendVertexShader, AdvancedBlendSoftlightFragmentShader> |
Definition at line 235 of file content_context.h.
| using impeller::BorderMaskBlurPipeline = typedef RenderPipelineT<BorderMaskBlurVertexShader, BorderMaskBlurFragmentShader> |
Definition at line 166 of file content_context.h.
| using impeller::BufferResource = typedef Resource<BufferView> |
| using impeller::ClipPipeline = typedef RenderPipelineT<ClipVertexShader, ClipFragmentShader> |
Definition at line 187 of file content_context.h.
| using impeller::Clock = typedef std::chrono::high_resolution_clock |
| using impeller::ColorMatrixColorFilterPipeline = typedef RenderPipelineT<ColorMatrixColorFilterVertexShader, ColorMatrixColorFilterFragmentShader> |
Definition at line 172 of file content_context.h.
| using impeller::CommandPoolMap = typedef std::unordered_map<uint64_t, std::shared_ptr<CommandPoolVK> > |
Definition at line 133 of file command_pool_vk.cc.
| using impeller::ComputePipelineMap = typedef std::unordered_map<ComputePipelineDescriptor, PipelineFuture<ComputePipelineDescriptor>, ComparableHash<ComputePipelineDescriptor>, ComparableEqual<ComputePipelineDescriptor> > |
Definition at line 27 of file pipeline_library.h.
| using impeller::ConicalGradientFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, ConicalGradientFillFragmentShader> |
Definition at line 135 of file content_context.h.
| using impeller::ConicalGradientSSBOFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, ConicalGradientSsboFillFragmentShader> |
Definition at line 143 of file content_context.h.
| using impeller::CTessellator = typedef std::unique_ptr<TESStesselator, decltype(&DestroyTessellator)> |
Definition at line 22 of file tessellator.h.
| using impeller::FontGlyphMap = typedef std::unordered_map<ScaledFont, std::unordered_set<Glyph> > |
Definition at line 28 of file font_glyph_pair.h.
| using impeller::FramebufferBlendColorBurnPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendColorburnFragmentShader> |
Definition at line 242 of file content_context.h.
| using impeller::FramebufferBlendColorDodgePipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendColordodgeFragmentShader> |
Definition at line 245 of file content_context.h.
| using impeller::FramebufferBlendColorPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendColorFragmentShader> |
Definition at line 239 of file content_context.h.
| using impeller::FramebufferBlendDarkenPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendDarkenFragmentShader> |
Definition at line 248 of file content_context.h.
| using impeller::FramebufferBlendDifferencePipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendDifferenceFragmentShader> |
Definition at line 251 of file content_context.h.
| using impeller::FramebufferBlendExclusionPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendExclusionFragmentShader> |
Definition at line 254 of file content_context.h.
| using impeller::FramebufferBlendHardLightPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendHardlightFragmentShader> |
Definition at line 257 of file content_context.h.
| using impeller::FramebufferBlendHuePipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendHueFragmentShader> |
Definition at line 260 of file content_context.h.
| using impeller::FramebufferBlendLightenPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendLightenFragmentShader> |
Definition at line 263 of file content_context.h.
| using impeller::FramebufferBlendLuminosityPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendLuminosityFragmentShader> |
Definition at line 266 of file content_context.h.
| using impeller::FramebufferBlendMultiplyPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendMultiplyFragmentShader> |
Definition at line 269 of file content_context.h.
| using impeller::FramebufferBlendOverlayPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendOverlayFragmentShader> |
Definition at line 272 of file content_context.h.
| using impeller::FramebufferBlendSaturationPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendSaturationFragmentShader> |
Definition at line 275 of file content_context.h.
| using impeller::FramebufferBlendScreenPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendScreenFragmentShader> |
Definition at line 278 of file content_context.h.
| using impeller::FramebufferBlendSoftLightPipeline = typedef RenderPipelineT<FramebufferBlendVertexShader, FramebufferBlendSoftlightFragmentShader> |
Definition at line 281 of file content_context.h.
| using impeller::GaussianBlurDecalPipeline = typedef RenderPipelineT<GaussianBlurVertexShader, GaussianBlurNoalphaDecalFragmentShader> |
Definition at line 161 of file content_context.h.
| using impeller::GaussianBlurPipeline = typedef RenderPipelineT<GaussianBlurVertexShader, GaussianBlurNoalphaNodecalFragmentShader> |
Definition at line 164 of file content_context.h.
| using impeller::GeometryColorPipeline = typedef RenderPipelineT<PositionColorVertexShader, VerticesFragmentShader> |
Definition at line 190 of file content_context.h.
| using impeller::GlyphAtlasColorPipeline = typedef RenderPipelineT<GlyphAtlasVertexShader, GlyphAtlasColorFragmentShader> |
Definition at line 182 of file content_context.h.
| using impeller::GlyphAtlasPipeline = typedef RenderPipelineT<GlyphAtlasVertexShader, GlyphAtlasFragmentShader> |
Definition at line 180 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::LinearGradientFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, LinearGradientFillFragmentShader> |
Definition at line 128 of file content_context.h.
| using impeller::LinearGradientSSBOFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, LinearGradientSsboFillFragmentShader> |
Definition at line 140 of file content_context.h.
| using impeller::LinearToSrgbFilterPipeline = typedef RenderPipelineT<LinearToSrgbFilterVertexShader, LinearToSrgbFilterFragmentShader> |
Definition at line 175 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 18 of file type_traits.h.
| using impeller::MorphologyFilterPipeline = typedef RenderPipelineT<MorphologyFilterVertexShader, MorphologyFilterFragmentShader> |
Definition at line 169 of file content_context.h.
| using impeller::PathComponentVariant = typedef std::variant<std::monostate, const LinearPathComponent*, const QuadraticPathComponent*, const CubicPathComponent*> |
Definition at line 154 of file path_component.h.
| using impeller::PipelineMap = typedef std::unordered_map<PipelineDescriptor, PipelineFuture<PipelineDescriptor>, ComparableHash<PipelineDescriptor>, ComparableEqual<PipelineDescriptor> > |
Definition at line 21 of file pipeline_library.h.
| using impeller::PipelineProc = typedef std::shared_ptr<Pipeline<PipelineDescriptor> > ( ContentContext::*)(ContentContextOptions) const |
Definition at line 70 of file blend_filter_contents.cc.
| using impeller::Point = typedef TPoint<Scalar> |
| using impeller::PointsComputeShaderPipeline = typedef ComputePipelineBuilder<PointsComputeShader> |
Geometry Pipelines.
Definition at line 284 of file content_context.h.
| using impeller::PorterDuffBlendPipeline = typedef RenderPipelineT<PorterDuffBlendVertexShader, PorterDuffBlendFragmentShader> |
Definition at line 184 of file content_context.h.
| using impeller::PositionUVPipeline = typedef RenderPipelineT<TextureFillVertexShader, TiledTextureFillFragmentShader> |
Definition at line 156 of file content_context.h.
| using impeller::PrimaryKey = typedef std::optional<int64_t> |
Definition at line 21 of file archivable.h.
| using impeller::RadialGradientFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, RadialGradientFillFragmentShader> |
Definition at line 132 of file content_context.h.
| using impeller::RadialGradientSSBOFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, RadialGradientSsboFillFragmentShader> |
Definition at line 146 of file content_context.h.
| using impeller::Rect = typedef TRect<Scalar> |
| using impeller::RRectBlurPipeline = typedef RenderPipelineT<RrectBlurVertexShader, RrectBlurFragmentShader> |
Definition at line 151 of file content_context.h.
| using impeller::SamplerMap = typedef std::unordered_map<SamplerDescriptor, std::shared_ptr<const Sampler>, ComparableHash<SamplerDescriptor>, ComparableEqual<SamplerDescriptor> > |
Definition at line 56 of file sampler_descriptor.h.
| using impeller::SamplerResource = typedef Resource<std::shared_ptr<const Sampler> > |
| 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 43 of file shader_key.h.
| using impeller::SharedHandleVK = typedef std::shared_ptr<SharedObjectVKT<T> > |
Definition at line 48 of file shared_object_vk.h.
| using impeller::Size = typedef TSize<Scalar> |
| using impeller::SolidFillPipeline = typedef RenderPipelineT<SolidFillVertexShader, SolidFillFragmentShader> |
Definition at line 130 of file content_context.h.
| using impeller::SrgbToLinearFilterPipeline = typedef RenderPipelineT<SrgbToLinearFilterVertexShader, SrgbToLinearFilterFragmentShader> |
Definition at line 178 of file content_context.h.
| using impeller::SweepGradientFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, SweepGradientFillFragmentShader> |
Definition at line 137 of file content_context.h.
| using impeller::SweepGradientSSBOFillPipeline = typedef RenderPipelineT<GradientFillVertexShader, SweepGradientSsboFillFragmentShader> |
Definition at line 149 of file content_context.h.
| using impeller::TexturePipeline = typedef RenderPipelineT<TextureFillVertexShader, TextureFillFragmentShader> |
Definition at line 154 of file content_context.h.
| using impeller::TextureResource = typedef Resource<std::shared_ptr<const Texture> > |
| using impeller::TextureUsageMask = typedef uint64_t |
| using impeller::TiledTexturePipeline = typedef RenderPipelineT<TextureFillVertexShader, TiledTextureFillFragmentShader> |
Definition at line 158 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 285 of file content_context.h.
| using impeller::Vector2 = typedef Point |
| using impeller::WaitSet = typedef std::vector<std::shared_ptr<WaitSetEntry> > |
Definition at line 24 of file fence_waiter_vk.h.
| using impeller::YUVToRGBFilterPipeline = typedef RenderPipelineT<YuvToRgbFilterVertexShader, YuvToRgbFilterFragmentShader> |
Definition at line 192 of file content_context.h.
|
strong |
| Enumerator | |
|---|---|
| kColor | |
| kDepth | |
| kStencil | |
| kDepthStencil | |
Definition at line 399 of file formats_vk.h.
|
strong |
Definition at line 152 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 57 of file color.h.
|
strong |
|
strong |
| Enumerator | |
|---|---|
| kVertex | |
| kFragment | |
| kCompute | |
Definition at line 9 of file blob_types.h.
|
strong |
|
strong |
|
strong |
Definition at line 486 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 20 of file texture_descriptor.h.
|
strong |
|
strong |
|
strong |
| Enumerator | |
|---|---|
| kTexture | |
| kBuffer | |
| kProgram | |
| kShader | |
| kRenderBuffer | |
| kFrameBuffer | |
Definition at line 179 of file proc_table_gles.h.
|
strong |
| Enumerator | |
|---|---|
| kUniformBuffer | |
| kStorageBuffer | |
| kSampledImage | |
| kImage | |
| kSampler | |
Definition at line 141 of file shader_types.h.
|
strong |
| Enumerator | |
|---|---|
| kPosition | |
| kColor | |
| kUV | |
Definition at line 25 of file geometry.h.
|
strong |
| Enumerator | |
|---|---|
| kUnknown | |
| kTexture | |
| kBuffer | |
| kProgram | |
| kRenderBuffer | |
| kFrameBuffer | |
Definition at line 21 of file handle_gles.h.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
| Enumerator | |
|---|---|
| kEXTPipelineCreationFeedback | |
| kLast | |
Definition at line 21 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 94 of file formats.h.
|
strong |
| Enumerator | |
|---|---|
| kMetal | |
| kOpenGLES | |
| kVulkan | |
Definition at line 25 of file playground.h.
|
strong |
|
strong |
|
strong |
|
strong |
| Enumerator | |
|---|---|
| kVertex | |
| kFragment | |
| kCompute | |
| kTessellationControl | |
| kTessellationEvaluation | |
Definition at line 29 of file runtime_types.h.
| Enumerator | |
|---|---|
| kBoolean | |
| kSignedByte | |
| kUnsignedByte | |
| kSignedShort | |
| kUnsignedShort | |
| kSignedInt | |
| kUnsignedInt | |
| kSignedInt64 | |
| kUnsignedInt64 | |
| kHalfFloat | |
| kFloat | |
| kDouble | |
| kSampledImage | |
Definition at line 13 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 377 of file formats.h.
|
strong |
| Enumerator | |
|---|---|
| kUnknown | |
| kVertex | |
| kFragment | |
| kTessellationControl | |
| kTessellationEvaluation | |
| kCompute | |
Definition at line 20 of file shader_types.h.
|
strong |
Definition at line 45 of file shader_types.h.
|
strong |
Definition at line 505 of file formats.h.
|
strong |
Specified where the allocation resides and how it is used.
Definition at line 27 of file formats.h.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
| Enumerator | |
|---|---|
| kClockwise | |
| kCounterClockwise | |
Definition at line 24 of file tessellator.h.
|
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 18 of file scalar.h.
Referenced by ScalarNearlyZero().
|
static |
Handle inputs.
Render to texture.
Definition at line 73 of file blend_filter_contents.cc.
References impeller::VertexBufferBuilder< VertexType_, IndexType_ >::AddVertices(), impeller::Command::BindVertices(), BlendModeToString(), impeller::VertexBufferBuilder< VertexType_, IndexType_ >::CreateVertexBuffer(), DEBUG_COMMAND_INFO, impeller::Entity::FromSnapshot(), impeller::Entity::GetBlendMode(), impeller::Entity::GetContents(), impeller::ContentContext::GetContext(), impeller::ContentContext::GetDeviceCapabilities(), impeller::Entity::GetStencilDepth(), impeller::TRect< T >::Intersection(), kDecal, kSource, impeller::ColorFilterContents::kYes, impeller::Matrix::MakeOrthographic(), impeller::ContentContext::MakeSubpass(), impeller::Matrix::MakeTranslation(), OptionsFromPass(), impeller::TRect< T >::origin, impeller::Command::pipeline, impeller::TRect< T >::size, SPrintF(), impeller::Capabilities::SupportsDecalSamplerAddressMode(), and impeller::Snapshot::texture.
|
static |
Definition at line 326 of file render_pass_vk.cc.
References impeller::CommandEncoderVK::AllocateDescriptorSet(), impeller::ShaderUniformSlot::binding, impeller::SampledImageSlot::binding, impeller::Bindings::buffers, impeller::DescriptorSetLayout::descriptor_type, impeller::Command::fragment_bindings, impeller::Pipeline< T >::GetDescriptor(), impeller::PipelineVK::GetDescriptorSetLayout(), impeller::ContextVK::GetDevice(), impeller::PipelineVK::GetPipelineLayout(), impeller::ContextVK::GetResourceAllocator(), impeller::SamplerVK::GetSampler(), impeller::SamplerVK::GetSharedSampler(), impeller::PipelineDescriptor::GetVertexDescriptor(), impeller::Bindings::sampled_images, ToVKDescriptorType(), impeller::CommandEncoderVK::Track(), VALIDATION_LOG, and impeller::Command::vertex_bindings.
Referenced by EncodeCommand().
|
static |
Definition at line 69 of file compute_pass_vk.cc.
References impeller::CommandEncoderVK::AllocateDescriptorSet(), impeller::ShaderUniformSlot::binding, impeller::SampledImageSlot::binding, impeller::ComputeCommand::bindings, impeller::BackendCast< DeviceBufferVK, Buffer >::Cast(), impeller::BackendCast< TextureVK, Texture >::Cast(), impeller::BackendCast< SamplerVK, Sampler >::Cast(), impeller::DescriptorSetLayout::descriptor_type, impeller::DeviceBufferVK::GetBuffer(), impeller::Pipeline< T >::GetDescriptor(), impeller::ComputePipelineVK::GetDescriptorSetLayout(), impeller::ComputePipelineDescriptor::GetDescriptorSetLayouts(), impeller::ContextVK::GetDevice(), impeller::ComputePipelineVK::GetPipelineLayout(), impeller::ContextVK::GetResourceAllocator(), impeller::SamplerVK::GetSampler(), impeller::SamplerVK::GetSharedSampler(), ToVKDescriptorType(), impeller::CommandEncoderVK::Track(), and VALIDATION_LOG.
| impeller::API_AVAILABLE | ( | ios(14.0) | , |
| macos(11.0) | |||
| ) |
Definition at line 18 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().
Definition at line 98 of file path_component.cc.
Referenced by impeller::QuadraticPathComponent::FillPointsForPolyline().
|
constexpr |
Definition at line 406 of file formats_vk.h.
References kA8UNormInt, kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kColor, kD24UnormS8Uint, kD32FloatS8UInt, kDepthStencil, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, kStencil, and kUnknown.
Referenced by CreateAttachmentDescription().
| 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_Polyline | , |
| cubic_polyline | , | ||
| CreateCubic() | , | ||
| false | |||
| ) |
| impeller::BENCHMARK_CAPTURE | ( | BM_Polyline | , |
| cubic_polyline_tess | , | ||
| CreateCubic() | , | ||
| true | |||
| ) |
| impeller::BENCHMARK_CAPTURE | ( | BM_Polyline | , |
| quad_polyline | , | ||
| CreateQuadratic() | , | ||
| false | |||
| ) |
| impeller::BENCHMARK_CAPTURE | ( | BM_Polyline | , |
| quad_polyline_tess | , | ||
| CreateQuadratic() | , | ||
| true | |||
| ) |
|
static |
Definition at line 165 of file compute_pass_mtl.mm.
References impeller::BufferView::buffer, impeller::BackendCast< DeviceBufferMTL, Buffer >::Cast(), impeller::DeviceBufferMTL::GetMTLBuffer(), impeller::Range::offset, impeller::BufferView::range, and impeller::ComputePassBindingsCache::SetBuffer().
|
static |
Definition at line 188 of file compute_pass_mtl.mm.
References impeller::BackendCast< TextureMTL, Texture >::Cast(), impeller::BackendCast< SamplerMTL, Sampler >::Cast(), impeller::Sampler::IsValid(), impeller::Texture::IsValid(), impeller::ComputePassBindingsCache::SetSampler(), and impeller::ComputePassBindingsCache::SetTexture().
|
static |
Definition at line 357 of file render_pass_mtl.mm.
References impeller::BufferView::buffer, impeller::Range::offset, impeller::BufferView::range, and impeller::PassBindingsCache::SetBuffer().
|
static |
Definition at line 380 of file render_pass_mtl.mm.
References impeller::Sampler::IsValid(), impeller::Texture::IsValid(), impeller::Texture::NeedsMipmapGeneration(), impeller::PassBindingsCache::SetSampler(), impeller::PassBindingsCache::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(), and impeller::testing::TEST().
|
static |
Definition at line 24 of file geometry_benchmarks.cc.
References kNonZero, tess, and impeller::Tessellator::Tessellate().
|
constexpr |
Definition at line 399 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 78 of file typographer_context_skia.cc.
References impeller::Glyph::bounds, impeller::TSize< int64_t >::Ceil(), impeller::FontGlyphPair::glyph, impeller::TSize< T >::IsEmpty(), kPadding, impeller::TRect< Scalar >::MakeXYWH(), impeller::ScaledFont::scale, impeller::FontGlyphPair::scaled_font, impeller::TRect< T >::size, 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 224 of file formats.h.
References kDontCare, kMultisampleResolve, kStore, and kStoreAndMultisampleResolve.
Referenced by EncodeCommandsInReactor().
|
static |
Definition at line 96 of file swapchain_impl_vk.cc.
|
static |
Definition at line 114 of file swapchain_impl_vk.cc.
|
static |
Definition at line 74 of file 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::TEST(), and impeller::testing::TEST_P().
|
static |
Definition at line 107 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 398 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::Vector3::x, impeller::Vector3::y, and impeller::Vector3::z.
Referenced by impeller::Color::Blend().
|
constexpr |
Definition at line 25 of file texture_descriptor.h.
References kLossless, and kLossy.
Referenced by TextureDescriptorToString().
| 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 50 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_coverage, | ||
| Matrix | effect_transform, | ||
| const ContentContext & | renderer, | ||
| const Entity & | entity, | ||
| RenderPass & | pass | ||
| ) |
Definition at line 70 of file geometry.cc.
References impeller::TRect< T >::GetPoints(), impeller::RenderPass::GetRenderTargetSize(), impeller::Entity::GetTransformation(), impeller::RenderPass::GetTransientsBuffer(), kNone, kTriangleStrip, impeller::Matrix::MakeOrthographic(), impeller::TRect< T >::origin, impeller::TRect< T >::size, and impeller::GeometryResult::type.
|
static |
Definition at line 54 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 36 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 71 of file render_pass_mtl.mm.
References impeller::ColorAttachment::clear_color, ConfigureAttachment(), and ToMTLClearColor().
Referenced by ToMTLRenderPassDescriptor().
|
static |
Definition at line 81 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 25 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 71 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 91 of file render_pass_mtl.mm.
References impeller::StencilAttachment::clear_stencil, and ConfigureAttachment().
Referenced by ToMTLRenderPassDescriptor().
|
static |
Definition at line 69 of file swapchain_impl_vk.cc.
Referenced by ChooseSurfaceFormat().
|
static |
Definition at line 215 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 292 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 31 of file render_pass_vk.cc.
References impeller::BackendCast< TextureVK, Texture >::Cast(), CreateAttachmentDescription(), kClear, kDeviceTransient, kDontCare, kStore, impeller::Attachment::load_action, impeller::Attachment::resolve_texture, and impeller::Attachment::store_action.
|
constexpr |
Definition at line 431 of file formats_vk.h.
References AttachmentKindFromFormat(), kColor, kDepth, kDepthStencil, kStencil, ToVKAttachmentLoadOp(), ToVKAttachmentStoreOp(), ToVKImageFormat(), and ToVKSampleCount().
Referenced by CreateAttachmentDescription(), and CreatePlaceholderAttachmentDescription().
|
static |
Definition at line 47 of file allocator_vk.cc.
References kHostVisible, ToVKBufferMemoryPropertyFlags(), and ToVmaAllocationBufferCreateFlags().
|
static |
Definition at line 118 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 78 of file pipeline_library_vk.cc.
References CreatePlaceholderAttachmentDescription(), impeller::PipelineDescriptor::GetColorAttachmentDescriptors(), impeller::PipelineDescriptor::GetDepthPixelFormat(), impeller::PipelineDescriptor::GetDepthStencilAttachmentDescriptor(), impeller::PipelineDescriptor::GetLabel(), impeller::PipelineDescriptor::GetMaxColorAttacmentBindIndex(), impeller::PipelineDescriptor::GetSampleCount(), impeller::PipelineDescriptor::GetStencilPixelFormat(), impeller::PipelineDescriptor::HasStencilAttachmentDescriptors(), kUnusedAttachmentReference, impeller::ContextVK::SetDebugName(), and VALIDATION_LOG.
|
static |
Definition at line 157 of file content_context.cc.
References impeller::Context::GetCapabilities(), kCount4, and impeller::ContentContextOptions::sample_count.
|
static |
Definition at line 75 of file pipeline_library_mtl.mm.
References impeller::PipelineDescriptor::GetBackStencilAttachmentDescriptor(), impeller::PipelineDescriptor::GetDepthStencilAttachmentDescriptor(), impeller::PipelineDescriptor::GetFrontStencilAttachmentDescriptor(), and ToMTLDepthStencilDescriptor().
|
static |
Definition at line 18 of file compute_tessellator.cc.
References impeller::DeviceBufferDescriptor::size, and impeller::DeviceBufferDescriptor::storage_mode.
|
static |
Definition at line 83 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 100 of file allocation.cc.
Referenced by CreateMappingWithCopy(), and impeller::testing::TEST().
| 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 112 of file allocation.cc.
Referenced by impeller::compiler::Compiler::Compiler().
|
static |
Definition at line 219 of file context_mtl.mm.
References VALIDATION_LOG.
Referenced by impeller::ContextMTL::Create().
|
static |
Definition at line 215 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 |
Creates an attachment description that does just enough to ensure render pass compatibility with the pass associated later with the framebuffer.
Definition at line 57 of file pipeline_library_vk.cc.
References CreateAttachmentDescription(), and kDontCare.
Referenced by CreateCompatRenderPassForPipeline().
|
static |
|
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 270 of file entity_pass.cc.
References impeller::RenderTarget::CreateOffscreen(), impeller::RenderTarget::CreateOffscreenMSAA(), impeller::ContentContext::GetContext(), GetDefaultStencilConfig(), impeller::ContentContext::GetDeviceCapabilities(), impeller::ContentContext::GetRenderTargetCache(), and impeller::Capabilities::SupportsReadFromResolve().
|
static |
Definition at line 384 of file playground.cc.
References impeller::TextureDescriptor::format, impeller::DecompressedImage::GetAllocation(), impeller::DecompressedImage::GetSize(), kDevicePrivate, kHostVisible, kR8G8B8A8UNormInt, impeller::TextureDescriptor::mip_count, impeller::TSize< T >::MipCount(), impeller::TextureDescriptor::size, SPrintF(), impeller::TextureDescriptor::storage_mode, and VALIDATION_LOG.
Referenced by impeller::Playground::CreateTextureForMapping().
|
static |
Definition at line 78 of file buffer_bindings_gles.cc.
References NormalizeUniformKey().
|
static |
|
static |
Definition at line 255 of file path_component.cc.
References 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().
|
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 77 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 60 of file comparable.h.
Referenced by DeepCompareMap(), impeller::ComputePipelineDescriptor::IsEqual(), impeller::Font::IsEqual(), and impeller::PipelineDescriptor::IsEqual().
|
constexpr |
Definition at line 14 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 175 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 162 of file tessellator.cc.
Referenced by impeller::Tessellator::Tessellator().
| IMPELLER_API void impeller::DestroyVertices | ( | Vertices * | vertices | ) |
Definition at line 75 of file tessellator.cc.
References impeller::Vertices::points.
|
static |
Definition at line 39 of file description_gles.cc.
References HasPrefix().
Referenced by impeller::DescriptionGLES::DescriptionGLES().
|
static |
Definition at line 43 of file description_gles.cc.
References impeller::Version::FromVector(), and StripPrefix().
Referenced by impeller::DescriptionGLES::DescriptionGLES().
|
static |
Definition at line 38 of file allocator_mtl.mm.
|
static |
Definition at line 53 of file allocator_mtl.mm.
|
static |
|
static |
Definition at line 17 of file allocator_mtl.mm.
|
static |
|
inlinestaticconstexpr |
Definition at line 196 of file color.cc.
References impeller::Color::alpha, FromRGB(), impeller::Color::Lerp(), impeller::Color::Premultiply(), ToRGB(), and impeller::Color::Unpremultiply().
Referenced by impeller::Color::Blend().
|
inlinestaticconstexpr |
Definition at line 207 of file color.cc.
References impeller::Color::alpha, impeller::Color::blue, impeller::Color::green, impeller::Color::Lerp(), impeller::Color::Premultiply(), 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::Font::GetMetrics(), impeller::BitmapSTB::GetPixelAddress(), impeller::BitmapSTB::GetRowBytes(), impeller::Font::GetTypeface(), impeller::TSize< T >::height, impeller::Glyph::index, kPadding, impeller::TypefaceSTB::kPointsToPixels, impeller::TRect< T >::origin, impeller::TRect< T >::size, impeller::TSize< T >::width, impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
static |
Definition at line 155 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::Glyph::index, impeller::TRect< T >::origin, impeller::ScaledFont::scale, impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
Referenced by CreateAtlasBitmap(), and UpdateAtlasBitmap().
|
static |
Definition at line 152 of file pipeline_library_vk.cc.
|
static |
Definition at line 486 of file render_pass_vk.cc.
References AllocateAndBindDescriptorSets(), impeller::Command::base_vertex, impeller::PassBindingsCache::BindPipeline(), impeller::BufferView::buffer, impeller::CommandEncoderVK::GetCommandBuffer(), impeller::Context::GetResourceAllocator(), impeller::Command::GetVertexBuffer(), impeller::Command::index_buffer, impeller::Command::index_type, impeller::Command::instance_count, impeller::Command::pipeline, impeller::CommandEncoderVK::PopDebugGroup(), impeller::CommandEncoderVK::PushDebugGroup(), impeller::PassBindingsCache::SetStencilReference(), SetViewportAndScissor(), impeller::Command::stencil_reference, ToVKIndexType(), impeller::CommandEncoderVK::Track(), VALIDATION_LOG, and impeller::Command::vertex_count.
| bool impeller::EncodeCommandsInReactor | ( | const RenderPassData & | pass_data, |
| const std::shared_ptr< Allocator > & | transients_allocator, | ||
| const ReactorGLES & | reactor, | ||
| const std::vector< Command > & | commands | ||
| ) |
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 139 of file render_pass_gles.cc.
References impeller::Color::alpha, impeller::Color::blue, CanClearAttachment(), CanDiscardAttachmentWhenDone(), impeller::BackendCast< DeviceBufferGLES, DeviceBuffer >::Cast(), impeller::BackendCast< PipelineGLES, Pipeline< PipelineDescriptor > >::Cast(), impeller::BackendCast< TextureGLES, Texture >::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, impeller::RenderPass::commands_, ConfigureBlending(), ConfigureStencil(), impeller::RenderPassData::depth_attachment, impeller::RenderPassData::discard_color_attachment, impeller::RenderPassData::discard_depth_attachment, impeller::RenderPassData::discard_stencil_attachment, impeller::ReactorGLES::GetProcTable(), impeller::RenderPass::GetRenderTarget(), impeller::RenderPass::GetRenderTargetSize(), impeller::Context::GetResourceAllocator(), 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::TRect< Scalar >::MakeSize(), impeller::ProcTableGLES::PushDebugGroup(), impeller::Viewport::rect, 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 40 of file blit_pass_gles.cc.
References impeller::ReactorGLES::GetProcTable(), and impeller::ProcTableGLES::PushDebugGroup().
|
static |
Definition at line 57 of file compute_playground_test.cc.
Referenced by impeller::ComputePlaygroundTest::GetWindowTitle(), and impeller::PlaygroundTest::GetWindowTitle().
|
static |
Definition at line 62 of file playground_test.cc.
|
static |
Definition at line 141 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 290 of file formats_mtl.h.
|
constexpr |
Definition at line 21 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 319 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 DoColorBlend().
|
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().
|
static |
Definition at line 261 of file entity_pass.cc.
References kDevicePrivate, kDeviceTransient, kDontCare, and impeller::RenderTarget::AttachmentConfig::storage_mode.
Referenced by CreateRenderTarget().
|
static |
Definition at line 155 of file capabilities_vk.cc.
References kEXTPipelineCreationFeedback, and kLast.
Referenced by impeller::CapabilitiesVK::GetEnabledDeviceExtensions(), and impeller::CapabilitiesVK::SetPhysicalDevice().
|
static |
Definition at line 77 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 25 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::VertexDescriptorMTL::GetMTLVertexDescriptor(), impeller::PipelineDescriptor::GetSampleCount(), impeller::PipelineDescriptor::GetStageEntrypoints(), impeller::PipelineDescriptor::GetStencilPixelFormat(), impeller::PipelineDescriptor::GetVertexDescriptor(), kFragment, kVertex, impeller::VertexDescriptorMTL::SetStageInputsAndLayout(), ToMTLPixelFormat(), and ToMTLRenderPipelineColorAttachmentDescriptor().
|
static |
Definition at line 55 of file context_vk.cc.
|
static |
Definition at line 21 of file pipeline_library_gles.cc.
Referenced by LogShaderCompilationFailure().
|
static |
Definition at line 176 of file capabilities_vk.cc.
Referenced by impeller::CapabilitiesVK::GetEnabledDeviceExtensions(), and impeller::CapabilitiesVK::SetPhysicalDevice().
|
static |
Definition at line 19 of file texture_gles.cc.
References impeller::TextureGLES::kRenderBuffer, kRenderTarget, impeller::TextureGLES::kTexture, and impeller::TextureDescriptor::usage.
|
static |
Definition at line 213 of file render_pass_vk.cc.
References impeller::RenderTarget::GetColorAttachments(), impeller::RenderTarget::GetDepthAttachment(), impeller::RenderTarget::GetStencilAttachment(), VKClearValueFromColor(), and VKClearValueFromDepthStencil().
| const char * impeller::GLErrorToString | ( | GLenum | value | ) |
Definition at line 15 of file proc_table_gles.cc.
Referenced by impeller::AutoErrorCheck::~AutoErrorCheck().
|
static |
Definition at line 29 of file shader_library_gles.cc.
References kCompute, kFragment, kTessellationControl, kTessellationEvaluation, kUnknown, and kVertex.
| 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 262 of file capabilities_vk.cc.
Referenced by impeller::CapabilitiesVK::GetEnabledDeviceFeatures().
|
static |
Definition at line 271 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 236 of file capabilities_vk.cc.
Referenced by PhysicalDeviceSupportsRequiredFormats().
|
static |
Definition at line 244 of file capabilities_vk.cc.
Referenced by PhysicalDeviceSupportsRequiredFormats(), and impeller::CapabilitiesVK::SetPhysicalDevice().
| bool impeller::HasValidationLayers | ( | ) |
Definition at line 40 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.
|
inline |
| void impeller::ImpellerValidationBreak | ( | const char * | message | ) |
Definition at line 40 of file validation.cc.
References sValidationLogsAreFatal.
Referenced by impeller::ValidationLog::~ValidationLog().
| void impeller::ImpellerValidationErrorsSetFatal | ( | bool | fatal | ) |
Definition at line 16 of file validation.cc.
References sValidationLogsAreFatal.
Referenced by impeller::PlaygroundTest::SetUp().
|
static |
Definition at line 51 of file context_mtl.mm.
References impeller::CapabilitiesBuilder::Build(), DeviceSupportsComputeSubgroups(), DeviceSupportsFramebufferFetch(), kD32FloatS8UInt, kS8UInt, impeller::CapabilitiesBuilder::SetDefaultColorFormat(), impeller::CapabilitiesBuilder::SetDefaultDepthStencilFormat(), 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::SetSupportsReadFromOnscreenTexture(), impeller::CapabilitiesBuilder::SetSupportsReadFromResolve(), impeller::CapabilitiesBuilder::SetSupportsSSBO(), and impeller::CapabilitiesBuilder::SetSupportsTextureToTextureBlits().
Referenced by impeller::ContextMTL::UpdateOffscreenLayerPixelFormat().
| std::optional<BlobShaderType> impeller::InferShaderTypefromFileExtension | ( | const std::filesystem::path & | path | ) |
Definition at line 19 of file blob_writer.cc.
References kCompute, kFragment, and kVertex.
Referenced by impeller::BlobWriter::AddBlobAtPath().
|
static |
Definition at line 215 of file blit_command_vk.cc.
Referenced by impeller::BlitGenerateMipmapCommandVK::Encode().
Definition at line 28 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 118 of file shader_library_vk.cc.
|
constexpr |
Definition at line 257 of file formats.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, and kTextureExternalOES.
Referenced by impeller::TextureDescriptor::SamplingOptionsAreValid().
|
static |
Definition at line 165 of file capabilities_vk.cc.
References kLast.
Referenced by impeller::CapabilitiesVK::GetEnabledDeviceExtensions(), and impeller::CapabilitiesVK::SetPhysicalDevice().
|
static |
Definition at line 48 of file debug_report_vk.cc.
|
static |
Definition at line 60 of file debug_report_vk.cc.
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::TEST(), and impeller::testing::TEST_P().
|
static |
Definition at line 72 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 61 of file command_buffer_mtl.mm.
References MTLCommandBufferErrorToString(), and VALIDATION_LOG.
|
static |
Definition at line 35 of file pipeline_library_gles.cc.
References GetShaderInfoLog(), kCompute, kFragment, kTessellationControl, kTessellationEvaluation, 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 blobcat_main.cc.
References impeller::BlobWriter::AddBlobAtPath(), and impeller::BlobWriter::CreateMapping().
Referenced by main().
| auto impeller::MakeSharedVK | ( | vk::UniqueHandle< T, VULKAN_HPP_DEFAULT_DISPATCHER_TYPE > | handle | ) |
Definition at line 39 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 >::MakeXYWH(), and impeller::Font::Metrics::point_size.
| 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 36 of file command_buffer_mtl.mm.
Referenced by LogMTLCommandBufferErrorIfPresent().
|
static |
|
static |
Definition at line 149 of file context_mtl.mm.
References VALIDATION_LOG.
Referenced by impeller::ContextMTL::Create().
Definition at line 247 of file path_component.cc.
Referenced by NearZero().
|
inlinestatic |
Definition at line 251 of file path_component.cc.
References NearEqual().
Referenced by CubicPathBoundingPopulateValues().
|
static |
Definition at line 53 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().
|
static |
Definition at line 55 of file dl_playground.cc.
Referenced by impeller::DlPlayground::CreateTestFontOfSize().
|
constexpr |
Definition at line 253 of file point.h.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
constexpr |
Definition at line 233 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 248 of file point.h.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
constexpr |
Definition at line 292 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 889 of file color.h.
References impeller::Color::alpha, impeller::Color::blue, impeller::Color::green, and impeller::Color::red.
|
constexpr |
Definition at line 263 of file point.h.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
constexpr |
Definition at line 268 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 900 of file color.h.
References impeller::Color::alpha, impeller::Color::blue, impeller::Color::green, and impeller::Color::red.
|
constexpr |
Definition at line 280 of file point.h.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
constexpr |
Definition at line 221 of file vector.h.
References impeller::Vector3::x, impeller::Vector3::y, and impeller::Vector3::z.
|
static |
Definition at line 116 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::RenderPass::GetRenderTarget(), impeller::RenderTarget::GetRenderTargetPixelFormat(), impeller::RenderTarget::GetSampleCount(), impeller::RenderTarget::GetStencilAttachment(), impeller::ContentContextOptions::has_stencil_attachment, and impeller::ContentContextOptions::sample_count.
Referenced by AdvancedBlend(), OptionsFromPassAndEntity(), PipelineBlend(), impeller::CheckerboardContents::Render(), impeller::ClipContents::Render(), impeller::AtlasContents::Render(), impeller::ClipRestoreContents::Render(), and impeller::testing::TEST_P().
| ContentContextOptions impeller::OptionsFromPassAndEntity | ( | const RenderPass & | pass, |
| const Entity & | entity | ||
| ) |
Definition at line 30 of file contents.cc.
References impeller::ContentContextOptions::blend_mode, impeller::Entity::GetBlendMode(), and OptionsFromPass().
Referenced by impeller::RuntimeEffectContents::Render(), impeller::TiledTextureContents::Render(), impeller::SolidRRectBlurContents::Render(), impeller::SolidColorContents::Render(), impeller::TextContents::Render(), impeller::TextureContents::Render(), impeller::VerticesColorContents::Render(), impeller::VerticesUVContents::Render(), impeller::AtlasTextureContents::Render(), and impeller::AtlasColorContents::Render().
|
static |
Definition at line 43 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 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, impeller::TSize< T >::width, impeller::IPoint16::x(), and impeller::IPoint16::y().
|
static |
Definition at line 251 of file capabilities_vk.cc.
References HasSuitableColorFormat(), and HasSuitableDepthStencilFormat().
Referenced by impeller::CapabilitiesVK::GetEnabledDeviceFeatures().
|
static |
Definition at line 44 of file context_vk.cc.
References impeller::CapabilitiesVK::GetEnabledDeviceFeatures().
|
static |
|
static |
Definition at line 527 of file blend_filter_contents.cc.
References impeller::VertexBufferBuilder< VertexType_, IndexType_ >::AddVertices(), impeller::Command::BindVertices(), BlendModeToString(), impeller::VertexBufferBuilder< VertexType_, IndexType_ >::CreateVertexBuffer(), DEBUG_COMMAND_INFO, impeller::Entity::FromSnapshot(), impeller::Entity::GetBlendMode(), impeller::ContentContext::GetBlendPipeline(), impeller::Entity::GetContents(), impeller::ContentContext::GetContext(), impeller::Entity::GetStencilDepth(), impeller::TRect< T >::Intersection(), kSource, impeller::ColorFilterContents::kYes, impeller::Matrix::MakeOrthographic(), impeller::Geometry::MakeRect(), impeller::TRect< Scalar >::MakeSize(), impeller::ContentContext::MakeSubpass(), impeller::Matrix::MakeTranslation(), OptionsFromPass(), impeller::TRect< T >::origin, impeller::Command::pipeline, impeller::Entity::Render(), impeller::Entity::SetBlendMode(), impeller::Entity::SetContents(), impeller::TRect< T >::size, SPrintF(), and impeller::Snapshot::texture.
|
constexpr |
Definition at line 375 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 ToVKImageUsageFlags().
|
constexpr |
Definition at line 114 of file formats.h.
References kA8UNormInt, kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, and kUnknown.
Referenced by TextureDescriptorToString().
| std::string impeller::PlaygroundBackendToString | ( | PlaygroundBackend | backend | ) |
Definition at line 39 of file playground.cc.
References kMetal, kOpenGLES, and kVulkan.
Referenced by impeller::PlaygroundImpl::Create().
|
static |
Definition at line 156 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 | ) |
|
inlinestatic |
Definition at line 95 of file archive_database.cc.
References impeller::ArchiveClassRegistration::IsValid().
Referenced by impeller::ArchiveDatabase::GetRegistrationForDefinition().
|
static |
Definition at line 29 of file pipeline_cache_vk.cc.
Referenced by OpenCacheFile().
|
static |
Definition at line 226 of file pipeline_library_vk.cc.
References ReportPipelineCreationFeedbackToLog(), and ReportPipelineCreationFeedbackToTrace().
|
static |
Definition at line 178 of file pipeline_library_vk.cc.
References impeller::PipelineDescriptor::GetLabel(), and ReportPipelineCreationFeedbackToLog().
|
static |
Definition at line 161 of file pipeline_library_vk.cc.
Referenced by ReportPipelineCreationFeedback(), and ReportPipelineCreationFeedbackToLog().
|
static |
Definition at line 203 of file pipeline_library_vk.cc.
Referenced by ReportPipelineCreationFeedback().
|
static |
Definition at line 261 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 27 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 22 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 28 of file half.h.
Referenced by impeller::testing::TEST().
|
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().
|
static |
Definition at line 69 of file render_pass_vk.cc.
References impeller::BackendCast< TextureVK, Texture >::Cast(), impeller::BarrierVK::cmd_buffer, impeller::BarrierVK::dst_access, impeller::BarrierVK::dst_stage, impeller::BarrierVK::new_layout, impeller::BarrierVK::src_access, and impeller::BarrierVK::src_stage.
|
static |
Definition at line 462 of file render_pass_vk.cc.
References impeller::Command::scissor, impeller::PassBindingsCache::SetScissor(), impeller::PassBindingsCache::SetViewport(), and impeller::Command::viewport.
Referenced by EncodeCommand().
|
static |
Definition at line 30 of file playground_impl_vk.cc.
|
static |
Definition at line 36 of file playground_impl_mtl.mm.
|
static |
Definition at line 89 of file playground_impl_gles.cc.
Referenced by impeller::PlaygroundImplMTL::PlaygroundImplMTL(), and 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 9 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::RenderTarget::CreateOffscreen(), impeller::RenderTarget::CreateOffscreenMSAA(), CreateTextureForDecompressedImage(), DepthAttachmentToString(), 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::ComputePass::SetLabel(), impeller::BlitPass::SetLabel(), impeller::RenderPass::SetLabel(), impeller::RenderTarget::SetupStencilAttachment(), 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 55 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 200 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 81 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::Path::CreatePolyline(), and impeller::Tessellator::Tessellate().
| std::pair< std::vector< Point >, std::vector< uint16_t > > impeller::TessellateConvex | ( | Path::Polyline | polyline | ) |
Given a convex polyline, create a triangle fan structure.
Given a polyline created from a convex filled path, perform a tessellation.
Definition at line 19 of file geometry.cc.
References impeller::Path::Polyline::contours, impeller::Path::Polyline::GetContourPointBounds(), and impeller::Path::Polyline::points.
Referenced by impeller::testing::TEST_P().
| 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 243 of file formats.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, and kTextureExternalOES.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK(), impeller::RenderTarget::IsValid(), and TextureDescriptorToString().
|
constexpr |
Definition at line 283 of file formats.h.
References kRenderTarget.
| 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 287 of file formats.h.
References kRenderTarget, kShaderRead, kShaderWrite, and kUnknown.
Referenced by TextureUsageMaskToString().
|
static |
Definition at line 19 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 56 of file sampler_gles.cc.
References kClampToEdge, kDecal, kMirror, and kRepeat.
Referenced by impeller::SamplerGLES::ConfigureBoundTexture().
|
constexpr |
Definition at line 591 of file formats_vk.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, kTextureExternalOES, and VALIDATION_LOG.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK(), impeller::TextureSourceVK::SetLayout(), and impeller::SwapchainImageVK::SwapchainImageVK().
|
static |
Definition at line 497 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 90 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 55 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 126 of file formats_gles.h.
References kAdd, kReverseSubtract, and kSubtract.
Referenced by ConfigureBlending().
|
static |
Definition at line 506 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 726 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 458 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 263 of file dl_dispatcher.cc.
References impeller::skia_conversions::ToColor().
Referenced by impeller::DlDispatcher::drawAtlas().
|
static |
Definition at line 274 of file dl_dispatcher.cc.
References kColor, impeller::ColorSource::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().
|
staticconstexpr |
Definition at line 82 of file archive_statement.cc.
Referenced by impeller::ArchiveStatement::ReadValue().
|
static |
Definition at line 149 of file command_buffer_mtl.mm.
|
constexpr |
Definition at line 68 of file formats_gles.h.
References kAlways, kEqual, kGreater, kGreaterEqual, kLess, kLessEqual, kNever, and kNotEqual.
Referenced by ConfigureStencil(), and EncodeCommandsInReactor().
|
static |
Definition at line 243 of file proc_table_gles.cc.
References kBuffer, kFrameBuffer, kProgram, kRenderBuffer, kShader, and kTexture.
Referenced by impeller::ProcTableGLES::SetDebugLabel().
|
static |
Definition at line 168 of file reactor_gles.cc.
References kBuffer, kFrameBuffer, kProgram, kRenderBuffer, kTexture, and kUnknown.
|
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 30 of file texture_gles.cc.
References impeller::TextureGLES::kRenderBuffer, kRenderBuffer, impeller::TextureGLES::kRenderBufferMultisampled, impeller::TextureGLES::kTexture, and kTexture.
|
constexpr |
Definition at line 638 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 539 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 33 of file formats_gles.h.
References k16bit, k32bit, kNone, and kUnknown.
Referenced by EncodeCommandsInReactor().
|
static |
Definition at line 174 of file dl_dispatcher.cc.
Referenced by impeller::DlDispatcher::setColorSource(), and ToImageFilter().
|
constexpr |
Definition at line 17 of file formats_gles.h.
References kLine, kLineStrip, kPoint, kTriangle, and kTriangleStrip.
Referenced by EncodeCommandsInReactor().
|
constexpr |
Definition at line 113 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 196 of file formats_mtl.h.
References kAdd, kReverseSubtract, and kSubtract.
Referenced by ToMTLRenderPipelineColorAttachmentDescriptor().
|
inline |
Definition at line 370 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 208 of file formats_mtl.h.
References kAlpha, kBlue, kGreen, and kRed.
Referenced by ToMTLRenderPipelineColorAttachmentDescriptor().
|
constexpr |
Definition at line 233 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.
References kCompute, kFragment, kTessellationControl, kTessellationEvaluation, kUnknown, and kVertex.
|
constexpr |
|
constexpr |
Definition at line 277 of file formats_mtl.h.
References kClear, kDontCare, and kLoad.
Referenced by ConfigureAttachment().
|
constexpr |
Definition at line 75 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::PlaygroundImplMTL::PlaygroundImplMTL(), ToMTLRenderPipelineColorAttachmentDescriptor(), and ToMTLTextureDescriptor().
|
constexpr |
Definition at line 149 of file formats_mtl.h.
References kLine, kLineStrip, kPoint, kTriangle, and kTriangleStrip.
|
static |
Definition at line 102 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 111 of file allocator_mtl.mm.
|
constexpr |
Definition at line 355 of file formats_mtl.h.
References kClampToEdge, kDecal, kMirror, and kRepeat.
|
constexpr |
Definition at line 335 of file formats_mtl.h.
|
constexpr |
Definition at line 345 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 255 of file formats_mtl.h.
References kDecrementClamp, kDecrementWrap, kIncrementClamp, kIncrementWrap, kInvert, kKeep, kSetToReferenceValue, and kZero.
Referenced by ToMTLStencilDescriptor().
|
static |
Definition at line 143 of file allocator_mtl.mm.
|
constexpr |
Definition at line 305 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 374 of file formats_mtl.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, kTextureExternalOES, and VALIDATION_LOG.
Referenced by ToMTLTextureDescriptor().
|
constexpr |
Definition at line 165 of file formats_mtl.h.
|
static |
Definition at line 25 of file sampler_gles.cc.
|
staticconstexpr |
Definition at line 75 of file archive_statement.cc.
Referenced by impeller::SamplerGLES::ConfigureBoundTexture(), and impeller::ArchiveStatement::WriteValue().
|
constexpr |
Definition at line 173 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 309 of file texture_gles.cc.
References kA8UNormInt, kB10G10R10A10XR, kB10G10R10XR, kB10G10R10XRSRGB, kB8G8R8A8UNormInt, kB8G8R8A8UNormIntSRGB, kD24UnormS8Uint, kD32FloatS8UInt, kR16G16B16A16Float, kR32G32B32A32Float, kR8G8B8A8UNormInt, kR8G8B8A8UNormIntSRGB, kR8G8UNormInt, kR8UNormInt, kS8UInt, and kUnknown.
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 156 of file dl_dispatcher.cc.
References kLinear, kNearest, impeller::SamplerDescriptor::label, impeller::SamplerDescriptor::mag_filter, and impeller::SamplerDescriptor::min_filter.
|
static |
Definition at line 132 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 15 of file shader_library_vk.cc.
|
static |
Definition at line 17 of file shader_library_gles.cc.
|
static |
Definition at line 46 of file runtime_stage.cc.
References kCompute, kFragment, kTessellationControl, kTessellationEvaluation, and kVertex.
|
constexpr |
Definition at line 29 of file shader_types.h.
References kCompute, kFragment, kTessellationControl, kTessellationEvaluation, 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 blob_library.cc.
References kCompute, kFragment, and kVertex.
Referenced by impeller::BlobLibrary::BlobLibrary().
|
constexpr |
Definition at line 86 of file blob_writer.cc.
References kCompute, kFragment, and kVertex.
Referenced by impeller::BlobWriter::CreateMapping().
|
constexpr |
Definition at line 46 of file formats_gles.h.
References kDecrementClamp, kDecrementWrap, kIncrementClamp, kIncrementWrap, kInvert, kKeep, kSetToReferenceValue, and kZero.
Referenced by ConfigureStencil().
|
static |
Definition at line 195 of file dl_dispatcher.cc.
References impeller::Paint::kFill, impeller::Paint::kStroke, and UNIMPLEMENTED.
Referenced by impeller::DlDispatcher::setDrawStyle().
|
static |
Definition at line 60 of file device_buffer_gles.cc.
References impeller::DeviceBufferGLES::kArrayBuffer, and impeller::DeviceBufferGLES::kElementArrayBuffer.
Referenced by impeller::DeviceBufferGLES::BindAndUploadDataIfNecessary().
|
static |
Definition at line 45 of file tessellator.cc.
References kAbsGeqTwo, kNegative, kNonZero, kOdd, and kPositive.
Referenced by impeller::Tessellator::Tessellate().
|
constexpr |
Definition at line 183 of file formats_gles.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, and kTextureExternalOES.
Referenced by impeller::TextureGLES::Bind(), and impeller::SamplerGLES::ConfigureBoundTexture().
|
constexpr |
Definition at line 169 of file formats_gles.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, and kTextureExternalOES.
Referenced by impeller::TextureGLES::GenerateMipmap().
|
static |
Definition at line 119 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 14 of file runtime_stage.cc.
References kBoolean, kDouble, kFloat, kHalfFloat, kSampledImage, kSignedByte, kSignedInt, kSignedInt64, kSignedShort, kUnsignedByte, kUnsignedInt, kUnsignedInt64, and kUnsignedShort.
Referenced by impeller::RuntimeStage::RuntimeStage().
Definition at line 172 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 138 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 9 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.
|
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 305 of file formats_vk.h.
References kClear, kDontCare, and kLoad.
Referenced by CreateAttachmentDescription().
|
constexpr |
Definition at line 318 of file formats_vk.h.
References kDontCare, kMultisampleResolve, kStore, and kStoreAndMultisampleResolve.
Referenced by CreateAttachmentDescription().
|
constexpr |
Definition at line 25 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 61 of file formats_vk.h.
References kAdd, kReverseSubtract, and kSubtract.
Referenced by ToVKPipelineColorBlendAttachmentState().
|
staticconstexpr |
Definition at line 19 of file allocator_vk.cc.
References kDevicePrivate, kDeviceTransient, and kHostVisible.
Referenced by CreateBufferPool().
|
constexpr |
Definition at line 73 of file formats_vk.h.
References kAlpha, kBlue, kGreen, and kRed.
Referenced by ToVKPipelineColorBlendAttachmentState().
|
constexpr |
Definition at line 505 of file formats_vk.h.
References kAlways, kEqual, kGreater, kGreaterEqual, kLess, kLessEqual, kNever, and kNotEqual.
Referenced by ToVKPipelineDepthStencilStateCreateInfo(), and ToVKStencilOpState().
|
constexpr |
|
constexpr |
Definition at line 295 of file formats_vk.h.
References impeller::DescriptorSetLayout::binding, impeller::DescriptorSetLayout::descriptor_type, impeller::DescriptorSetLayout::shader_stage, ToVKDescriptorType(), and ToVkShaderStage().
|
constexpr |
Definition at line 273 of file formats_vk.h.
References kImage, kSampledImage, kSampler, kStorageBuffer, and kUniformBuffer.
Referenced by AllocateAndBindDescriptorSets(), and ToVKDescriptorSetLayoutBinding().
|
constexpr |
Definition at line 142 of file pipeline_library_vk.cc.
References kClockwise, and kCounterClockwise.
|
constexpr |
Definition at line 565 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 619 of file formats_vk.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, kTextureExternalOES, and VALIDATION_LOG.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
constexpr |
Definition at line 136 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(), CreateAttachmentDescription(), and impeller::SwapchainImageVK::SwapchainImageVK().
|
staticconstexpr |
Definition at line 166 of file allocator_vk.cc.
References PixelFormatIsDepthStencil().
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
constexpr |
Definition at line 605 of file formats_vk.h.
References kTexture2D, kTexture2DMultisample, kTextureCube, kTextureExternalOES, and VALIDATION_LOG.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
constexpr |
Definition at line 333 of file formats_vk.h.
References k16bit, k32bit, kNone, and kUnknown.
Referenced by EncodeCommand().
|
constexpr |
Definition at line 99 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.
| vk::PipelineDepthStencilStateCreateInfo impeller::ToVKPipelineDepthStencilStateCreateInfo | ( | std::optional< DepthAttachmentDescriptor > | depth, |
| std::optional< StencilAttachmentDescriptor > | front, | ||
| std::optional< StencilAttachmentDescriptor > | back | ||
| ) |
|
constexpr |
Definition at line 348 of file formats_vk.h.
|
constexpr |
Definition at line 358 of file formats_vk.h.
References kLine, kLineStrip, kPoint, kTriangle, and kTriangleStrip.
|
constexpr |
Definition at line 204 of file formats_vk.h.
References kCount1, and kCount4.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK(), and CreateAttachmentDescription().
|
constexpr |
Definition at line 15 of file formats_vk.h.
|
constexpr |
|
constexpr |
Definition at line 215 of file formats_vk.h.
|
constexpr |
Definition at line 226 of file formats_vk.h.
|
constexpr |
Definition at line 254 of file formats_vk.h.
References kCompute, kFragment, kTessellationControl, kTessellationEvaluation, kUnknown, and kVertex.
Referenced by ToVKDescriptorSetLayoutBinding().
|
constexpr |
Definition at line 117 of file formats_vk.h.
References kCompute, kFragment, kTessellationControl, kTessellationEvaluation, kUnknown, and kVertex.
|
constexpr |
Definition at line 527 of file formats_vk.h.
References kDecrementClamp, kDecrementWrap, kIncrementClamp, kIncrementWrap, kInvert, kKeep, kSetToReferenceValue, and kZero.
Referenced by ToVKStencilOpState().
|
constexpr |
Definition at line 550 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 229 of file allocator_vk.cc.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
static |
Definition at line 31 of file allocator_vk.cc.
References kDevicePrivate, kDeviceTransient, and kHostVisible.
Referenced by CreateBufferPool().
|
static |
Definition at line 247 of file allocator_vk.cc.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
staticconstexpr |
Definition at line 224 of file allocator_vk.cc.
Referenced by impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK().
|
static |
Definition at line 273 of file typographer_context_stb.cc.
References DrawGlyph(), impeller::GlyphAtlas::FindFontGlyphBounds(), impeller::GlyphAtlas::GetType(), and impeller::GlyphAtlas::kColorBitmap.
|
static |
Definition at line 188 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 35 of file compute_pass_vk.cc.
References impeller::BackendCast< TextureVK, Texture >::Cast(), impeller::BarrierVK::cmd_buffer, impeller::BarrierVK::dst_access, impeller::BarrierVK::dst_stage, impeller::BarrierVK::new_layout, impeller::Bindings::sampled_images, impeller::TextureVK::SetLayout(), impeller::BarrierVK::src_access, and impeller::BarrierVK::src_stage.
Referenced by UpdateBindingLayouts().
|
static |
|
static |
Definition at line 310 of file render_pass_vk.cc.
References impeller::Command::fragment_bindings, UpdateBindingLayouts(), and impeller::Command::vertex_bindings.
|
static |
Definition at line 54 of file compute_pass_vk.cc.
References impeller::ComputeCommand::bindings, and UpdateBindingLayouts().
|
static |
|
static |
|
static |
Definition at line 317 of file typographer_context_stb.cc.
|
static |
Definition at line 256 of file typographer_context_skia.cc.
Referenced by impeller::TypographerContextSkia::CreateGlyphAtlas(), and impeller::TypographerContextSTB::CreateGlyphAtlas().
|
static |
Definition at line 335 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 272 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 575 of file canvas.cc.
References impeller::Paint::color_source, impeller::ColorSource::GetType(), impeller::ColorSource::kColor, and impeller::ColorSource::kImage.
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 198 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 27 of file shader_library_vk.cc.
References kCompute, kFragment, kTessellationControl, kTessellationEvaluation, kUnknown, and kVertex.
| ProcTableGLES::Resolver impeller::WrappedResolver | ( | const ProcTableGLES::Resolver & | resolver | ) |
Definition at line 35 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 43 of file surface_mtl.mm.
References impeller::ColorAttachment::clear_color, impeller::TextureDescriptor::compression_type, 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 138 of file command_pool_vk.cc.
Referenced by impeller::CommandPoolRecyclerVK::DestroyThreadLocalPools(), and impeller::CommandPoolRecyclerVK::Get().
|
static |
Definition at line 38 of file context_vk.cc.
Referenced by HasValidationLayers().
|
static |
Definition at line 150 of file playground.cc.
Referenced by PlaygroundKeyCallback(), and impeller::Playground::ShouldOpenNewPlaygrounds().
|
constexpr |
Definition at line 37 of file constants.h.
|
constexpr |
Definition at line 49 of file constants.h.
Referenced by impeller::testing::TEST(), and impeller::testing::TEST_P().
|
constexpr |
Definition at line 40 of file constants.h.
|
constexpr |
Definition at line 43 of file constants.h.
|
constexpr |
Definition at line 28 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().
|
staticconstexpr |
Definition at line 15 of file archive_class_registration.cc.
Referenced by impeller::ArchiveClassRegistration::CreateQueryStatement().
|
staticconstexpr |
Definition at line 44 of file color.cc.
Referenced by BlendModeToString().
|
constexpr |
|
staticconstexpr |
Definition at line 25 of file path_component.h.
Referenced by impeller::QuadraticPathComponent::FillPointsForPolyline().
|
constexpr |
Definition at line 10 of file constants.h.
|
constexpr |
Definition at line 55 of file constants.h.
Referenced by impeller::Color::Blend(), ClipColor(), impeller::VerticesGeometry::GetPositionUVBuffer(), and impeller::TextureContents::RenderToSnapshot().
|
static |
Definition at line 17 of file aiks_playground_inspector.cc.
|
constexpr |
Definition at line 11 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 23 of file sigma.h.
Referenced by impeller::Sigma::operator Radius(), and impeller::Radius::operator Sigma().
|
constexpr |
Definition at line 16 of file constants.h.
|
constexpr |
Definition at line 13 of file constants.h.
|
constexpr |
Definition at line 22 of file constants.h.
|
constexpr |
Definition at line 19 of file constants.h.
|
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 17 of file swapchain_impl_vk.cc.
|
constexpr |
Definition at line 28 of file typographer_context_skia.cc.
Referenced by CanAppendToExistingAtlas(), DrawGlyph(), and PairsFitInAtlasOfSize().
|
constexpr |
Definition at line 52 of file constants.h.
Referenced by impeller::testing::TEST_P().
|
constexpr |
Definition at line 25 of file constants.h.
Referenced by impeller::Degrees::operator Radians(), impeller::testing::TEST(), and impeller::testing::TEST_P().
|
constexpr |
Definition at line 31 of file constants.h.
Referenced by impeller::PathBuilder::AddArc(), impeller::testing::TEST(), and impeller::testing::TEST_P().
|
constexpr |
Definition at line 34 of file constants.h.
Referenced by 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 22 of file swapchain_impl_vk.cc.
Referenced by impeller::SwapchainImplVK::AcquireNextDrawable().
|
constexpr |
Definition at line 14 of file blend_filter_contents.h.
Referenced by impeller::AtlasContents::Render().
|
static |
Definition at line 70 of file aiks_playground_inspector.cc.
|
static |
Definition at line 18 of file aiks_playground_inspector.cc.
|
static |
Definition at line 59 of file command_pool_vk.cc.
Referenced by impeller::CommandPoolVK::~CommandPoolVK().
|
staticconstexpr |
Definition at line 39 of file text_frame_skia.cc.
Referenced by MakeTextFrameFromTextBlobSkia().
|
static |
Definition at line 21 of file golden_playground_test_mac.cc.
Referenced by impeller::GoldenPlaygroundTest::SetUp().
|
constexpr |
Definition at line 46 of file constants.h.
|
static |
Definition at line 20 of file aiks_playground_inspector.cc.
Referenced by impeller::AiksInspector::RenderInspector().
|
staticconstexpr |
Definition at line 490 of file formats_vk.h.
Referenced by CreateCompatRenderPassForPipeline().
|
staticconstexpr |
Definition at line 18 of file archive_vector.cc.
Referenced by impeller::ArchiveVector::Read(), and impeller::ArchiveVector::Write().
|
static |
Definition at line 11 of file comparable.cc.
|
static |
Definition at line 14 of file validation.cc.
Referenced by ImpellerValidationBreak(), and ImpellerValidationErrorsSetFatal().
|
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 21 of file geometry_benchmarks.cc.
Referenced by BM_Polyline().
| FML_THREAD_LOCAL fml::ThreadLocalUniquePtr<CommandPoolMap> impeller::tls_command_pool_map |
Definition at line 134 of file command_pool_vk.cc.
Referenced by impeller::CommandPoolRecyclerVK::DestroyThreadLocalPools(), impeller::CommandPoolRecyclerVK::Dispose(), and impeller::CommandPoolRecyclerVK::Get().