Bug 1491442 - Add some documentation to mPixelHostingView. r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D38750

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Markus Stange 2019-08-16 01:11:03 +00:00
Родитель 1800bceb3c
Коммит 2e790720bb
1 изменённых файлов: 9 добавлений и 2 удалений

Просмотреть файл

@ -211,8 +211,15 @@ class WidgetRenderingContext;
NSView* mVibrancyViewsContainer; // [STRONG]
NSView* mNonDraggableViewsContainer; // [STRONG]
// The view that does our drawing. This is a subview of self so that it can
// be ordered on top of mVibrancyViewsContainer.
// The view that does our drawing. Always non-null.
// This is a subview of self so that it can be ordered on top of
// mVibrancyViewsContainer. Drawing in this view can be performed in different
// ways:
// If mUsingOMTCompositor is false, drawing is performed on the main thread
// inside the view's drawRect handler. If mUsingOMTCompositor is true,
// mGLContext will be non-null and will be associated with mPixelHostingView,
// and rendering will be performed on the compositor thread into mGLContext's
// primary framebuffer.
PixelHostingView* mPixelHostingView;
// Last pressure stage by trackpad's force click