12011-04-20 Nat Duca <nduca@chromium.org>
2
3 Reviewed by NOBODY (OOPS!).
4
5 [chromium] Fix artefacts in compositor HUD when resizing
6 https://bugs.webkit.org/show_bug.cgi?id=58969
7
8 HUD was using the tiler program and not setting the texture
9 transform. The HUD would thus draw with a texture transform based
10 on the last tile drawn, leading sometimes to distortion.
11
12 * platform/graphics/chromium/LayerRendererChromium.cpp:
13 (WebCore::LayerRendererChromium::initializeSharedObjects):
14 (WebCore::LayerRendererChromium::cleanupSharedObjects):
15 * platform/graphics/chromium/LayerRendererChromium.h:
16 (WebCore::LayerRendererChromium::headsUpDisplayProgram):
17 * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
18 (WebCore::CCHeadsUpDisplay::draw):
19 * platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
20