compositor-drm: Add an environmental variable to force RENDER-only mode of compositing
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
c91cf30154
commit
be57857af6
@ -4127,7 +4127,7 @@ init_kms_caps(struct drm_backend *b)
|
|||||||
* to a fraction. For cursors, it's not so bad, so they are
|
* to a fraction. For cursors, it's not so bad, so they are
|
||||||
* enabled.
|
* enabled.
|
||||||
*/
|
*/
|
||||||
if (!b->atomic_modeset)
|
if (!b->atomic_modeset || getenv("WESTON_FORCE_RENDERER"))
|
||||||
b->sprites_are_broken = 1;
|
b->sprites_are_broken = 1;
|
||||||
|
|
||||||
ret = drmSetClientCap(b->drm.fd, DRM_CLIENT_CAP_ASPECT_RATIO, 1);
|
ret = drmSetClientCap(b->drm.fd, DRM_CLIENT_CAP_ASPECT_RATIO, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user