mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove offscreen_gl_context dependency from canvas_traits and script.
This commit is contained in:
parent
0f3108ce79
commit
3121f42d52
11 changed files with 85 additions and 29 deletions
|
@ -30,14 +30,13 @@ use crate::dom::webgltexture::WebGLTexture;
|
|||
use crate::dom::webgluniformlocation::WebGLUniformLocation;
|
||||
use crate::dom::window::Window;
|
||||
/// https://www.khronos.org/registry/webgl/specs/latest/2.0/webgl.idl
|
||||
use canvas_traits::webgl::WebGLVersion;
|
||||
use canvas_traits::webgl::{GLContextAttributes, WebGLVersion};
|
||||
use dom_struct::dom_struct;
|
||||
use euclid::Size2D;
|
||||
use js::jsapi::{JSContext, JSObject};
|
||||
use js::jsval::JSVal;
|
||||
use js::rust::CustomAutoRooterGuard;
|
||||
use js::typedarray::ArrayBufferView;
|
||||
use offscreen_gl_context::GLContextAttributes;
|
||||
use script_layout_interface::HTMLCanvasDataSource;
|
||||
use std::ptr::NonNull;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue