summaryrefslogtreecommitdiff
path: root/fb
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-04-19 09:26:10 -0700
committerKeith Packard <keithp@keithp.com>2010-04-19 09:26:10 -0700
commit28b7b2b8d02d975480080865f0dddebcaa2f7968 (patch)
tree275bb660082403874d882e8cbc34841efb0a0435 /fb
parentb3ab978df861c08298f57529e3db980489055c35 (diff)
unifdef -B -DRENDER to always include RENDER code
This patch was created with: git ls-files '*.[ch]' | while read f; do unifdef -B -DRENDER -o $f $f; done Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'fb')
-rw-r--r--fb/fb.h4
-rw-r--r--fb/fbpict.c8
-rw-r--r--fb/fbtrap.c3
3 files changed, 0 insertions, 15 deletions
diff --git a/fb/fb.h b/fb/fb.h
index 02d6c0372..91c91eeb2 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -41,11 +41,7 @@
#include "mi.h"
#include "migc.h"
#include "mibstore.h"
-#ifdef RENDER
#include "picturestr.h"
-#else
-#include "picture.h"
-#endif
#ifdef FB_ACCESS_WRAPPER
diff --git a/fb/fbpict.c b/fb/fbpict.c
index dddfce87f..896d33ebb 100644
--- a/fb/fbpict.c
+++ b/fb/fbpict.c
@@ -31,8 +31,6 @@
#include "fb.h"
-#ifdef RENDER
-
#include "picturestr.h"
#include "mipict.h"
#include "fbpict.h"
@@ -203,8 +201,6 @@ fbCompositeGeneral (CARD8 op,
width, height);
}
-#endif /* RENDER */
-
static pixman_image_t *
create_solid_fill_image (PicturePtr pict)
{
@@ -472,8 +468,6 @@ Bool
fbPictureInit (ScreenPtr pScreen, PictFormatPtr formats, int nformats)
{
-#ifdef RENDER
-
PictureScreenPtr ps;
if (!miPictureInit (pScreen, formats, nformats))
@@ -486,7 +480,5 @@ fbPictureInit (ScreenPtr pScreen, PictFormatPtr formats, int nformats)
ps->AddTraps = fbAddTraps;
ps->AddTriangles = fbAddTriangles;
-#endif /* RENDER */
-
return TRUE;
}
diff --git a/fb/fbtrap.c b/fb/fbtrap.c
index 515e2e1c1..9f5c39f65 100644
--- a/fb/fbtrap.c
+++ b/fb/fbtrap.c
@@ -26,8 +26,6 @@
#include "fb.h"
-#ifdef RENDER
-
#include "picturestr.h"
#include "mipict.h"
#include "renderedge.h"
@@ -160,4 +158,3 @@ fbAddTriangles (PicturePtr pPicture,
}
}
-#endif /* RENDER */