diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-18 21:43:14 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-21 20:00:32 +0300 |
commit | 471ec64de83b21316cd7f4d86a9337f4d017a907 (patch) | |
tree | 927c04c711fb0639f77e99348d9f3c2dbb59c505 /lib/drmtest.h | |
parent | e98a06d593ba879a5292451812be773b4157fe21 (diff) |
lib/drmtest: Add kmstest_paint_color_alpha()
kmstest_paint_color_alpha() just like kmstest_paint_color() except you
also get to specify the alpha channel.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'lib/drmtest.h')
-rw-r--r-- | lib/drmtest.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h index 3a3900ef..609e7d84 100644 --- a/lib/drmtest.h +++ b/lib/drmtest.h @@ -363,6 +363,8 @@ void kmstest_remove_fb(int fd, struct kmstest_fb *fb_info); cairo_t *kmstest_get_cairo_ctx(int fd, struct kmstest_fb *fb); void kmstest_paint_color(cairo_t *cr, int x, int y, int w, int h, double r, double g, double b); +void kmstest_paint_color_alpha(cairo_t *cr, int x, int y, int w, int h, + double r, double g, double b, double a); void kmstest_paint_color_gradient(cairo_t *cr, int x, int y, int w, int h, int r, int g, int b); void kmstest_paint_test_pattern(cairo_t *cr, int width, int height); |