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