mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
chore(deps): upgrade all dependencies, toolchains and images (#2825)
This commit is contained in:
1 parent
56e04e7b53
commit
3b552e00ef
510 files changed
+23614
-37473
No files matched your search
@@ -2195,8 +2195,8 @@ mod tests {
|
||||
#[test]
|
||||
fn host_mapped_import_reads_cpu_nv12_and_preserves_source_dmabuf_metadata() {
|
||||
let mut bgra = vec![0u8; 16 * 16 * 4];
|
||||
for pixel in bgra.chunks_exact_mut(4) {
|
||||
pixel.copy_from_slice(&[0, 0, 255, 255]);
|
||||
for pixel in bgra.as_chunks_mut::<4>().0 {
|
||||
*pixel = [0, 0, 255, 255];
|
||||
}
|
||||
let fd = memfd_with_data("fluxer-host-mapped-texture-test", &bgra);
|
||||
let (callback, _observed) = lifecycle_recorder();
|
||||
|
||||
@@ -352,7 +352,7 @@ mod tests {
|
||||
for byte in &dst[..8] {
|
||||
assert_eq!(*byte, 16);
|
||||
}
|
||||
for chunk in dst[8..].chunks_exact(2) {
|
||||
for chunk in dst[8..].as_chunks::<2>().0 {
|
||||
assert_eq!(chunk[0], 128);
|
||||
assert_eq!(chunk[1], 128);
|
||||
}
|
||||
@@ -372,7 +372,7 @@ mod tests {
|
||||
for byte in &dst[..8] {
|
||||
assert!(*byte >= 230 && *byte <= 240, "luma out of range: {byte}");
|
||||
}
|
||||
for chunk in dst[8..].chunks_exact(2) {
|
||||
for chunk in dst[8..].as_chunks::<2>().0 {
|
||||
assert!(
|
||||
chunk[0] >= 124 && chunk[0] <= 132,
|
||||
"U out of range: {}",
|
||||
|
||||
Reference in new issue
Block a user