зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1469716 provide identifying handles in CreateWindowSurface() log messages r=rhunt
These identifiers can be compared with messages from logging from nsWindow. Also clarify that this log is not intended to indicate each draw. Differential Revision: https://phabricator.services.mozilla.com/D53387 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
f12302bb4f
Коммит
c4775ee642
|
@ -65,7 +65,7 @@ void WindowSurfaceProvider::CleanupResources() { mWindowSurface = nullptr; }
|
|||
UniquePtr<WindowSurface> WindowSurfaceProvider::CreateWindowSurface() {
|
||||
#ifdef MOZ_WAYLAND
|
||||
if (!mIsX11Display) {
|
||||
LOGDRAW(("Drawing to nsWindow %p using wl_surface\n", (void*)this));
|
||||
LOGDRAW(("Drawing to nsWindow %p will use wl_surface\n", mWidget));
|
||||
return MakeUnique<WindowSurfaceWayland>(mWidget);
|
||||
}
|
||||
#endif
|
||||
|
@ -80,7 +80,7 @@ UniquePtr<WindowSurface> WindowSurfaceProvider::CreateWindowSurface() {
|
|||
|
||||
#ifdef MOZ_WIDGET_GTK
|
||||
if (!mIsShaped && gfxVars::UseXRender()) {
|
||||
LOGDRAW(("Drawing to nsWindow %p using XRender\n", (void*)this));
|
||||
LOGDRAW(("Drawing to Window 0x%lx will use XRender\n", mXWindow));
|
||||
return MakeUnique<WindowSurfaceXRender>(mXDisplay, mXWindow, mXVisual,
|
||||
mXDepth);
|
||||
}
|
||||
|
@ -88,13 +88,13 @@ UniquePtr<WindowSurface> WindowSurfaceProvider::CreateWindowSurface() {
|
|||
|
||||
#ifdef MOZ_HAVE_SHMIMAGE
|
||||
if (!mIsShaped && nsShmImage::UseShm()) {
|
||||
LOGDRAW(("Drawing to nsWindow %p using MIT-SHM\n", (void*)this));
|
||||
LOGDRAW(("Drawing to Window 0x%lx will use MIT-SHM\n", mXWindow));
|
||||
return MakeUnique<WindowSurfaceX11SHM>(mXDisplay, mXWindow, mXVisual,
|
||||
mXDepth);
|
||||
}
|
||||
#endif // MOZ_HAVE_SHMIMAGE
|
||||
|
||||
LOGDRAW(("Drawing to nsWindow %p using XPutImage\n", (void*)this));
|
||||
LOGDRAW(("Drawing to Window 0x%lx will use XPutImage\n", mXWindow));
|
||||
return MakeUnique<WindowSurfaceX11Image>(mXDisplay, mXWindow, mXVisual,
|
||||
mXDepth, mIsShaped);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче