Skip to content
Commit 4090f0eb authored by Robert Mader's avatar Robert Mader Committed by Pekka Paalanen
Browse files

clients/simple-egl: Use INT32_MAX for opaque region

Setting the opaque region correctly is common source of error for
clients that simply want to express that a whole surface is opaque.
This is especially true once buffer_scale and buffer_transform come
into play, as unlike for damage, where buffer_damage is the
encouraged and user friendly way today, opaque regions are always
in logical coordinates.

As faulty opaque regions don't have a visual impact in these cases
but only increase resource consumption, these errors often remain
for long times. See
gstreamer/gstreamer@1e2bc681


for one of many examples.

Give an easy example how to set the opaque region in a conformant
and reliable way.

Signed-off-by: default avatarRobert Mader <robert.mader@collabora.com>
parent e67a0cb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment