mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix: Complete Documentation for RasterStatus::kSkipAndRetry (flutter/engine#44880)
## Description This PR completes the documentation for `RasterStatus::kSkipAndRetry` in the `compositor_context.h` file. The previous comment ended abruptly, leaving ambiguity regarding the behavior when the thread merger is disabled. ### Changes: - Added clarification on the behavior when the thread merger is disabled. - Explained the potential performance implications when threads are not merged. ## Related Issues https://github.com/flutter/flutter/issues/131814 ## Tests No tests were added as this PR only involves documentation changes. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
parent
25873b17bd
commit
d2bfe45c44
@ -40,9 +40,11 @@ enum class RasterStatus {
|
||||
// This is currently used to wait for the thread merger to merge
|
||||
// the raster and platform threads.
|
||||
//
|
||||
// Since the thread merger may be disabled,
|
||||
// Since the thread merger may be disabled, the system will proceed
|
||||
// with separate threads for rasterization and platform tasks,
|
||||
// potentially leading to different performance characteristics.
|
||||
kSkipAndRetry,
|
||||
// Frame has been successfully rasterized, but "there are additional items in
|
||||
// Frame has been successfully rasterized, but there are additional items in
|
||||
// the pipeline waiting to be consumed. This is currently
|
||||
// only used when thread configuration change occurs.
|
||||
kEnqueuePipeline,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user