Trait compositing::windowing::WindowMethods[][src]

pub trait WindowMethods {
    fn get_coordinates(&self) -> EmbedderCoordinates;
fn set_animation_state(&self, _state: AnimationState);
fn get_gl_context(&self) -> GlContext;
fn get_native_display(&self) -> NativeDisplay;
fn get_gl_api(&self) -> GlApi;
fn webrender_surfman(&self) -> WebrenderSurfman; }

Required methods

Get the coordinates of the native window, the screen and the framebuffer.

Set whether the application is currently animating. Typically, when animations are active, the window will want to avoid blocking on UI events, and just run the event loop at the vsync interval.

Get the media GL context

Get the media native display

Get the GL api

Get the webrender surfman instance

Implementors