[EFL] Add matrix list to reuse tile matrix for each different zoom level.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Nov 2011 05:52:34 +0000 (05:52 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Nov 2011 05:52:34 +0000 (05:52 +0000)
commit74bfab9fb8d785ed894fcecda36cd9c3ca420ded
tree4a33a086a34fa33413b417731e5c5f50e8484188
parentf909bcd279182ed929f7d62e628dd5ff988a849e
[EFL] Add matrix list to reuse tile matrix for each different zoom level.
https://bugs.webkit.org/show_bug.cgi?id=68595

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2011-11-17
Reviewed by Kenneth Rohde Christiansen.

Add matrix list to keep each tile matrix corresponding to each different zoom level when zoom level is changed.
Then backing store can reuse tile matrix by getting it from this matrix list.

* ewk/ewk_tiled_backing_store.cpp:
(_ewk_tiled_backing_store_model_matrix_create):
(_ewk_tiled_backing_store_smart_calculate):
(_ewk_tiled_backing_store_zoom_set_internal):
* ewk/ewk_tiled_matrix.cpp:
(ewk_tile_matrix_entry_get):
(_ewk_tile_matrix_cell_free):
(_ewk_tile_matrix_tile_free):
(ewk_tile_matrix_new):
(ewk_tile_matrix_zoom_level_set):
(ewk_tile_matrix_invalidate):
(ewk_tile_matrix_free):
(ewk_tile_matrix_tile_new):
* ewk/ewk_tiled_matrix.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/efl/ChangeLog
Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp
Source/WebKit/efl/ewk/ewk_tiled_matrix.cpp
Source/WebKit/efl/ewk/ewk_tiled_matrix.h