mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
#10211: Stop re-exporting webrender_traits WebGL types from canvas_traits
This commit is contained in:
parent
e148571812
commit
d778562844
15 changed files with 98 additions and 88 deletions
|
@ -2,7 +2,7 @@
|
|||
* 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, CanvasWebGLMsg, FromLayoutMsg};
|
||||
use canvas_traits::{CanvasCommonMsg, CanvasMsg, CanvasPixelData, CanvasData, FromLayoutMsg};
|
||||
use euclid::size::Size2D;
|
||||
use gleam::gl;
|
||||
use ipc_channel::ipc::{self, IpcSender, IpcSharedMemory};
|
||||
|
@ -42,7 +42,7 @@ impl WebGLPaintThread {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn handle_webgl_message(&self, message: CanvasWebGLMsg) {
|
||||
pub fn handle_webgl_message(&self, message: webrender_traits::WebGLCommand) {
|
||||
debug!("WebGL message: {:?}", message);
|
||||
match self.data {
|
||||
WebGLPaintTaskData::WebRender(ref api, id) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue