Thanks,
-mf
On 02/07/2017 08:17 PM, Bryce Harrington wrote:
On Tue, Feb 07, 2017 at 11:48:47AM +0200, Pekka Paalanen wrote:
On Mon, 6 Feb 2017 12:57:41 -0500
Micah Fedke wrote:
The v4l2 API can be queried to detect if the input video image is
horizontally or vertically flipped. If the image is
These tests check all combinations of wl_surface::set_buffer_transform
and wl_surface::set_buffer_scale
---
Makefile.am| 7 +-
tests/reference/transform_and_scale-01.png | Bin 0 -> 4133 bytes
tests/reference/transform_and_scale-02.png | Bin 0 -> 2731 bytes
tests
This function writes out a png file containing the visual diff between a
reference image and a screenshot.
---
tests/subsurface-shot-test.c | 24 -
tests/weston-test-client-helper.c | 44 +++
tests/weston-test-client-helper.h | 5 +
This png can be used as a reference image (diff will fail, of course)
for a new test until an appropriate reference image can be generated.
---
tests/reference/blank.png | Bin 0 -> 624 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 tests/reference/blank.png
diff --git
This function takes a screenshot of a provided client, compares it to a
reference image, outputs the result as a PNG, and returns a value
indicating whether the two images matched or not. A difference image is
generated if the screenshot and reference do not match.
---
tests/subsurface-shot-test.
hough.
Micah Fedke (4):
tests: add a blank reference png for test development
tests: promote subsurface-shot-test's write_visual_diff() to a utility
function
tests: promote subsurface-shot-tests's check_screen() to a utility
function
tests: add transform and scale test
---
testing.html | 18 ++
1 file changed, 18 insertions(+)
diff --git a/testing.html b/testing.html
index e5781fe..c005df1 100644
--- a/testing.html
+++ b/testing.html
@@ -184,4 +184,22 @@ way to learn how to leverage these API's is to study some
of the existing tests
(e.g. test
linux_buffer_params_v1 does not support horizontal flipping.
Signed-off-by: Micah Fedke
---
This version addresses Pekka's comments by renaming check_v4l2_control to
check_v4l2_control_bool, removing the len parameter, separating out the logic
tests in check_v4l2_control_bool and fixing spacing issues.
cl
pi
to detect whether its incoming video stream is flipped, and communicate this to
the compositor via linux_buffer_params_v1. Currently it only uses the
ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT, as there is no flag for
horizontal inversion.
Micah Fedke (2):
compositor-drm: don't put
This patch checks the attribute flags on incoming dmabufs and refuses to
put them overlays if they have any of the flags set (currently:
ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT,
ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_INTERLACED and
ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_BOTTOM_FIRST), instead defaulting to
t
The v4l2 API can be queried to detect if the input video image is
horizontally or vertically flipped. If the image is y-flipped, we can
set the ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT flag to notify the
compositor. If the image is h-flipped, we can only print a warning
since linux_buffer_params_
t note that there may be some room for
future optimization in the subsurface damage code above.
This, and the rest of the series,
Reviewed-by: Micah Fedke
--
Micah Fedke
Collabora Ltd.
+44 1223 362967
https://www.collabora.com/
https://twitter.com/collaboraltd
12 matches
Mail list logo