summaryrefslogtreecommitdiff
path: root/lib/libXrender/doc/libXrender.txt
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2016-11-03 10:55:17 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2016-11-03 10:55:17 +0000
commit72fa6bf32d2ac2e7c8f638ba2d390f1fb79ff68e (patch)
treecba1069dd611f903c7037c0992c5b51b40fb8f57 /lib/libXrender/doc/libXrender.txt
parent17628f52ac9082bf73f4ecead3e2df385b3e58e2 (diff)
Update to libXrender 0.9.10
Diffstat (limited to 'lib/libXrender/doc/libXrender.txt')
-rw-r--r--lib/libXrender/doc/libXrender.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libXrender/doc/libXrender.txt b/lib/libXrender/doc/libXrender.txt
index 27cc75d72..753ee9886 100644
--- a/lib/libXrender/doc/libXrender.txt
+++ b/lib/libXrender/doc/libXrender.txt
@@ -84,7 +84,8 @@ as a separate argument which marks the valid entries.
2.4 Colors
The core protocol XColor type doesn't include an alpha component, so Xrender
-has a separate type.
+has a separate type. Note that XRender expects premultiplied alpha in all
+cases except with the gradient operations.
typedef struct {
unsigned short red;
@@ -526,6 +527,8 @@ conceptually built.
7.1 Composite
XRenderComposite exposes the RenderComposite protocol request directly.
+If a format with alpha is used, make sure it is premultiplied into the
+color channels.
void
XRenderComposite (Display *dpy,