Changeset 93693 in webkit


Ignore:
Timestamp:
Aug 23, 2011 9:37:44 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] Change parameter type for some APIs in ewk_tile_matrix.
https://bugs.webkit.org/show_bug.cgi?id=66639

As type of both col and row parameter for ewk_tile_matrix's some APIs listed by this patch
are different from each other and eina_matrixsparse associated with ewk_tile_matrix is now
using unsigned long type for both col and row parameter, row parameter for ewk_tile_matrix
is also better to be specified as unsigned long type.

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2011-08-23
Reviewed by Anders Carlsson.

  • ewk/ewk_tiled_matrix.c:

(ewk_tile_matrix_tile_exact_get):
(ewk_tile_matrix_tile_exact_exists):
(ewk_tile_matrix_tile_new):
(ewk_tile_matrix_tile_update):
(ewk_tile_matrix_tile_update_full):

  • ewk/ewk_tiled_matrix.h:
Location:
trunk/Source/WebKit/efl
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/efl/ChangeLog

    r93685 r93693  
     12011-08-23  KwangHyuk Kim  <hyuki.kim@samsung.com>
     2
     3        [EFL] Change parameter type for some APIs in ewk_tile_matrix.
     4        https://bugs.webkit.org/show_bug.cgi?id=66639
     5
     6        As type of both col and row parameter for ewk_tile_matrix's some APIs listed by this patch
     7        are different from each other and eina_matrixsparse associated with ewk_tile_matrix is now
     8        using unsigned long type for both col and row parameter, row parameter for ewk_tile_matrix
     9        is also better to be specified as unsigned long type.
     10
     11        Reviewed by Anders Carlsson.
     12
     13        * ewk/ewk_tiled_matrix.c:
     14        (ewk_tile_matrix_tile_exact_get):
     15        (ewk_tile_matrix_tile_exact_exists):
     16        (ewk_tile_matrix_tile_new):
     17        (ewk_tile_matrix_tile_update):
     18        (ewk_tile_matrix_tile_update_full):
     19        * ewk/ewk_tiled_matrix.h:
     20
    1212011-08-23  Raphael Kubo da Costa  <kubo@profusion.mobi>
    222
  • trunk/Source/WebKit/efl/ewk/ewk_tiled_matrix.c

    r93683 r93693  
    270270 * @see ewk_tile_matrix_tile_exact_get()
    271271 */
    272 Ewk_Tile *ewk_tile_matrix_tile_exact_get(Ewk_Tile_Matrix *tm, unsigned long col, unsigned int row, float zoom)
     272Ewk_Tile *ewk_tile_matrix_tile_exact_get(Ewk_Tile_Matrix *tm, unsigned long col, unsigned long row, float zoom)
    273273{
    274274    Ewk_Tile *t;
     
    301301 * @see ewk_tile_matrix_tile_exact_get()
    302302 */
    303 Eina_Bool ewk_tile_matrix_tile_exact_exists(Ewk_Tile_Matrix *tm, unsigned long col, unsigned int row, float zoom)
     303Eina_Bool ewk_tile_matrix_tile_exact_exists(Ewk_Tile_Matrix *tm, unsigned long col, unsigned long row, float zoom)
    304304{
    305305    Ewk_Tile *t;
     
    324324 * @param zoom the level to create tile, used to determine tile size.
    325325 */
    326 Ewk_Tile *ewk_tile_matrix_tile_new(Ewk_Tile_Matrix *tm, Evas *evas, unsigned long col, unsigned int row, float zoom)
     326Ewk_Tile *ewk_tile_matrix_tile_new(Ewk_Tile_Matrix *tm, Evas *evas, unsigned long col, unsigned long row, float zoom)
    327327{
    328328    Evas_Coord tw, th;
     
    394394}
    395395
    396 Eina_Bool ewk_tile_matrix_tile_update(Ewk_Tile_Matrix *tm, unsigned long col, unsigned int row, const Eina_Rectangle *update)
     396Eina_Bool ewk_tile_matrix_tile_update(Ewk_Tile_Matrix *tm, unsigned long col, unsigned long row, const Eina_Rectangle *update)
    397397{
    398398    Ewk_Tile *t;
     
    425425}
    426426
    427 Eina_Bool ewk_tile_matrix_tile_update_full(Ewk_Tile_Matrix *tm, unsigned long col, unsigned int row)
     427Eina_Bool ewk_tile_matrix_tile_update_full(Ewk_Tile_Matrix *tm, unsigned long col, unsigned long row)
    428428{
    429429    Ewk_Tile *t;
  • trunk/Source/WebKit/efl/ewk/ewk_tiled_matrix.h

    r93683 r93693  
    3434Ewk_Tile_Unused_Cache *ewk_tile_matrix_unused_cache_get(const Ewk_Tile_Matrix *tm);
    3535
    36 Ewk_Tile *ewk_tile_matrix_tile_exact_get(Ewk_Tile_Matrix *tm, unsigned long col, unsigned int row, float zoom);
    37 Eina_Bool ewk_tile_matrix_tile_exact_exists(Ewk_Tile_Matrix *tm, unsigned long col, unsigned int row, float zoom);
    38 Ewk_Tile *ewk_tile_matrix_tile_nearest_get(Ewk_Tile_Matrix *tm, unsigned long col, unsigned int row, float zoom);
    39 Ewk_Tile *ewk_tile_matrix_tile_new(Ewk_Tile_Matrix *tm, Evas *evas, unsigned long col, unsigned int row, float zoom);
     36Ewk_Tile *ewk_tile_matrix_tile_exact_get(Ewk_Tile_Matrix *tm, unsigned long col, unsigned long row, float zoom);
     37Eina_Bool ewk_tile_matrix_tile_exact_exists(Ewk_Tile_Matrix *tm, unsigned long col, unsigned long row, float zoom);
     38Ewk_Tile *ewk_tile_matrix_tile_nearest_get(Ewk_Tile_Matrix *tm, unsigned long col, unsigned long row, float zoom);
     39Ewk_Tile *ewk_tile_matrix_tile_new(Ewk_Tile_Matrix *tm, Evas *evas, unsigned long col, unsigned long row, float zoom);
    4040Eina_Bool ewk_tile_matrix_tile_put(Ewk_Tile_Matrix *tm, Ewk_Tile *t, double last_used);
    4141
    42 Eina_Bool ewk_tile_matrix_tile_update(Ewk_Tile_Matrix *tm, unsigned long col, unsigned int row, const Eina_Rectangle *update);
    43 Eina_Bool ewk_tile_matrix_tile_update_full(Ewk_Tile_Matrix *tm, unsigned long col, unsigned int row);
     42Eina_Bool ewk_tile_matrix_tile_update(Ewk_Tile_Matrix *tm, unsigned long col, unsigned long row, const Eina_Rectangle *update);
     43Eina_Bool ewk_tile_matrix_tile_update_full(Ewk_Tile_Matrix *tm, unsigned long col, unsigned long row);
    4444void ewk_tile_matrix_tile_updates_clear(Ewk_Tile_Matrix *tm, Ewk_Tile *t);
    4545
Note: See TracChangeset for help on using the changeset viewer.