summaryrefslogtreecommitdiff
path: root/drivers/video/b2r2/b2r2_utils.c
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2012-03-22 13:42:21 +0100
committerPhilippe Langlais <philippe.langlais@linaro.org>2012-03-22 13:42:21 +0100
commit94f074f8f6d6351e11d9cf35acdc608343bdb530 (patch)
treeeefb2e9eabd7d277481094780dd882edba3b575c /drivers/video/b2r2/b2r2_utils.c
parentf327230ca364f355d3ec7c8a365e10787dce5cef (diff)
Revert "b2r2: Add support for blending on background image"stable-ubuntu-ux500-3.3
This reverts commit 6ba571ff2b467d5f2776275f5ab24a335b932864.
Diffstat (limited to 'drivers/video/b2r2/b2r2_utils.c')
-rw-r--r--drivers/video/b2r2/b2r2_utils.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/video/b2r2/b2r2_utils.c b/drivers/video/b2r2/b2r2_utils.c
index 8bb61afdd417..ad0e7a42fa17 100644
--- a/drivers/video/b2r2/b2r2_utils.c
+++ b/drivers/video/b2r2/b2r2_utils.c
@@ -45,13 +45,6 @@ bool b2r2_is_rect_inside_rect(struct b2r2_blt_rect *rect1,
rect1->y + rect1->height <= rect2->y + rect2->height;
}
-bool b2r2_is_rect_gte_rect(struct b2r2_blt_rect *rect1,
- struct b2r2_blt_rect *rect2)
-{
- return rect1->width >= rect2->width &&
- rect1->height >= rect2->height;
-}
-
void b2r2_intersect_rects(struct b2r2_blt_rect *rect1,
struct b2r2_blt_rect *rect2, struct b2r2_blt_rect *intersection)
{