Struct wayland_server::protocol::wl_buffer::WlBuffer [] [src]

pub struct WlBuffer { /* fields omitted */ }

Methods

impl WlBuffer
[src]

[src]

compositor releases buffer

Sent when this wl_buffer is no longer used by the compositor. The client is now free to reuse or destroy this buffer and its backing storage.

If a client receives a release event before the frame callback requested in the same wl_surface.commit that attaches this wl_buffer to a surface, then the client is immediately free to reuse the buffer and its backing storage, and does not need a second buffer for the next surface content update. Typically this is possible, when the compositor maintains a copy of the wl_surface contents, e.g. as a GL texture. This is an important optimization for GL(ES) compositors with wl_shm clients.

Trait Implementations

impl Send for WlBuffer
[src]

impl Sync for WlBuffer
[src]

impl Resource for WlBuffer
[src]

[src]

Pointer to the underlying wayland proxy object

[src]

Create an instance from a wayland pointer Read more

[src]

Create an instance from a wayland pointer Read more

[src]

Pointer to the interface representation

[src]

Internal wayland name of this interface

[src]

Max version of this interface supported

[src]

Current version of the interface this resource is instantiated with

[src]

Check if the resource behind this handle is actually still alive

[src]

Check of two handles are actually the same wayland object Read more

[src]

Set a pointer associated as user data on this resource Read more

[src]

Get the pointer associated as user data on this resource Read more

[src]

Unsafely clone this resource handle Read more

[src]

Posts a protocol error to this resource Read more

[src]

Clone this resource handle Read more

[src]

Checks wether this resource and the other are from the same client Read more

impl<ID: 'static> Implementable<ID> for WlBuffer
[src]

The type containing the implementation for the event callbacks

[src]