mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Get the servo
crate building with the new WebRender
This commit is contained in:
parent
6b9924bec4
commit
e57e2121b2
6 changed files with 28 additions and 14 deletions
|
@ -21,7 +21,7 @@ use std::time::Duration;
|
|||
use style_traits::DevicePixel;
|
||||
use webrender_api::ScrollLocation;
|
||||
use webrender_api::units::{DeviceIntPoint, DeviceIntRect, DeviceIntSize};
|
||||
use webrender_api::units::{DevicePoint, FramebufferIntSize};
|
||||
use webrender_api::units::DevicePoint;
|
||||
use webvr::VRServiceManager;
|
||||
use webvr_traits::WebVRMainThreadHeartbeat;
|
||||
|
||||
|
@ -191,7 +191,7 @@ pub struct EmbedderCoordinates {
|
|||
/// Size of the native window.
|
||||
pub window: (DeviceIntSize, DeviceIntPoint),
|
||||
/// Size of the GL buffer in the window.
|
||||
pub framebuffer: FramebufferIntSize,
|
||||
pub framebuffer: DeviceIntSize,
|
||||
/// Coordinates of the document within the framebuffer.
|
||||
pub viewport: DeviceIntRect,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue