зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1631579 - Remove `webrender::RendererKind` r=gfx-reviewers,kvark
It appears to be unused since 2017 with https://github.com/servo/webrender/pull/1587 Differential Revision: https://phabricator.services.mozilla.com/D71647
This commit is contained in:
Родитель
54007d46a3
Коммит
67c676d9a7
|
@ -212,7 +212,7 @@ pub use crate::frame_builder::ChasePrimitive;
|
|||
pub use crate::prim_store::PrimitiveDebugId;
|
||||
pub use crate::profiler::{ProfilerHooks, set_profiler_hooks};
|
||||
pub use crate::renderer::{
|
||||
AsyncPropertySampler, CpuProfile, DebugFlags, RendererKind, GpuProfile, GraphicsApi,
|
||||
AsyncPropertySampler, CpuProfile, DebugFlags, GpuProfile, GraphicsApi,
|
||||
GraphicsApiInfo, PipelineInfo, Renderer, RendererError, RendererOptions, RenderResults,
|
||||
RendererStats, SceneBuilderHooks, ThreadListener, ShaderPrecacheFlags,
|
||||
MAX_VERTEX_TEXTURE_WIDTH,
|
||||
|
|
|
@ -933,12 +933,6 @@ impl From<TextureTarget> for ImageBufferKind {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub enum RendererKind {
|
||||
Native,
|
||||
OSMesa,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct GpuProfile {
|
||||
pub frame_id: GpuFrameId,
|
||||
|
@ -6721,7 +6715,6 @@ pub struct RendererOptions {
|
|||
pub enable_dithering: bool,
|
||||
pub max_recorded_profiles: usize,
|
||||
pub precache_flags: ShaderPrecacheFlags,
|
||||
pub renderer_kind: RendererKind,
|
||||
/// Enable sub-pixel anti-aliasing if a fast implementation is available.
|
||||
pub enable_subpixel_aa: bool,
|
||||
/// Enable sub-pixel anti-aliasing if it requires a slow implementation.
|
||||
|
@ -6793,7 +6786,6 @@ impl Default for RendererOptions {
|
|||
debug_flags: DebugFlags::empty(),
|
||||
max_recorded_profiles: 0,
|
||||
precache_flags: ShaderPrecacheFlags::empty(),
|
||||
renderer_kind: RendererKind::Native,
|
||||
enable_subpixel_aa: false,
|
||||
force_subpixel_aa: false,
|
||||
clear_color: Some(ColorF::new(1.0, 1.0, 1.0, 1.0)),
|
||||
|
|
Загрузка…
Ссылка в новой задаче