mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-20 10:02:51 +00:00
GPU painter that uses AccelGfx is slower and way less complete compared to both default Gfx::Painter and Skia painter. It does not make much sense to keep it, considering Skia painter already uses Metal backend on macOS by default and there is an option to enable GPU-accelerated backend on linux.
23 lines
403 B
C++
23 lines
403 B
C++
/*
|
|
* Copyright (c) 2024, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <AK/OwnPtr.h>
|
|
#include <LibGfx/Bitmap.h>
|
|
#include <LibWeb/WebGL/OpenGLContext.h>
|
|
|
|
namespace Web::WebGL {
|
|
|
|
OwnPtr<OpenGLContext> OpenGLContext::create(Gfx::Bitmap& bitmap)
|
|
{
|
|
(void)bitmap;
|
|
return {};
|
|
}
|
|
|
|
void OpenGLContext::clear_buffer_to_default_values()
|
|
{
|
|
}
|
|
|
|
}
|