mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Move prepare_pixels helper functions to canvas_traits
This commit is contained in:
parent
86987ed75d
commit
adf363a208
12 changed files with 481 additions and 476 deletions
|
@ -2,9 +2,9 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use super::types::{TexDataType, TexFormat, TexImageTarget};
|
||||
use super::types::TexImageTarget;
|
||||
use super::WebGLValidator;
|
||||
use canvas_traits::webgl::WebGLError::*;
|
||||
use canvas_traits::webgl::{TexDataType, TexFormat, WebGLError::*};
|
||||
use crate::dom::bindings::root::DomRoot;
|
||||
use crate::dom::webglrenderingcontext::WebGLRenderingContext;
|
||||
use crate::dom::webgltexture::WebGLTexture;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue