Ignore:
Timestamp:
Apr 17, 2019, 10:42:18 AM (5 years ago)
Author:
chronos
Message:
  • Modified: Updated Graphics32 library.
Location:
GraphicTest/Packages/Graphics32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/Packages/Graphics32

    • Property svn:ignore set to
      lib
  • GraphicTest/Packages/Graphics32/GR32.inc

    r450 r522  
    174174  ----------------
    175175
    176      If defined SSE2 optimizations are not used (omitted)
    177 
    178    For faster pixel/color processing, SSE2 can be used which results in a huge
    179    performance boost over PUREPASCAL code or native assembler code.
     176    If defined SSE2 optimizations are not used (omitted)
     177
     178  For faster pixel/color processing, SSE2 can be used which results in a huge
     179  performance boost over PUREPASCAL code or native assembler code.
    180180
    181181*)
    182182
    183183  {-$DEFINE OMIT_SSE2}
     184
     185
     186(*
     187  Symbol: USEGR32GAMMA
     188  --------------------
     189
     190    If defined the polygon rasterizer will use the GR32 gamma correction LUT.
     191
     192  Disable for a slight performance increase.
     193*)
     194
     195{$DEFINE USEGR32GAMMA}
     196
     197
     198
     199(*
     200  Symbol: CHANGENOTIFICATIONS
     201  ---------------------------
     202
     203    If defined the polygon rasterizer will trigger change notifications.
     204
     205  Undefining this will avoid bounding box computations, which may
     206  improve performance slightly.
     207*)
     208
     209{$DEFINE CHANGENOTIFICATIONS}
     210
     211
     212
     213(*
     214  Symbol: USESTACKALLOC
     215  ---------------------
     216
     217    If defined stack allocation routines will be used in some functions.
     218
     219  Allocating memory on the stack is usually more efficient than using the
     220  memory manager. If a routine uses StackAllock/StackFree then it should
     221  always be wrapped inside a {$W+}...{$W-} block in order to generate
     222  a stack frame.
     223
     224  NOTE: Undefine this symbol if you get stack overflow errors.
     225*)
     226
     227{-$DEFINE USESTACKALLOC}
     228
     229(*
     230  Symbol: RGBA_FORMAT
     231  -------------------
     232
     233     Assume RGBA pixel format instead of BGRA (used by e.g. OpenGL.)
     234*)
     235
     236{-$DEFINE RGBA_FORMAT}
     237
     238(*
     239  Symbol: NOHINTING
     240  -----------------
     241
     242    Disables font hinting by default when using TextToPath() method.
     243
     244  It is usually preferrable to disable hinting when using a high quality
     245  polygon renderer like VPR. However, hinting can sometimes improve
     246  visual quality when rendering small text (text is adjusted to pixel
     247  boundaries which makes it more crisp.)
     248*)
     249
     250{$DEFINE NOHINTING}
     251
     252
     253(*
     254  Symbol: NOHORIZONTALHINTING
     255  ---------------------------
     256
     257    Disables horizontal font hinting when using TextToPath() method.
     258
     259  The following should not be used in conjunction with NOHINTING.
     260  It will attempt to address the problem of extreme font hinting in the
     261  GDI by disabling horizontal, but keeping vertical hinting.
     262*)
     263
     264{-$DEFINE NOHORIZONTALHINTING}
     265
     266
     267(*
     268  Symbol: USEKERNING
     269  -----------------
     270
     271    Enables font kerning when using TextToPath() method.
     272
     273  Kerning is the process of adjusting the spacing between characters in a
     274  proportional font, usually to achieve a visually pleasing result. However,
     275  parsing for kerning pairs is quite expensive in terms of CPU usage while the
     276  effect is often very little. Thus kerning is not enabled by default.
     277*)
     278
     279{-$DEFINE USEKERNING}
     280
     281
     282{-$DEFINE TEST_BLENDMEMRGB128SSE4}
Note: See TracChangeset for help on using the changeset viewer.