mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-02 04:48:27 +00:00
Simplify accelerated texture and rectangle fills
There's no need to split the areas to span lines.
This commit is contained in:
parent
dde0ebe201
commit
247074b5e7
3 changed files with 41 additions and 51 deletions
|
|
@ -411,7 +411,6 @@ mod software_renderer {
|
|||
i16,
|
||||
i16,
|
||||
i16,
|
||||
i16,
|
||||
&CppInternalTexture,
|
||||
u32,
|
||||
u8,
|
||||
|
|
@ -465,7 +464,6 @@ mod software_renderer {
|
|||
y: i16,
|
||||
width: i16,
|
||||
height: i16,
|
||||
span_y: i16,
|
||||
texture: Texture<'_>,
|
||||
colorize: u32,
|
||||
alpha: u8,
|
||||
|
|
@ -478,7 +476,6 @@ mod software_renderer {
|
|||
y,
|
||||
width,
|
||||
height,
|
||||
span_y,
|
||||
&CppInternalTexture {
|
||||
bytes: texture.bytes.as_ptr(),
|
||||
bytes_len: texture.bytes.len(),
|
||||
|
|
@ -527,7 +524,6 @@ mod software_renderer {
|
|||
i16,
|
||||
i16,
|
||||
i16,
|
||||
i16,
|
||||
&CppInternalTexture,
|
||||
u32,
|
||||
u8,
|
||||
|
|
@ -581,7 +577,6 @@ mod software_renderer {
|
|||
y: i16,
|
||||
width: i16,
|
||||
height: i16,
|
||||
span_y: i16,
|
||||
texture: Texture<'_>,
|
||||
colorize: u32,
|
||||
alpha: u8,
|
||||
|
|
@ -594,7 +589,6 @@ mod software_renderer {
|
|||
y,
|
||||
width,
|
||||
height,
|
||||
span_y,
|
||||
&CppInternalTexture {
|
||||
bytes: texture.bytes.as_ptr(),
|
||||
bytes_len: texture.bytes.len(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue