Changeset 126877 in webkit
- Timestamp:
- Aug 28, 2012, 8:03:30 AM (14 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
Shared/ShareableSurface.h (modified) (1 diff)
-
UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp (modified) (1 diff)
-
UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r126866 r126877 1 2012-08-28 Zeno Albisser <zeno@webkit.org> 2 3 LayerTreeCoordinatorProxy should use uint64_t for surface key. 4 https://bugs.webkit.org/show_bug.cgi?id=95175 5 6 GraphicsSurface tokens are of type uint64_t. 7 Therefore LayerTreeCoordinatorProxy must use the same type to 8 identify a GraphicsSurface/ShareableSurface. 9 10 Reviewed by Noam Rosenthal. 11 12 * Shared/ShareableSurface.h: 13 (WebKit::ShareableSurface::Handle::graphicsSurfaceToken): 14 * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp: 15 (WebKit::LayerTreeCoordinatorProxy::updateTileForLayer): 16 * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h: 17 (LayerTreeCoordinatorProxy): 18 1 19 2012-08-28 Ryuan Choi <ryuan.choi@samsung.com> 2 20 -
trunk/Source/WebKit2/Shared/ShareableSurface.h
r125773 r126877 56 56 57 57 #if USE(GRAPHICS_SURFACE) 58 uint 32_t graphicsSurfaceToken() const { return m_graphicsSurfaceToken; }58 uint64_t graphicsSurfaceToken() const { return m_graphicsSurfaceToken; } 59 59 #endif 60 60 -
trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp
r126837 r126877 67 67 RefPtr<ShareableSurface> surface; 68 68 #if USE(GRAPHICS_SURFACE) 69 int token = updateInfo.surfaceHandle.graphicsSurfaceToken();69 uint64_t token = updateInfo.surfaceHandle.graphicsSurfaceToken(); 70 70 if (token) { 71 HashMap<uint 32_t, RefPtr<ShareableSurface> >::iterator it = m_surfaces.find(token);71 HashMap<uint64_t, RefPtr<ShareableSurface> >::iterator it = m_surfaces.find(token); 72 72 if (it == m_surfaces.end()) { 73 73 surface = ShareableSurface::create(updateInfo.surfaceHandle); -
trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h
r125773 r126877 89 89 WebCore::FloatPoint m_lastSentTrajectoryVector; 90 90 #if USE(GRAPHICS_SURFACE) 91 HashMap<uint 32_t, RefPtr<ShareableSurface> > m_surfaces;91 HashMap<uint64_t, RefPtr<ShareableSurface> > m_surfaces; 92 92 #endif 93 93 };
Note:
See TracChangeset
for help on using the changeset viewer.