mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
LibWeb: Remove unused image-rendering param for stacking context
Previously it was accounted for by LibGfx while applying scale transformation, but is no longer needed for Skia.
This commit is contained in:
parent
53ef0e2e88
commit
ee4dd5a17c
Notes:
github-actions[bot]
2024-08-07 16:51:37 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/ee4dd5a17c3 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1002
4 changed files with 0 additions and 4 deletions
|
@ -114,7 +114,6 @@ struct PushStackingContext {
|
|||
Gfx::IntRect source_paintable_rect;
|
||||
// A translation to be applied after the stacking context has been transformed.
|
||||
Gfx::IntPoint post_transform_translation;
|
||||
CSS::ImageRendering image_rendering;
|
||||
StackingContextTransform transform;
|
||||
Optional<StackingContextMask> mask = {};
|
||||
|
||||
|
|
|
@ -304,7 +304,6 @@ void DisplayListRecorder::push_stacking_context(PushStackingContextParams params
|
|||
.post_transform_translation = params.is_fixed_position
|
||||
? Gfx::IntPoint {}
|
||||
: state().translation.translation().to_rounded<int>(),
|
||||
.image_rendering = params.image_rendering,
|
||||
.transform = {
|
||||
.origin = params.transform.origin,
|
||||
.matrix = params.transform.matrix,
|
||||
|
|
|
@ -115,7 +115,6 @@ public:
|
|||
float opacity;
|
||||
bool is_fixed_position;
|
||||
Gfx::IntRect source_paintable_rect;
|
||||
CSS::ImageRendering image_rendering;
|
||||
StackingContextTransform transform;
|
||||
Optional<StackingContextMask> mask = {};
|
||||
};
|
||||
|
|
|
@ -293,7 +293,6 @@ void StackingContext::paint(PaintContext& context) const
|
|||
.opacity = opacity,
|
||||
.is_fixed_position = paintable().is_fixed_position(),
|
||||
.source_paintable_rect = source_paintable_rect,
|
||||
.image_rendering = paintable().computed_values().image_rendering(),
|
||||
.transform = {
|
||||
.origin = transform_origin.scaled(to_device_pixels_scale),
|
||||
.matrix = matrix_with_scaled_translation(transform_matrix, to_device_pixels_scale),
|
||||
|
|
Loading…
Reference in a new issue