Changeset 106627 in webkit
- Timestamp:
- Feb 2, 2012 9:42:14 PM (12 years ago)
- Location:
- trunk/Source/WebKit/efl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/efl/ChangeLog
r106562 r106627 1 2012-02-02 KwangHyuk Kim <hyuki.kim@samsung.com> 2 3 [EFL] Add contentsSize flag into ewk_tiled_backing_store's private data. 4 https://bugs.webkit.org/show_bug.cgi?id=77586 5 6 Reviewed by Andreas Kling. 7 8 As both zoom and content size change are identified by model flag, 9 ewk_tiled_backing_store can not detect the conflict between them. 10 In order to prevent conflict between zoom and contents size change, 11 contentsSize flag is newly added. 12 13 * ewk/ewk_tiled_backing_store.cpp: 14 (_Ewk_Tiled_Backing_Store_Item): 15 (_Ewk_Tiled_Backing_Store_Data): 16 (_ewk_tiled_backing_store_smart_calculate): 17 (ewk_tiled_backing_store_contents_resize): 18 1 19 2012-02-02 Raphael Kubo da Costa <kubo@profusion.mobi> 2 20 -
trunk/Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp
r105240 r106627 107 107 bool model : 1; 108 108 bool offset : 1; 109 bool contentsSize : 1; 109 110 } changed; 110 111 #ifdef DEBUG_MEM_LEAKS … … 1323 1324 ewk_tile_matrix_freeze(priv->model.matrix); 1324 1325 1325 if (priv->changed. model && !priv->changed.size)1326 if (priv->changed.contentsSize) 1326 1327 ewk_tile_matrix_invalidate(priv->model.matrix); 1327 1328 1328 if (!priv->render.suspend && priv->changed.model) {1329 if (!priv->render.suspend && (priv->changed.model || priv->changed.contentsSize)) { 1329 1330 unsigned long columns, rows; 1330 1331 … … 1357 1358 } 1358 1359 1359 if (!priv->render.suspend && priv->changed.model) {1360 if (!priv->render.suspend && (priv->changed.model || priv->changed.contentsSize)) { 1360 1361 _ewk_tiled_backing_store_fill_renderers(priv); 1361 1362 ewk_tile_matrix_resize(priv->model.matrix, … … 1372 1373 ewk_tile_matrix_update(priv->model.matrix, &rect, 1373 1374 priv->view.tile.zoom); 1375 1376 priv->changed.contentsSize = false; 1374 1377 } 1375 1378 … … 1797 1800 priv->model.width = width; 1798 1801 priv->model.height = height; 1799 priv->changed. model= true;1802 priv->changed.contentsSize = true; 1800 1803 1801 1804 DBG("w,h=%d, %d", width, height);
Note: See TracChangeset
for help on using the changeset viewer.