projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f7da59
)
test: Add some more colors to the color table in composite.c
author
Søren Sandmann Pedersen
<ssp@redhat.com>
Tue, 5 Oct 2010 15:05:25 +0000
(11:05 -0400)
committer
Søren Sandmann Pedersen
<ssp@redhat.com>
Mon, 11 Oct 2010 16:06:20 +0000
(12:06 -0400)
Specifically, add transparent black and superluminescent white with
alpha = 0.
test/composite.c
patch
|
blob
|
history
diff --git
a/test/composite.c
b/test/composite.c
index
216046f
..
5cdc521
100644
(file)
--- a/
test/composite.c
+++ b/
test/composite.c
@@
-54,10
+54,12
@@
struct format_t
static const color_t colors[] =
{
{ 1.0, 1.0, 1.0, 1.0 },
+ { 1.0, 1.0, 1.0, 0.0 },
+ { 0.0, 0.0, 0.0, 1.0 },
+ { 0.0, 0.0, 0.0, 0.0 },
{ 1.0, 0.0, 0.0, 1.0 },
{ 0.0, 1.0, 0.0, 1.0 },
{ 0.0, 0.0, 1.0, 1.0 },
- { 0.0, 0.0, 0.0, 1.0 },
{ 0.5, 0.0, 0.0, 0.5 },
};