Bug 868556 - We are not using gralloc on b2g anymore - r=vladv

This commit is contained in:
Benoit Jacob 2013-05-03 22:57:18 -04:00
parent 546eacd4ae
commit 009f164aa1
2 changed files with 12 additions and 1 deletions

View File

@ -11,6 +11,17 @@
#include "gfxPoint.h"
#include "gfxASurface.h"
/*
* FIXME [bjacob] *** PURE CRAZYNESS WARNING ***
*
* This #define is actually needed here, because subclasses of ISurfaceAllocator,
* namely ShadowLayerForwarder, will or will not override AllocGrallocBuffer
* depending on whether MOZ_HAVE_SURFACEDESCRIPTORGRALLOC is defined.
*/
#ifdef MOZ_WIDGET_GONK
#define MOZ_HAVE_SURFACEDESCRIPTORGRALLOC
#endif
class gfxSharedImageSurface;
class gfxASurface;

View File

@ -1,7 +1,7 @@
# BMP 1BPP tests
# Images of various sizes
== bmp-size-1x1-1bpp.bmp bmp-size-1x1-1bpp.png
fails-if(B2G) == bmp-size-1x1-1bpp.bmp bmp-size-1x1-1bpp.png
== bmp-size-2x2-1bpp.bmp bmp-size-2x2-1bpp.png
== bmp-size-3x3-1bpp.bmp bmp-size-3x3-1bpp.png
== bmp-size-4x4-1bpp.bmp bmp-size-4x4-1bpp.png