mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1729816 - part 1: Remove unused gfxPlatform::GetLayerDiagnosticTypes() and related prefs. r=gfx-reviewers,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D125003
This commit is contained in:
parent
bf70c93173
commit
34efa74406
@ -4345,7 +4345,6 @@ XPCOMService_GetGfxInfo
|
||||
??0gfxWindowsPlatform@@QAE@XZ
|
||||
??0gfxPlatform@@IAE@XZ
|
||||
??0GfxInfoCollectorBase@widget@mozilla@@QAE@XZ
|
||||
?GetLayerDiagnosticTypes@gfxPlatform@@QAE?AW4DiagnosticTypes@layers@mozilla@@XZ
|
||||
?InitBackendPrefs@gfxPlatform@@IAEX$$QAUBackendPrefsData@@@Z
|
||||
?DetachedFromEditor@EditorEventListener@mozilla@@IBE_NXZ
|
||||
?ManagerInit@VRManager@gfx@mozilla@@SAXXZ
|
||||
|
@ -2850,7 +2850,6 @@ nscstring_fallible_append_utf16_to_latin1_lossy_impl
|
||||
??0gfxWindowsPlatform@@QEAA@XZ
|
||||
??0gfxPlatform@@IEAA@XZ
|
||||
??0GfxInfoCollectorBase@widget@mozilla@@QEAA@XZ
|
||||
?GetLayerDiagnosticTypes@gfxPlatform@@QEAA?AW4DiagnosticTypes@layers@mozilla@@XZ
|
||||
?InitBackendPrefs@gfxPlatform@@IEAAX$$QEAUBackendPrefsData@@@Z
|
||||
?ParseString@@YAXAEBV?$nsTSubstring@D@@DAEAV?$nsTArray@V?$nsTString@D@@@@@Z
|
||||
?ManagerInit@VRManager@gfx@mozilla@@SAXXZ
|
||||
|
@ -1821,23 +1821,6 @@ gfxFontEntry* gfxPlatform::MakePlatformFont(const nsACString& aFontName,
|
||||
aLength);
|
||||
}
|
||||
|
||||
mozilla::layers::DiagnosticTypes gfxPlatform::GetLayerDiagnosticTypes() {
|
||||
mozilla::layers::DiagnosticTypes type = DiagnosticTypes::NO_DIAGNOSTIC;
|
||||
if (StaticPrefs::layers_draw_borders()) {
|
||||
type |= mozilla::layers::DiagnosticTypes::LAYER_BORDERS;
|
||||
}
|
||||
if (StaticPrefs::layers_draw_tile_borders()) {
|
||||
type |= mozilla::layers::DiagnosticTypes::TILE_BORDERS;
|
||||
}
|
||||
if (StaticPrefs::layers_draw_bigimage_borders()) {
|
||||
type |= mozilla::layers::DiagnosticTypes::BIGIMAGE_BORDERS;
|
||||
}
|
||||
if (StaticPrefs::layers_flash_borders()) {
|
||||
type |= mozilla::layers::DiagnosticTypes::FLASH_BORDERS;
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
||||
BackendPrefsData gfxPlatform::GetBackendPrefs() const {
|
||||
BackendPrefsData data;
|
||||
|
||||
|
@ -654,11 +654,6 @@ class gfxPlatform : public mozilla::layers::MemoryPressureListener {
|
||||
int GetScreenDepth() const { return mScreenDepth; }
|
||||
mozilla::gfx::IntSize GetScreenSize() const { return mScreenSize; }
|
||||
|
||||
/**
|
||||
* Return the layer debugging options to use browser-wide.
|
||||
*/
|
||||
mozilla::layers::DiagnosticTypes GetLayerDiagnosticTypes();
|
||||
|
||||
static void PurgeSkiaFontCache();
|
||||
|
||||
static bool UsesOffMainThreadCompositing();
|
||||
|
@ -6355,21 +6355,6 @@
|
||||
#endif
|
||||
mirror: always
|
||||
|
||||
- name: layers.draw-bigimage-borders
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
- name: layers.draw-borders
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
- name: layers.draw-tile-borders
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
- name: layers.draw-layer-info
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
@ -6429,11 +6414,6 @@
|
||||
#endif
|
||||
mirror: once
|
||||
|
||||
- name: layers.flash-borders
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
# Force all possible layers to be always active layers.
|
||||
- name: layers.force-active
|
||||
type: bool
|
||||
|
Loading…
Reference in New Issue
Block a user