[Webkit-unassigned] [Bug 95758] [chromium] Adjust texture priorities in preparation of impl-thread eviction of only some textures
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 5 15:57:33 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=95758
--- Comment #19 from Adrienne Walker <enne at google.com> 2012-09-05 15:57:47 PST ---
View in context: https://bugs.webkit.org/attachment.cgi?id=162316&action=review
> Source/WebCore/platform/graphics/chromium/cc/CCPriorityCalculator.cpp:34
> +static const int kUiDrawsToRootSurface = -1;
> +static const int kVisibleDrawsToRootSurface = 0;
These named constants are way better.
style nit: In general, WebKit style is not to use kFoo for named static variables. Usually this would just be like "visibleDrawsToRootSurface" and not "kVisibleDrawsToRootSurface".
style nit: Please don't use whitespace to vertically align anything.
> Source/WebCore/platform/graphics/chromium/cc/CCPriorityCalculator.cpp:46
> +static const int kSmallAnimatedLayer = 1000512;
nit: maybe kNotVisibleBase + 512?
--
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