mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Move util::vec::byte_swap to canvas_traits
This commit is contained in:
parent
a5b524d559
commit
e77efb93c1
7 changed files with 19 additions and 25 deletions
|
@ -2,7 +2,8 @@
|
|||
* 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 canvas_traits::{CanvasCommonMsg, CanvasMsg, CanvasPixelData, CanvasData, FromLayoutMsg};
|
||||
use canvas_traits::{CanvasCommonMsg, CanvasData, CanvasMsg, CanvasPixelData};
|
||||
use canvas_traits::{FromLayoutMsg, byte_swap};
|
||||
use euclid::size::Size2D;
|
||||
use gleam::gl;
|
||||
use ipc_channel::ipc::{self, IpcSender, IpcSharedMemory};
|
||||
|
@ -10,7 +11,6 @@ use offscreen_gl_context::{ColorAttachmentType, GLContext, GLLimits, GLContextAt
|
|||
use std::borrow::ToOwned;
|
||||
use std::sync::mpsc::channel;
|
||||
use util::thread::spawn_named;
|
||||
use util::vec::byte_swap;
|
||||
use webrender_traits;
|
||||
|
||||
enum WebGLPaintTaskData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue