Move PixelFormat to the pixels crate

This commit is contained in:
Anthony Ramine 2018-11-19 10:42:50 +01:00
parent faee0b2b0c
commit 2c0acf6b9b
14 changed files with 38 additions and 21 deletions

View file

@ -66,10 +66,9 @@ use js::typedarray::{
ArrayBufferView, CreateWith, Float32, Float32Array, Int32, Int32Array, Uint32Array,
};
use js::typedarray::{TypedArray, TypedArrayElementCreator};
use net_traits::image::base::PixelFormat;
use net_traits::image_cache::ImageResponse;
use offscreen_gl_context::{GLContextAttributes, GLLimits};
use pixels;
use pixels::{self, PixelFormat};
use script_layout_interface::HTMLCanvasDataSource;
use serde::{Deserialize, Serialize};
use servo_config::prefs::PREFS;