bound sampler buffer

This commit is contained in:
Gregory Terzian 2019-03-31 15:02:01 +08:00
parent fcd6beb608
commit 0780298b80
8 changed files with 36 additions and 18 deletions

View file

@ -778,8 +778,8 @@ pub enum ConstellationMsg {
ForwardEvent(PipelineId, CompositorEvent),
/// Requesting a change to the onscreen cursor.
SetCursor(Cursor),
/// Enable the sampling profiler.
EnableProfiler(Duration),
/// Enable the sampling profiler, with a given sampling rate and max total sampling duration.
EnableProfiler(Duration, Duration),
/// Disable the sampling profiler.
DisableProfiler,
}