src/gui/painting/qdrawhelper_sse.cpp
changeset 37 758a864f9613
parent 18 2f34d5167611
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
    75 CompositionFunction qt_functionForMode_SSE[numCompositionFunctions] = {
    75 CompositionFunction qt_functionForMode_SSE[numCompositionFunctions] = {
    76     comp_func_SourceOver<QSSEIntrinsics>,
    76     comp_func_SourceOver<QSSEIntrinsics>,
    77     comp_func_DestinationOver<QSSEIntrinsics>,
    77     comp_func_DestinationOver<QSSEIntrinsics>,
    78     comp_func_Clear<QSSEIntrinsics>,
    78     comp_func_Clear<QSSEIntrinsics>,
    79     comp_func_Source<QSSEIntrinsics>,
    79     comp_func_Source<QSSEIntrinsics>,
    80     0,
    80     comp_func_Destination,
    81     comp_func_SourceIn<QSSEIntrinsics>,
    81     comp_func_SourceIn<QSSEIntrinsics>,
    82     comp_func_DestinationIn<QSSEIntrinsics>,
    82     comp_func_DestinationIn<QSSEIntrinsics>,
    83     comp_func_SourceOut<QSSEIntrinsics>,
    83     comp_func_SourceOut<QSSEIntrinsics>,
    84     comp_func_DestinationOut<QSSEIntrinsics>,
    84     comp_func_DestinationOut<QSSEIntrinsics>,
    85     comp_func_SourceAtop<QSSEIntrinsics>,
    85     comp_func_SourceAtop<QSSEIntrinsics>,
    86     comp_func_DestinationAtop<QSSEIntrinsics>,
    86     comp_func_DestinationAtop<QSSEIntrinsics>,
    87     comp_func_XOR<QSSEIntrinsics>
    87     comp_func_XOR<QSSEIntrinsics>,
       
    88     comp_func_Plus,
       
    89     comp_func_Multiply,
       
    90     comp_func_Screen,
       
    91     comp_func_Overlay,
       
    92     comp_func_Darken,
       
    93     comp_func_Lighten,
       
    94     comp_func_ColorDodge,
       
    95     comp_func_ColorBurn,
       
    96     comp_func_HardLight,
       
    97     comp_func_SoftLight,
       
    98     comp_func_Difference,
       
    99     comp_func_Exclusion,
       
   100     rasterop_SourceOrDestination,
       
   101     rasterop_SourceAndDestination,
       
   102     rasterop_SourceXorDestination,
       
   103     rasterop_NotSourceAndNotDestination,
       
   104     rasterop_NotSourceOrNotDestination,
       
   105     rasterop_NotSourceXorDestination,
       
   106     rasterop_NotSource,
       
   107     rasterop_NotSourceAndDestination,
       
   108     rasterop_SourceAndNotDestination
    88 };
   109 };
    89 
   110 
    90 void qt_blend_color_argb_sse(int count, const QSpan *spans, void *userData)
   111 void qt_blend_color_argb_sse(int count, const QSpan *spans, void *userData)
    91 {
   112 {
    92     qt_blend_color_argb_x86<QSSEIntrinsics>(count, spans, userData,
   113     qt_blend_color_argb_x86<QSSEIntrinsics>(count, spans, userData,