pub trait CoordinatorProxyInterface: Send + Sync {
    type ImportImageResponseFut: Future<Output = Result<CoordinatorImportImageResult, Error>> + Send;
    type CreateLayerResponseFut: Future<Output = Result<CoordinatorCreateLayerResult, Error>> + Send;
    type CheckConfigResponseFut: Future<Output = Result<(ConfigResult, Vec<ClientCompositionOp>), Error>> + Send;
    type GetLatestAppliedConfigStampResponseFut: Future<Output = Result<ConfigStamp, Error>> + Send;
    type ImportBufferCollectionResponseFut: Future<Output = Result<CoordinatorImportBufferCollectionResult, Error>> + Send;
    type SetBufferCollectionConstraintsResponseFut: Future<Output = Result<CoordinatorSetBufferCollectionConstraintsResult, Error>> + Send;
    type IsCaptureSupportedResponseFut: Future<Output = Result<CoordinatorIsCaptureSupportedResult, Error>> + Send;
    type StartCaptureResponseFut: Future<Output = Result<CoordinatorStartCaptureResult, Error>> + Send;
    type SetMinimumRgbResponseFut: Future<Output = Result<CoordinatorSetMinimumRgbResult, Error>> + Send;
    type SetDisplayPowerResponseFut: Future<Output = Result<CoordinatorSetDisplayPowerResult, Error>> + Send;

Show 28 methods // Required methods fn import_image( &self, image_metadata: &ImageMetadata, buffer_id: &BufferId, image_id: &ImageId ) -> Self::ImportImageResponseFut; fn release_image(&self, image_id: &ImageId) -> Result<(), Error>; fn import_event(&self, event: Event, id: &EventId) -> Result<(), Error>; fn release_event(&self, id: &EventId) -> Result<(), Error>; fn create_layer(&self) -> Self::CreateLayerResponseFut; fn destroy_layer(&self, layer_id: &LayerId) -> Result<(), Error>; fn set_display_mode( &self, display_id: &DisplayId, mode: &Mode ) -> Result<(), Error>; fn set_display_color_conversion( &self, display_id: &DisplayId, preoffsets: &[f32; 3], coefficients: &[f32; 9], postoffsets: &[f32; 3] ) -> Result<(), Error>; fn set_display_layers( &self, display_id: &DisplayId, layer_ids: &[LayerId] ) -> Result<(), Error>; fn set_layer_primary_config( &self, layer_id: &LayerId, image_metadata: &ImageMetadata ) -> Result<(), Error>; fn set_layer_primary_position( &self, layer_id: &LayerId, transform: Transform, src_frame: &Frame, dest_frame: &Frame ) -> Result<(), Error>; fn set_layer_primary_alpha( &self, layer_id: &LayerId, mode: AlphaMode, val: f32 ) -> Result<(), Error>; fn set_layer_color_config( &self, layer_id: &LayerId, pixel_format: PixelFormat, color_bytes: &[u8] ) -> Result<(), Error>; fn set_layer_image( &self, layer_id: &LayerId, image_id: &ImageId, wait_event_id: &EventId, signal_event_id: &EventId ) -> Result<(), Error>; fn check_config(&self, discard: bool) -> Self::CheckConfigResponseFut; fn apply_config(&self) -> Result<(), Error>; fn get_latest_applied_config_stamp( &self ) -> Self::GetLatestAppliedConfigStampResponseFut; fn apply_config2(&self, signal_fences: Vec<Event>) -> Result<(), Error>; fn enable_vsync(&self, enable: bool) -> Result<(), Error>; fn acknowledge_vsync(&self, cookie: u64) -> Result<(), Error>; fn set_virtcon_mode(&self, mode: VirtconMode) -> Result<(), Error>; fn import_buffer_collection( &self, buffer_collection_id: &BufferCollectionId, buffer_collection_token: ClientEnd<BufferCollectionTokenMarker> ) -> Self::ImportBufferCollectionResponseFut; fn release_buffer_collection( &self, buffer_collection_id: &BufferCollectionId ) -> Result<(), Error>; fn set_buffer_collection_constraints( &self, buffer_collection_id: &BufferCollectionId, buffer_usage: &ImageBufferUsage ) -> Self::SetBufferCollectionConstraintsResponseFut; fn is_capture_supported(&self) -> Self::IsCaptureSupportedResponseFut; fn start_capture( &self, signal_event_id: &EventId, image_id: &ImageId ) -> Self::StartCaptureResponseFut; fn set_minimum_rgb(&self, minimum_rgb: u8) -> Self::SetMinimumRgbResponseFut; fn set_display_power( &self, display_id: &DisplayId, power_on: bool ) -> Self::SetDisplayPowerResponseFut;
}

Required Associated Types§

Required Methods§

source

fn import_image( &self, image_metadata: &ImageMetadata, buffer_id: &BufferId, image_id: &ImageId ) -> Self::ImportImageResponseFut

source

fn release_image(&self, image_id: &ImageId) -> Result<(), Error>

source

fn import_event(&self, event: Event, id: &EventId) -> Result<(), Error>

source

fn release_event(&self, id: &EventId) -> Result<(), Error>

source

fn create_layer(&self) -> Self::CreateLayerResponseFut

source

fn destroy_layer(&self, layer_id: &LayerId) -> Result<(), Error>

source

fn set_display_mode( &self, display_id: &DisplayId, mode: &Mode ) -> Result<(), Error>

source

fn set_display_color_conversion( &self, display_id: &DisplayId, preoffsets: &[f32; 3], coefficients: &[f32; 9], postoffsets: &[f32; 3] ) -> Result<(), Error>

source

fn set_display_layers( &self, display_id: &DisplayId, layer_ids: &[LayerId] ) -> Result<(), Error>

source

fn set_layer_primary_config( &self, layer_id: &LayerId, image_metadata: &ImageMetadata ) -> Result<(), Error>

source

fn set_layer_primary_position( &self, layer_id: &LayerId, transform: Transform, src_frame: &Frame, dest_frame: &Frame ) -> Result<(), Error>

source

fn set_layer_primary_alpha( &self, layer_id: &LayerId, mode: AlphaMode, val: f32 ) -> Result<(), Error>

source

fn set_layer_color_config( &self, layer_id: &LayerId, pixel_format: PixelFormat, color_bytes: &[u8] ) -> Result<(), Error>

source

fn set_layer_image( &self, layer_id: &LayerId, image_id: &ImageId, wait_event_id: &EventId, signal_event_id: &EventId ) -> Result<(), Error>

source

fn check_config(&self, discard: bool) -> Self::CheckConfigResponseFut

source

fn apply_config(&self) -> Result<(), Error>

source

fn get_latest_applied_config_stamp( &self ) -> Self::GetLatestAppliedConfigStampResponseFut

source

fn apply_config2(&self, signal_fences: Vec<Event>) -> Result<(), Error>

source

fn enable_vsync(&self, enable: bool) -> Result<(), Error>

source

fn acknowledge_vsync(&self, cookie: u64) -> Result<(), Error>

source

fn set_virtcon_mode(&self, mode: VirtconMode) -> Result<(), Error>

source

fn import_buffer_collection( &self, buffer_collection_id: &BufferCollectionId, buffer_collection_token: ClientEnd<BufferCollectionTokenMarker> ) -> Self::ImportBufferCollectionResponseFut

source

fn release_buffer_collection( &self, buffer_collection_id: &BufferCollectionId ) -> Result<(), Error>

source

fn set_buffer_collection_constraints( &self, buffer_collection_id: &BufferCollectionId, buffer_usage: &ImageBufferUsage ) -> Self::SetBufferCollectionConstraintsResponseFut

source

fn is_capture_supported(&self) -> Self::IsCaptureSupportedResponseFut

source

fn start_capture( &self, signal_event_id: &EventId, image_id: &ImageId ) -> Self::StartCaptureResponseFut

source

fn set_minimum_rgb(&self, minimum_rgb: u8) -> Self::SetMinimumRgbResponseFut

source

fn set_display_power( &self, display_id: &DisplayId, power_on: bool ) -> Self::SetDisplayPowerResponseFut

Implementors§