diff options
author | Eric Anholt <eric@anholt.net> | 2015-07-02 13:33:01 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-07-10 09:42:58 -0700 |
commit | c1111710628cc2a9dfaee0d74ea9fceee990095b (patch) | |
tree | b5aad6f994bba94c81556f9dbb75bbd1cc693f21 /glamor/glamor_utils.h | |
parent | c16e086dace81151f399485e5c686617a43d5b94 (diff) |
glamor: Take transforms into account when preparing for a fallback.
This function takes the start x/y and the destination's width/height,
so it only works if there's no transform. We could potentially
transform this box and take its bounds with some rounding, but this at
least gets us to read out enough data.
Note that this does the same overshoot on destination pictures with a
transform attached, but that seems unlikely to be used anyway.
v2: Add XXX comment for the commit message note (Suggested by Michel).
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> (v1)
Reviewed-by: Dave Airlie <airlied@redhat.com> (v1)
Diffstat (limited to 'glamor/glamor_utils.h')
0 files changed, 0 insertions, 0 deletions