Changeset 70262 in webkit
- Timestamp:
- Oct 21, 2010 1:31:17 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r70257 r70262 1 2010-10-21 No'am Rosenthal <noam.rosenthal@nokia.com> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] When doing rendering through tiling, it seems the tiles are not initialized before rendering 6 https://bugs.webkit.org/show_bug.cgi?id=48070 7 8 No new tests. Auto-tests for Tiled Backing Store should be added, see bug 48082 9 10 * page/Frame.cpp: 11 (WebCore::Frame::tiledBackingStoreBackgroundColor): 12 * page/Frame.h: 13 * platform/graphics/TiledBackingStoreClient.h: 14 * platform/graphics/qt/TileQt.cpp: 15 (WebCore::Tile::updateBackBuffer): 16 1 17 2010-10-21 Carlos Garcia Campos <cgarcia@igalia.com> 2 18 -
trunk/WebCore/page/Frame.cpp
r69587 r70262 880 880 return m_page->chrome()->client()->visibleRectForTiledBackingStore(); 881 881 } 882 883 Color Frame::tiledBackingStoreBackgroundColor() const 884 { 885 if (!m_view) 886 return Color(); 887 return m_view->baseBackgroundColor(); 888 } 882 889 #endif 883 890 -
trunk/WebCore/page/Frame.h
r69039 r70262 238 238 virtual IntRect tiledBackingStoreContentsRect(); 239 239 virtual IntRect tiledBackingStoreVisibleRect(); 240 virtual Color tiledBackingStoreBackgroundColor() const; 240 241 241 242 OwnPtr<TiledBackingStore> m_tiledBackingStore; -
trunk/WebCore/platform/graphics/TiledBackingStoreClient.h
r59611 r70262 31 31 virtual IntRect tiledBackingStoreContentsRect() = 0; 32 32 virtual IntRect tiledBackingStoreVisibleRect() = 0; 33 virtual Color tiledBackingStoreBackgroundColor() const = 0; 33 34 }; 34 35 -
trunk/WebCore/platform/graphics/qt/TileQt.cpp
r55976 r70262 98 98 99 99 if (!m_backBuffer) { 100 if (!m_buffer) 100 if (!m_buffer) { 101 101 m_backBuffer = new QPixmap(m_backingStore->m_tileSize.width(), m_backingStore->m_tileSize.height()); 102 else { 102 m_backBuffer->fill(m_backingStore->m_client->tiledBackingStoreBackgroundColor()); 103 } else { 103 104 // Currently all buffers are updated synchronously at the same time so there is no real need 104 105 // to have separate back and front buffers. Just use the existing buffer.
Note: See TracChangeset
for help on using the changeset viewer.