ruffle/core
Kamil Jarosz 59c0bcf073 core: Improve EditText's border and background rendering
This patch removes the drawing used for rendering the border and
the background and renders them using primitives instead.

It provides two methods for drawing the border and the background:
* draw_device_text_box -- when device fonts are used,
* draw_text_box -- when fonts are embedded.

Updated expected images in tests as they are closer to FP now:
* text/auto_size/height,
* text/auto_size/return,
* text/auto_size/width,
* visual/shumway_acid_tests/acid_color_0.

For the test avm2/stage3d_texture it's hard to say whether the current
output is closer to FP or not, as FP renders it with a different scale.
However, I have confirmed that there exists a scale at which FP renders
the text fields exactly as Ruffle after this patch.
2024-07-02 23:40:50 +02:00
..
assets chore: Update translations from Crowdin 2024-06-25 00:26:30 +02:00
build_playerglobal build(deps): bump the cargo-minor group across 1 directory with 4 updates 2024-06-25 00:08:16 +02:00
macros build(deps): bump the cargo-minor group across 1 directory with 4 updates 2024-06-25 00:08:16 +02:00
src core: Improve EditText's border and background rendering 2024-07-02 23:40:50 +02:00
Cargo.toml build(deps): bump the cargo-minor group across 1 directory with 7 updates 2024-07-02 01:04:52 +02:00
build.rs core: Added ability to mark stubs inside actionscript 2023-02-07 20:34:59 +01:00