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

fn get_coordinates(&self) -> EmbedderCoordinates[src]

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

fn set_animation_state(&self, _state: AnimationState)[src]

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.

fn get_gl_context(&self) -> GlContext[src]

Get the media GL context

fn get_native_display(&self) -> NativeDisplay[src]

Get the media native display

fn get_gl_api(&self) -> GlApi[src]

Get the GL api

fn webrender_surfman(&self) -> WebrenderSurfman[src]

Get the webrender surfman instance

Loading content...

Implementors

Loading content...