one_swizzle_to_rule_them_all.patch
branchfirefox115
changeset 1190 2a24a948b5cf
parent 1175 4c6576f9cf04
equal deleted inserted replaced
1189:ba0c97b018a6 1190:2a24a948b5cf
     4 #      Tue Feb 22 09:24:46 2022 +0100
     4 #      Tue Feb 22 09:24:46 2022 +0100
     5 # Node ID 494640792b4677f6462e95b90a54a4e22aeb738b
     5 # Node ID 494640792b4677f6462e95b90a54a4e22aeb738b
     6 # Parent  81832d035e101471dcf52dd91de287268add7a91
     6 # Parent  81832d035e101471dcf52dd91de287268add7a91
     7 imported patch one_swizzle_to_rule_them_all.patch
     7 imported patch one_swizzle_to_rule_them_all.patch
     8 
     8 
     9 Index: firefox-102.0/gfx/webrender_bindings/RenderCompositorSWGL.cpp
     9 Index: firefox-115.0/gfx/webrender_bindings/RenderCompositorSWGL.cpp
    10 ===================================================================
    10 ===================================================================
    11 --- firefox-102.0.orig/gfx/webrender_bindings/RenderCompositorSWGL.cpp
    11 --- firefox-115.0.orig/gfx/webrender_bindings/RenderCompositorSWGL.cpp
    12 +++ firefox-102.0/gfx/webrender_bindings/RenderCompositorSWGL.cpp
    12 +++ firefox-115.0/gfx/webrender_bindings/RenderCompositorSWGL.cpp
    13 @@ -7,6 +7,7 @@
    13 @@ -7,6 +7,7 @@
    14  #include "RenderCompositorSWGL.h"
    14  #include "RenderCompositorSWGL.h"
    15  
    15  
    16  #include "mozilla/gfx/Logging.h"
    16  #include "mozilla/gfx/Logging.h"
    17 +#include "mozilla/gfx/Swizzle.h"
    17 +#include "mozilla/gfx/Swizzle.h"
    18  #include "mozilla/widget/CompositorWidget.h"
    18  #include "mozilla/widget/CompositorWidget.h"
    19  
    19  
    20  #ifdef MOZ_WIDGET_GTK
    20  #ifdef MOZ_WIDGET_GTK
    21 @@ -235,6 +237,13 @@ void RenderCompositorSWGL::CommitMappedB
    21 @@ -242,6 +243,13 @@ void RenderCompositorSWGL::CommitMappedB
    22    }
    22    }
    23    mDT->Flush();
    23    mDT->Flush();
    24  
    24  
    25 +#if MOZ_BIG_ENDIAN()
    25 +#if MOZ_BIG_ENDIAN()
    26 +  // One swizzle to rule them all.
    26 +  // One swizzle to rule them all.