Chromium Code Reviews
DescriptionWebGraphicsContext3DCommandBufferImpl cleanup:
- Removed unused methods deleteCompositorTexture and createCompositorTexture.
- Removed redundant method copyTextureToCompositor.
Canvas2D thottling fix:
- Removed throttling, because it assumed only one canvas, but there are N canvases calling CopyTextureToParentTexture.
- Flush isn't necessary, because the caller was already flushing (DrawingBufferChromium.cpp).
- We will need a followup bug fix in WebKit that will throttle setInterval/setTimeout dirtying of SharedGraphicsContext. Similar to how WebGL is throttled. (http://code.google.com/p/chromium/issues/detail?id=84781)
GpuScheduler fix:
- Ganesh generates a lot of cheap GL commands, so 100 commands were executing in 50us, causing us to spin on PostTask(ProcessCommands) 60+ times per frame. This change simply tracks the elapsed time after each 100 commands - if the time is less than 2ms, it continues on to the next 100 commands.
(These are independent changes - could be split up if necessary.)
BUG=83628
TEST=trace FishIE demo with 500 fish, check that ProcessCommands is not called ~60 times per frame.
Patch Set 1 #
Total comments: 4
Patch Set 2 : tests and feedback #
Total comments: 6
Patch Set 3 : feedback #
Messages
Total messages: 7 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||