0
Files
src/gpu
Xianzhu Wang 6521075ebc Some minor code improvements around PaintOpBuffer playback
- Add STACK_ALLOCATED() to some classes, which allows automatic
  raw_ptr exclusion;
- Add PlaybackCallbaks to simplify the constructor of PlaybackParams[1],
  to prepare for more callbacks (otherwise the constructor of
  PlaybackParams would need more parameters) for RasterInducingScroll.
- Convert simple structs to aggregated by omitting constructor.

[1] It's unfortunate that PlaybackCallbacks and PlaybackParams can't
    be aggregated due to the strict inline constructor clang plugin
    rule. See https://groups.google.com/a/chromium.org/d/msgid/cxx/CACWgwAY0nQtDFghcZfVQAnf4JSEjWpPsSCZ0ytpsMn8LWjbgyQ%40mail.gmail.com?utm_medium=email&utm_source=footer

Bug: 40517276
Change-Id: I9c1125d3511d8b3772505e86efdd6717e3b3d1c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5381519
Reviewed-by: Fred Mello <fredmello@chromium.org>
Reviewed-by: Chris Bookholt <bookholt@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Victor Miura <vmiura@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277814}
2024-03-25 18:57:32 +00:00
..