[Webkit-unassigned] [Bug 79871] [BlackBerry] Upstream LayerWebKitThread and its derived classes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 29 10:46:57 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=79871
Rob Buis <rwlbuis at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #129422|review? |review-
Flag| |
--- Comment #2 from Rob Buis <rwlbuis at gmail.com> 2012-02-29 10:46:47 PST ---
(From update of attachment 129422)
View in context: https://bugs.webkit.org/attachment.cgi?id=129422&action=review
Looks good, still some things to improve.
> Source/WebCore/platform/graphics/blackberry/LayerData.h:156
> + bool includeVisibility()
Could be made const.
> Source/WebCore/platform/graphics/blackberry/LayerData.h:192
> + LayerProgramShader m_layerProgramShader;
Could move this one so all the bools can become a bitfield, saving some mem. Not sure how often LayerData is created though.
> Source/WebCore/platform/graphics/blackberry/LayerWebKitThread.cpp:426
> + return m_superlayer;
Why not inline this one?
> Source/WebCore/platform/graphics/blackberry/LayerWebKitThread.h:47
> +#include <wtf/text/StringHash.h>
Are all of these included needed?
> Source/WebCore/platform/graphics/blackberry/LayerWebKitThread.h:156
> + bool isDrawable() { return m_isDrawable; }
const
> Source/WebCore/platform/graphics/blackberry/PluginLayerWebKitThread.cpp:79
> + m_pluginView->updateBuffer(IntRect(IntPoint(0, 0), m_pluginView->size()));
IntPoint::zero
> Source/WebCore/platform/graphics/blackberry/VideoLayerWebKitThread.cpp:58
> + // clear hole punch rect
Not a sentence.
> Source/WebCore/platform/graphics/blackberry/VideoLayerWebKitThread.cpp:90
> + setHolePunchRect(IntRect(0, 0, m_bounds.width(), m_bounds.height()));
Probably more efficient to do IntRect(IntPoint::zero(), m_bounds);
> Source/WebCore/platform/graphics/blackberry/VideoLayerWebKitThread.cpp:94
> + if (frameView)
Can be combined.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list