gl-renderer: viewport not taken into account when choosing filtering
For context, I am rendering a window using xwayland's emulated modes, to scale windows to 2x. This all works nicely but the filtering isn't applied.
The transformed window should be filtered using GL_LINEAR
, but weston_view->transform.enabled
is not set so it is using GL_NEAREST
.
Attached a quick patch below which seems to fix things.
0001-HACK-gl-renderer-Take-into-account-viewport-when-cho.patch
cc @daniels