mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Move convert_* functions into gpuconvert.rs (#31521)
* feat: unify convert_* functions across gpu*.rs files #31104 * chore: reorder and format
This commit is contained in:
parent
7ce19f2885
commit
a8170966ec
7 changed files with 365 additions and 339 deletions
|
@ -20,8 +20,11 @@ use crate::dom::bindings::str::USVString;
|
|||
use crate::dom::globalscope::GlobalScope;
|
||||
use crate::dom::gpubuffer::{GPUBuffer, GPUBufferState};
|
||||
use crate::dom::gpucommandbuffer::GPUCommandBuffer;
|
||||
use crate::dom::gpucommandencoder::{convert_ic_texture, convert_image_data_layout};
|
||||
use crate::dom::gpudevice::{convert_texture_size_to_dict, convert_texture_size_to_wgt, GPUDevice};
|
||||
use crate::dom::gpuconvert::{
|
||||
convert_ic_texture, convert_image_data_layout, convert_texture_size_to_dict,
|
||||
convert_texture_size_to_wgt,
|
||||
};
|
||||
use crate::dom::gpudevice::GPUDevice;
|
||||
|
||||
#[dom_struct]
|
||||
pub struct GPUQueue {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue