projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0cb48a
)
pixman-access.c: Remove some unused macros
author
Søren Sandmann Pedersen
<ssp@redhat.com>
Thu, 1 Mar 2012 07:24:54 +0000
(
02:24
-0500)
committer
Søren Sandmann Pedersen
<ssp@redhat.com>
Fri, 2 Mar 2012 04:49:51 +0000
(23:49 -0500)
The macros related to palette entries:
RGB15_TO_ENTRY,
RGB24_TO_ENTRY,
RGB24_TO_ENTRY_Y
are not used anywhere.
pixman/pixman-access.c
patch
|
blob
|
history
diff --git
a/pixman/pixman-access.c
b/pixman/pixman-access.c
index 189b19150ebb17992afee50f53c21dcdf45c7ceb..6743887d04a6850423789a69725a990b5f1c6dcc 100644
(file)
--- a/
pixman/pixman-access.c
+++ b/
pixman/pixman-access.c
@@
-45,15
+45,6
@@
(((s) >> 6) & 0x03e0) | \
(((s) >> 9) & 0x7c00))
-#define RGB15_TO_ENTRY(mif,rgb15) \
- ((mif)->ent[rgb15])
-
-#define RGB24_TO_ENTRY(mif,rgb24) \
- RGB15_TO_ENTRY (mif,CONVERT_RGB24_TO_RGB15 (rgb24))
-
-#define RGB24_TO_ENTRY_Y(mif,rgb24) \
- ((mif)->ent[CONVERT_RGB24_TO_Y15 (rgb24)])
-
/* Fetch macros */
#ifdef WORDS_BIGENDIAN