Changeset 91741 in webkit
- Timestamp:
- Jul 25, 2011 10:11:47 PM (13 years ago)
- Location:
- trunk/Source/WebKit/efl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/efl/ChangeLog
r91659 r91741 1 2011-07-25 JungJik Lee <jungjik.lee@samsung.com> 2 3 [EFL] Remove unused code in ewk_tile_model.c 4 https://bugs.webkit.org/show_bug.cgi?id=64521 5 6 Remove unused code in ewk_tile_model.c. Dirty flag is not referenced anywhere. 7 8 Reviewed by Daniel Bates. 9 10 * ewk/ewk_tiled_model.c: 11 (ewk_tile_unused_cache_clear): 12 (ewk_tile_unused_cache_flush): 13 (ewk_tile_unused_cache_tile_get): 14 (ewk_tile_unused_cache_tile_put): 15 1 16 2011-07-25 Grzegorz Czajkowski <g.czajkowski@samsung.com> 2 17 -
trunk/Source/WebKit/efl/ewk/ewk_tiled_model.c
r89905 r91741 517 517 int references; 518 518 unsigned int frozen; 519 Eina_Bool dirty:1;520 519 }; 521 520 … … 613 612 tuc->memory.used = 0; 614 613 tuc->entries.count = 0; 615 tuc->dirty = EINA_FALSE;616 614 } 617 615 … … 707 705 * Don't need to sort any more. 708 706 */ 709 710 if (tuc->dirty)711 tuc->dirty = EINA_FALSE;712 707 713 708 done = 0; … … 761 756 762 757 /** 763 * Flag cache as dirty.764 *765 * If cache is dirty then next flush operations will have to recompute766 * weight and sort again to find the best tiles to expire.767 *768 * One must call this function when tile properties that may change769 * likeness of tile to be flushed change, like Tile::stats.770 */771 void ewk_tile_unused_cache_dirty(Ewk_Tile_Unused_Cache *tuc)772 {773 tuc->dirty = EINA_TRUE;774 }775 776 /**777 758 * Freeze cache to not do maintenance tasks. 778 759 * … … 838 819 tuc->entries.list = eina_list_remove_list(tuc->entries.list, e); 839 820 free(entry); 840 // TODO assume dirty for now, but may it's not,841 // if the item was at the beginning of the queue842 tuc->dirty = EINA_TRUE;843 821 844 822 return EINA_TRUE; … … 890 868 tuc->entries.count++; 891 869 tuc->memory.used += sizeof(Ewk_Tile) + t->bytes; 892 tuc->dirty = EINA_TRUE;893 870 894 871 return EINA_TRUE;
Note: See TracChangeset
for help on using the changeset viewer.