LibGfx: Use same order for macOS and Vulkan specific code

No functional changes.
This commit is contained in:
Jelle Raaijmakers 2025-01-29 10:26:57 +01:00 committed by Alexander Kalenik
commit 1d81c4d8eb
Notes: github-actions[bot] 2025-01-31 12:29:33 +00:00
3 changed files with 25 additions and 26 deletions

View file

@ -9,14 +9,14 @@
#include <AK/Noncopyable.h>
#include <AK/RefCounted.h>
#ifdef AK_OS_MACOS
# include <LibGfx/MetalContext.h>
#endif
#ifdef USE_VULKAN
# include <LibGfx/VulkanContext.h>
#endif
#ifdef AK_OS_MACOS
# include <LibGfx/MetalContext.h>
#endif
class GrDirectContext;
class SkSurface;
@ -30,11 +30,11 @@ class SkiaBackendContext : public RefCounted<SkiaBackendContext> {
public:
#ifdef USE_VULKAN
static RefPtr<SkiaBackendContext> create_vulkan_context(Gfx::VulkanContext&);
static RefPtr<SkiaBackendContext> create_vulkan_context(VulkanContext&);
#endif
#ifdef AK_OS_MACOS
static RefPtr<Gfx::SkiaBackendContext> create_metal_context(MetalContext&);
static RefPtr<SkiaBackendContext> create_metal_context(MetalContext&);
#endif
SkiaBackendContext() { }