Changeset 523 for GraphicTest


Ignore:
Timestamp:
Apr 17, 2019, 11:18:41 AM (6 years ago)
Author:
chronos
Message:
Location:
GraphicTest
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/GraphicTest.lpi

    r522 r523  
    5656              <IgnoredMessages idx5024="True"/>
    5757            </CompilerMessages>
    58             <CustomOptions Value="-dopengl
    59 -dGRAPHICS32"/>
     58            <CustomOptions Value="-dOPENGL"/>
    6059          </Other>
    6160        </CompilerOptions>
    6261      </Item2>
    6362      <SharedMatrixOptions Count="2">
    64         <Item1 ID="838068306737" Targets="GR32_L, bgrabitmappack" Modes="Debug" Value="-g -gl -gh -CirotR -O1"/>
    65         <Item2 ID="108912769980" Targets="GR32_L, bgrabitmappack" Modes="Release" Value="-CX -XX -O3"/>
     63        <Item1 ID="838068306737" Targets="GR32_Lazarus, bgrabitmappack" Modes="Debug" Value="-g -gl -gh -CirotR -O1"/>
     64        <Item2 ID="108912769980" Targets="GR32_Lazarus, bgrabitmappack" Modes="Release" Value="-CX -XX -O3"/>
    6665      </SharedMatrixOptions>
    6766    </BuildModes>
     
    222221        <IgnoredMessages idx5024="True"/>
    223222      </CompilerMessages>
    224       <CustomOptions Value="-dOPENGL -dGRAPHICS32"/>
     223      <CustomOptions Value="-dOPENGL"/>
    225224    </Other>
    226225  </CompilerOptions>
  • GraphicTest/Packages/Graphics32/GR32_BlendASM.pas

    r522 r523  
    5656
    5757{$IFDEF TARGET_x86}
    58 function MergeReg_ASM(F, B: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
     58function MergeReg_ASM(F, B: TColor32): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
    5959{$ENDIF}
    6060
  • GraphicTest/Packages/Graphics32/GR32_BlendMMX.pas

    r522 r523  
    4343
    4444{$IFNDEF OMIT_MMX}
    45 function BlendReg_MMX(F, B: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    46 procedure BlendMem_MMX(F: TColor32; var B: TColor32); {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    47 
    48 function BlendRegEx_MMX(F, B, M: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    49 procedure BlendMemEx_MMX(F: TColor32; var B:TColor32; M: TColor32); {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    50 
    51 function BlendRegRGB_MMX(F, B, W: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    52 procedure BlendMemRGB_MMX(F: TColor32; var B: TColor32; W: TColor32); {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    53 
    54 procedure BlendLine_MMX(Src, Dst: PColor32; Count: Integer); {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    55 procedure BlendLineEx_MMX(Src, Dst: PColor32; Count: Integer; M: TColor32); {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    56 
    57 function CombineReg_MMX(X, Y, W: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    58 procedure CombineMem_MMX(F: TColor32; var B: TColor32; W: TColor32); {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    59 procedure CombineLine_MMX(Src, Dst: PColor32; Count: Integer; W: TColor32); {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    60 
    61 procedure EMMS_MMX; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    62 
    63 function LightenReg_MMX(C: TColor32; Amount: Integer): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    64 
    65 function ColorAdd_MMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    66 function ColorSub_MMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    67 function ColorModulate_MMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    68 function ColorMax_EMMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    69 function ColorMin_EMMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    70 function ColorDifference_MMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    71 function ColorExclusion_MMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
    72 function ColorScale_MMX(C, W: TColor32): TColor32; {$IFDEF FPC} assembler; nostackframe; {$ENDIF}
     45function BlendReg_MMX(F, B: TColor32): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
     46procedure BlendMem_MMX(F: TColor32; var B: TColor32); {$IFDEF FPC} assembler; {$ENDIF}
     47
     48function BlendRegEx_MMX(F, B, M: TColor32): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
     49procedure BlendMemEx_MMX(F: TColor32; var B:TColor32; M: TColor32); {$IFDEF FPC} assembler; {$ENDIF}
     50
     51function BlendRegRGB_MMX(F, B, W: TColor32): TColor32; {$IFDEF FPC} assembler;{$ENDIF}
     52procedure BlendMemRGB_MMX(F: TColor32; var B: TColor32; W: TColor32); {$IFDEF FPC} assembler; {$ENDIF}
     53
     54procedure BlendLine_MMX(Src, Dst: PColor32; Count: Integer); {$IFDEF FPC} assembler; {$ENDIF}
     55procedure BlendLineEx_MMX(Src, Dst: PColor32; Count: Integer; M: TColor32); {$IFDEF FPC} assembler; {$ENDIF}
     56
     57function CombineReg_MMX(X, Y, W: TColor32): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
     58procedure CombineMem_MMX(F: TColor32; var B: TColor32; W: TColor32); {$IFDEF FPC} assembler; {$ENDIF}
     59procedure CombineLine_MMX(Src, Dst: PColor32; Count: Integer; W: TColor32); {$IFDEF FPC} assembler; {$ENDIF}
     60
     61procedure EMMS_MMX; {$IFDEF FPC} assembler; {$ENDIF}
     62
     63function LightenReg_MMX(C: TColor32; Amount: Integer): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
     64
     65function ColorAdd_MMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
     66function ColorSub_MMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
     67function ColorModulate_MMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
     68function ColorMax_EMMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
     69function ColorMin_EMMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
     70function ColorDifference_MMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
     71function ColorExclusion_MMX(C1, C2: TColor32): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
     72function ColorScale_MMX(C, W: TColor32): TColor32; {$IFDEF FPC} assembler; {$ENDIF}
    7373{$ENDIF}
    7474
  • GraphicTest/Packages/Graphics32/Packages/GR32_Lazarus.lpk

    r522 r523  
    99      <PathDelim Value="\"/>
    1010      <SearchPaths>
    11         <IncludeFiles Value=".."/>
    1211        <OtherUnitFiles Value=".."/>
    13         <UnitOutputDirectory Value="..\lib\$(TargetCPU)-$(TargetOS)-$(BuildMode)\$(LCLWidgetType)"/>
     12        <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)-$(BuildMode)"/>
    1413      </SearchPaths>
    1514      <Parsing>
Note: See TracChangeset for help on using the changeset viewer.