[client] renderer: add interface for high DPI rendering

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-02-21 19:06:53 +11:00
1 parent 6b26089353
commit b35e19fc27
10 files changed
+18 -15

No files matched your search

+1 -1
View File
@@ -379,7 +379,7 @@ static void egl_update_scale_type(struct Inst * this)
this->scaleType = EGL_DESKTOP_UPSCALE;
}
void egl_on_resize(void * opaque, const int width, const int height,
void egl_on_resize(void * opaque, const int width, const int height, const double scale,
const LG_RendererRect destRect, LG_RendererRotate rotate)
{
struct Inst * this = (struct Inst *)opaque;
+1 -1
View File
@@ -298,7 +298,7 @@ void opengl_on_restart(void * opaque)
this->waiting = true;
}
void opengl_on_resize(void * opaque, const int width, const int height,
void opengl_on_resize(void * opaque, const int width, const int height, const double scale,
const LG_RendererRect destRect, LG_RendererRotate rotate)
{
struct Inst * this = (struct Inst *)opaque;