components/desktop/thunderbird/patches/firefox-23-skia_gpu.patch
changeset 7018 fdf447a07aff
parent 7017 25872950aa80
child 7020 58ca1f0fa3a7
equal deleted inserted replaced
7017:25872950aa80 7018:fdf447a07aff
     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)