components/desktop/firefox/patches/firefox30-05-skia_gpu.patch
changeset 5527 611b2d6efdfe
parent 5526 570ac9aab8b2
child 5528 f2f5af510081
equal deleted inserted replaced
5526:570ac9aab8b2 5527:611b2d6efdfe
     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 --- mozilla-esr31/gfx/skia/trunk/include/gpu/GrTypes.h.orig	2015-06-04 17:42:51.134028157 -0700
       
     6 +++ mozilla-esr31/gfx/skia/trunk/include/gpu/GrTypes.h	2015-06-04 17:42:51.145109963 -0700
       
     7 @@ -285,9 +285,9 @@
       
     8  static const int kGrPixelConfigCnt = kLast_GrPixelConfig + 1;
       
     9  
       
    10  // Aliases for pixel configs that match skia's byte order.
       
    11 -#ifndef SK_CPU_LENDIAN
       
    12 -    #error "Skia gpu currently assumes little endian"
       
    13 -#endif
       
    14 +// #ifndef SK_CPU_LENDIAN
       
    15 +//    #error "Skia gpu currently assumes little endian"
       
    16 +// #endif
       
    17  #if SK_PMCOLOR_BYTE_ORDER(B,G,R,A)
       
    18      static const GrPixelConfig kSkia8888_GrPixelConfig = kBGRA_8888_GrPixelConfig;
       
    19  #elif SK_PMCOLOR_BYTE_ORDER(R,G,B,A)