summaryrefslogtreecommitdiff
path: root/xddm/display/rop.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-10-25 15:54:46 +0200
committerAlon Levy <alevy@redhat.com>2012-10-25 15:54:46 +0200
commit03a2959e46c8729b41168bf71b985ec41c5e6845 (patch)
tree113a7a483ce9f60d8a61e3a024c7aeb754e54605 /xddm/display/rop.h
parent5020ad9f4a54d632daca3ccbc5522e3d44909c33 (diff)
move xddm driver to xddm subdir
Diffstat (limited to 'xddm/display/rop.h')
-rw-r--r--xddm/display/rop.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/xddm/display/rop.h b/xddm/display/rop.h
new file mode 100644
index 0000000..b0c7ef5
--- /dev/null
+++ b/xddm/display/rop.h
@@ -0,0 +1,42 @@
+/*
+ Copyright (C) 2009 Red Hat, Inc.
+
+ This software is licensed under the GNU General Public License,
+ version 2 (GPLv2) (see COPYING for details), subject to the
+ following clarification.
+
+ With respect to binaries built using the Microsoft(R) Windows
+ Driver Kit (WDK), GPLv2 does not extend to any code contained in or
+ derived from the WDK ("WDK Code"). As to WDK Code, by using or
+ distributing such binaries you agree to be bound by the Microsoft
+ Software License Terms for the WDK. All WDK Code is considered by
+ the GPLv2 licensors to qualify for the special exception stated in
+ section 3 of GPLv2 (commonly known as the system library
+ exception).
+
+ There is NO WARRANTY for this software, express or implied,
+ including the implied warranties of NON-INFRINGEMENT, TITLE,
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+*/
+
+#ifndef _H_ROP
+#define _H_ROP
+
+#define ROP3_DEST (1 << 0)
+#define ROP3_SRC (1 << 1)
+#define ROP3_BRUSH (1 << 2)
+#define ROP3_ALL (ROP3_DEST | ROP3_SRC | ROP3_BRUSH)
+
+typedef struct ROP3Info {
+ UINT8 effect;
+ UINT8 flags;
+ UINT32 method_type;
+ UINT16 method_data;
+} ROP3Info;
+
+extern ROP3Info rops2[];
+
+BOOL BitBltFromDev(PDev *pdev, SURFOBJ *src, SURFOBJ *dest, SURFOBJ *mask, CLIPOBJ *clip,
+ XLATEOBJ *color_trans, RECTL *dest_rect, POINTL src_pos,
+ POINTL *mask_pos, BRUSHOBJ *brush, POINTL *brush_pos, ROP4 rop4);
+#endif