[Spice-commits] common/region.h

Jonathon Jongsma jjongsma at kemper.freedesktop.org
Fri Feb 3 17:09:39 UTC 2017


 common/region.h |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit c9ecd0e29e22edc40aa454642b696d6274c1b829
Author: Jonathon Jongsma <jjongsma at redhat.com>
Date:   Thu Feb 2 15:10:44 2017 -0600

    Document REGION_TEST_* bitmasks
    
    Acked-by: Frediano Ziglio <fziglio at redhat.com>
    Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>

diff --git a/common/region.h b/common/region.h
index 4619406..9f92b32 100644
--- a/common/region.h
+++ b/common/region.h
@@ -29,8 +29,11 @@ SPICE_BEGIN_DECLS
 
 typedef pixman_region32_t QRegion;
 
+/* the left region is not contained entirely within the right region */
 #define REGION_TEST_LEFT_EXCLUSIVE (1 << 0)
+/* the right region is not contained entirely within the left region */
 #define REGION_TEST_RIGHT_EXCLUSIVE (1 << 1)
+/* the regions overlap */
 #define REGION_TEST_SHARED (1 << 2)
 #define REGION_TEST_ALL \
     (REGION_TEST_LEFT_EXCLUSIVE | REGION_TEST_RIGHT_EXCLUSIVE | REGION_TEST_SHARED)


More information about the Spice-commits mailing list