Ignore:
Timestamp:
May 14, 2020, 11:10:24 AM (4 years ago)
Author:
chronos
Message:
  • Modified: Removed drawing methods files and classes to use Method prefix.
  • Added: TBitmap.Scanline and Move draw methods.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/Forms/UFormMain.pas

    r524 r543  
    118118
    119119uses
    120   UFormDraw, ULazIntfImageColorsCopy, ULazIntfImageColorsNoCopy, UCanvasPixels,
    121   UCanvasPixelsUpdateLock, UBGRABitmapPaintBox, UBitmapRawImageDataPaintBox,
    122   UBitmapRawImageData, UBitmapRawImageDataMove, UDummyMethod, UOpenGLMethod,
    123   UOpenGLPBOMethod{$IFDEF GRAPHICS32}, UGraphics32Method{$ENDIF};
     120  UFormDraw, UMethodLazIntfImageColorsCopy, UMethodLazIntfImageColorsNoCopy, UMethodCanvasPixels,
     121  UMethodCanvasPixelsUpdateLock, UMethodBGRABitmap, UMethodBitmapRawImageDataPaintBox,
     122  UMethodBitmapRawImageData, UMethodBitmapRawImageDataMove, UMethodDummy, UMethodOpenGL,
     123  UMethodOpenGLPBO{$IFDEF GRAPHICS32}, UGraphics32Method{$ENDIF},
     124  UMethodBitmapScanline, UMethodMove;
    124125
    125126{ TFormMain }
     
    404405procedure TFormMain.RegisterDrawMethods;
    405406begin
    406   RegisterDrawMethod(TCanvasPixels);
    407   RegisterDrawMethod(TCanvasPixelsUpdateLock);
    408   RegisterDrawMethod(TLazIntfImageColorsCopy);
    409   RegisterDrawMethod(TLazIntfImageColorsNoCopy);
    410   RegisterDrawMethod(TBitmapRawImageData);
    411   RegisterDrawMethod(TBitmapRawImageDataPaintBox);
    412   RegisterDrawMethod(TBitmapRawImageDataMove);
    413   RegisterDrawMethod(TBGRABitmapPaintBox);
     407  RegisterDrawMethod(TMethodCanvasPixels);
     408  RegisterDrawMethod(TMethodCanvasPixelsUpdateLock);
     409  RegisterDrawMethod(TMethodLazIntfImageColorsCopy);
     410  RegisterDrawMethod(TMethodLazIntfImageColorsNoCopy);
     411  RegisterDrawMethod(TMethodBitmapRawImageData);
     412  RegisterDrawMethod(TMethodBitmapRawImageDataPaintBox);
     413  RegisterDrawMethod(TMethodBitmapRawImageDataMove);
     414  RegisterDrawMethod(TMethodBitmapScanline);
     415  RegisterDrawMethod(TMethodBGRABitmap);
    414416  {$IFDEF GRAPHICS32}
    415   RegisterDrawMethod(TGraphics32Method);
     417  RegisterDrawMethod(TMethodGraphics32);
    416418  {$ENDIF}
    417419  {$IFDEF OPENGL}
    418   RegisterDrawMethod(TOpenGLMethod);
    419   RegisterDrawMethod(TOpenGLPBOMethod);
     420  RegisterDrawMethod(TMethodOpenGL);
     421  RegisterDrawMethod(TMethodOpenGLPBO);
    420422  {$ENDIF}
    421   RegisterDrawMethod(TDummyMethod);
     423  RegisterDrawMethod(TMethodMove);
     424  RegisterDrawMethod(TMethodDummy);
    422425end;
    423426
Note: See TracChangeset for help on using the changeset viewer.