Exclude BGRA readPixel tests on Android until bug 438 is resolved.
Review URL: http://codereview.appspot.com/5522053 git-svn-id: http://skia.googlecode.com/svn/trunk@2987 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
25634e08bb
commit
8688e5b7d1
@ -319,8 +319,15 @@ void ReadPixelsTest(skiatest::Reporter* reporter, GrContext* context) {
|
|||||||
static const SkCanvas::Config8888 gReadConfigs[] = {
|
static const SkCanvas::Config8888 gReadConfigs[] = {
|
||||||
SkCanvas::kNative_Premul_Config8888,
|
SkCanvas::kNative_Premul_Config8888,
|
||||||
SkCanvas::kNative_Unpremul_Config8888,
|
SkCanvas::kNative_Unpremul_Config8888,
|
||||||
|
/**
|
||||||
|
* There is a bug in Ganesh (http://code.google.com/p/skia/issues/detail?id=438)
|
||||||
|
* that causes the readback of pixels from BGRA canvas to an RGBA bitmap to
|
||||||
|
* fail. This should be removed as soon as the issue above is resolved.
|
||||||
|
*/
|
||||||
|
#if !defined(SK_BUILD_FOR_ANDROID)
|
||||||
SkCanvas::kBGRA_Premul_Config8888,
|
SkCanvas::kBGRA_Premul_Config8888,
|
||||||
SkCanvas::kBGRA_Unpremul_Config8888,
|
SkCanvas::kBGRA_Unpremul_Config8888,
|
||||||
|
#endif
|
||||||
SkCanvas::kRGBA_Premul_Config8888,
|
SkCanvas::kRGBA_Premul_Config8888,
|
||||||
SkCanvas::kRGBA_Unpremul_Config8888,
|
SkCanvas::kRGBA_Unpremul_Config8888,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user