Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
MetalSurface.h File Reference

donner::gpu::metal::MetalSurface - presentation to a Core Animation Metal layer. More...

import <Metal/Metal.h>
import <QuartzCore/CAMetalLayer.h>
import <QuartzCore/CATransaction.h>
#include <memory>
#include <optional>
#include "donner/gpu/Descriptors.h"
#include "donner/gpu/GpuResult.h"
Include dependency graph for MetalSurface.h:

Classes

class  donner::gpu::metal::MetalSurface
 Presentation state of one surface: the Core Animation layer it presents to, the configuration it presents under, and the drawable the current frame is holding. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Detailed Description

donner::gpu::metal::MetalSurface - presentation to a Core Animation Metal layer.

Objective-C++ rather than pure C++, so it is included by the Metal backend's implementation files and not by the MetalDevice header that C++ tests include.