dxx-rebirth/common/2d
Kp 5bd093b3cb Rework gr_rle_getsize
- Add a limiter to let it return early when the result is predictable.
  The first caller checks only whether the returned value is above a
  threshold.  Once the value goes above that threshold, its precise
  value will not matter, so stop counting and return early.
- Add comments explaining some of the logic.
2021-09-04 12:17:14 +00:00
..
2dsline.cpp Move more symbols into namespaces 2020-12-26 21:17:29 +00:00
bitblt.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
bitmap.cpp Simplify MALLOC invocations 2021-06-28 03:37:48 +00:00
bitmap.h Add color_palette_index type alias, to note palette-related uint8_t 2020-07-16 02:31:04 +00:00
box.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
canvas.cpp Require grs_subcanvas for gr_init_sub_canvas 2021-09-04 12:17:14 +00:00
circle.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
clip.h Expand EXCHG 2015-04-02 02:36:54 +00:00
disc.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
gpixel.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
line.cpp Move more symbols into namespaces 2020-12-26 21:17:29 +00:00
pixel.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
rect.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
rle.cpp Rework gr_rle_getsize 2021-09-04 12:17:14 +00:00
scalec.cpp Switch decode_row from xrange to span to better express its operation 2021-06-28 03:37:51 +00:00