mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 1183820 - Expose if cairo uses XRender to GetAzureBackendInfo. r=mattwoodrow
--HG-- extra : rebase_source : 48a9b892e552461dfc9e4f955122240aa08a6db0 extra : histedit_source : 7dd98adff17ab32a39250f7e5bbb94c763e8bc4c
This commit is contained in:
parent
4a1174fffa
commit
934be774e5
@ -264,7 +264,7 @@ public:
|
||||
|
||||
static bool AsyncPanZoomEnabled();
|
||||
|
||||
void GetAzureBackendInfo(mozilla::widget::InfoObject &aObj) {
|
||||
virtual void GetAzureBackendInfo(mozilla::widget::InfoObject &aObj) {
|
||||
aObj.DefineProperty("AzureCanvasBackend", GetBackendName(mPreferredCanvasBackend));
|
||||
aObj.DefineProperty("AzureSkiaAccelerated", UseAcceleratedSkiaCanvas());
|
||||
aObj.DefineProperty("AzureFallbackCanvasBackend", GetBackendName(mFallbackCanvasBackend));
|
||||
|
@ -108,6 +108,13 @@ public:
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef MOZ_X11
|
||||
virtual void GetAzureBackendInfo(mozilla::widget::InfoObject &aObj) override {
|
||||
gfxPlatform::GetAzureBackendInfo(aObj);
|
||||
aObj.DefineProperty("CairoUseXRender", UseXRender());
|
||||
}
|
||||
#endif
|
||||
|
||||
static bool UseFcFontList() { return sUseFcFontList; }
|
||||
|
||||
bool UseImageOffscreenSurfaces() {
|
||||
|
Loading…
Reference in New Issue
Block a user