| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[viz] Optimize SharedImageFormat set usage in Flatland and GL utils
- In gpu/command_buffer/service/gl_utils.cc:
Use the base::flat_set initializer list constructor directly for
mappable_formats instead of through an intermediate vector.
- In FlatlandSurfaceFactory and FlatlandSysmemBufferCollection:
Update the initialization of kSupportedFormats to use the flat_set
initializer list constructor directly.
These sites previously used base::MakeFlatSet with a temporary
std::vector. Since base::MakeFlatSet takes its input container by const
ref, this resulted in an unnecessary vector being created and copied.
Note: Using base::MakeFixedFlatSet for these format lists would be
preferable for performance, but it's currently not possible because
viz::SharedImageFormat lacks constexpr comparison operators.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |