equal
deleted
inserted
replaced
|
1 Returns an error if big endian. We probably don't need to worry about this |
|
2 since we don't use Skia gpu. |
|
3 Seems sparc specific. To be investigated. |
|
4 |
|
5 diff --git a/gfx/skia/skia/include/gpu/GrTypes.h b/gfx/skia/skia/include/gpu/GrTypes.h |
|
6 --- a/gfx/skia/skia/include/gpu/GrTypes.h |
|
7 +++ b/gfx/skia/skia/include/gpu/GrTypes.h |
|
8 @@ -309,9 +309,9 @@ |
|
9 static const int kGrPixelConfigCnt = kLast_GrPixelConfig + 1; |
|
10 |
|
11 // Aliases for pixel configs that match skia's byte order. |
|
12 -#ifndef SK_CPU_LENDIAN |
|
13 - #error "Skia gpu currently assumes little endian" |
|
14 -#endif |
|
15 +// #ifndef SK_CPU_LENDIAN |
|
16 +// #error "Skia gpu currently assumes little endian" |
|
17 +// #endif |
|
18 #if SK_PMCOLOR_BYTE_ORDER(B,G,R,A) |
|
19 static const GrPixelConfig kSkia8888_GrPixelConfig = kBGRA_8888_GrPixelConfig; |
|
20 #elif SK_PMCOLOR_BYTE_ORDER(R,G,B,A) |