1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

LibAccelGfx: Add method to make context active

In the upcoming changes, the AccelGfx context will be used for WebGL, so
we can no longer assume that the WebContent process has a single global
context.
This commit is contained in:
Aliaksandr Kalenik 2024-01-18 20:24:29 +01:00 committed by Andreas Kling
parent 7cd489d6aa
commit aac439edb1
2 changed files with 59 additions and 7 deletions

View file

@ -25,6 +25,12 @@ public:
Context()
{
}
virtual ~Context()
{
}
virtual void activate() = 0;
};
}