mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -19,9 +19,10 @@ use crate::dom::bindings::reflector::{reflect_dom_object, DomObject, Reflector};
|
|||
use crate::dom::bindings::root::{Dom, DomRoot};
|
||||
use crate::dom::bindings::str::USVString;
|
||||
use crate::dom::globalscope::GlobalScope;
|
||||
use crate::dom::gpudevice::{
|
||||
convert_label, convert_texture_format, convert_texture_view_dimension, GPUDevice,
|
||||
use crate::dom::gpuconvert::{
|
||||
convert_label, convert_texture_format, convert_texture_view_dimension,
|
||||
};
|
||||
use crate::dom::gpudevice::GPUDevice;
|
||||
use crate::dom::gputextureview::GPUTextureView;
|
||||
|
||||
#[dom_struct]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue