History log of /external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
750f81c3eb609bfd132182bbbb9b467455175498 06-Jun-2012 Teng-Hui Zhu <ztenghui@google.com> Add fast drawing path for repeat background image.

In the slow draw path, we are drawing the small background image one by one.
Now in the fast path, we can use the GL shader to repeat the iamges.

bug:6579681

Change-Id: I8ab413bdd073cb867002b77b36d4a1361290ecb2
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
bfd7e70d96a769e5d62fb5c9148b5c810a8bef65 24-May-2012 Chris Craik <ccraik@google.com> Use Surface areas to compute tile usage

Previously we used the surface's first layer's area, which is often incorrect in
the case of significant layer merging.

bug:6545187
Change-Id: Ied3e5e3cd894b145ed905f8ba83649b3c4f3b1dd
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
377dc9f6b46a2ac0f968d9ee8d3c7916f3bf6904 18-May-2012 Nicolas Roard <nicolasroard@google.com> Fix invalidations sent to framework

bug:6479200 bug:6323847 bug:4124445
Change-Id: I1a4058ba6c69d3e285b6274d99a6eafcbf1cdc6f
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
55ff9f5ac537f2b11ae997f1029bdccb87008825 11-May-2012 Chris Craik <ccraik@google.com> Defer low res tile rendering to once/second

bug:6434846
Change-Id: I5ba981e6a3e154a1e99873d8fd5317b8ce7bb73b
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
425ef23631e3468c61a5740dd4e4bae3052cec48 12-May-2012 Chris Craik <ccraik@google.com> Fix stale tile problem

bug:6483791

Update tile painter of outstanding operations
Always schedule a paint operation if we can't update an outstanding one
Remove old interruption code, as it's no longer used

Change-Id: Ibcdb142d3d9b4ee7a52c78b5c121056089913211
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
9e3ead124cc10fcc888a8be7df9949d3d4ba1bb7 03-May-2012 Teng-Hui Zhu <ztenghui@google.com> Unify the naming of rectangles used for draw.

The rects are referring to the same rect under different coordinates,
so we just prefix the coordinates' name to differentiate the rects.
This is pure refactor, no functional change.
bug:6338456

Change-Id: Ic072a4f5aa56a25751e0151a697c0e31bca94ef5
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
e859a34171f2a36877d95197d118d962078f8aa0 27-Apr-2012 John Reck <jreck@google.com> Rewrite PictureSet with TURBO!

This changes how partial invals are done by adding a hybrid mode.

What we used to do is generate a SkPicture for the new area. This
SkPicture would possibly be larger than the actual inval, depending
on various merge rules (more SkPictures == slower to draw a tile)

The new code rewrites PictureSet entirely, preserving many of the old rules
but cleans up the code and adds the concept of a "PrerenderedInval". This is
a partial inval that WebKit has rasterized. By having WebKit produce both
a SkPicture and a SkBitmap, we avoid needing to play back the picture and
avoid overdrawing. We take this SkBitmap, and simply update the front
textures with it. This gives us full partial invals through the entire
system without hitting any driver bugs, and with minimal copies. And while
the SkPicture may be larger than the inval, the SkBitmap that is rasterized
is not - it matches the area webkit has said is dirty.

Change-Id: Ieb7ecc9db0d4f679102fda004a43399f9b319ebc
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
485445e9a624fe92ca04a1d0e92c1f71aaf8cd8f 26-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Support partial draw in terms of a rect.

In this way, we can cover any internal rect area of the tiles.

bug:6338952

Change-Id: If236a7f6ad82a3f9126a692ca5b08240a3631f88
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
32ce41e0241790f20e63cafea4d3c1db87423eec 20-Apr-2012 Chris Craik <ccraik@google.com> Don't overdraw TileGrids

Given the visible area info, we can just tune the shader and matrix to draw
partial tile at the edge of TileGrids. This could save a lot of GPU time.

Change-Id: I1a45aa9a3a76ab5894096828bfff83057b1c9272
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
e080317b90534632e8be18dc8d5e9a51554b444a 18-Apr-2012 Chris Craik <ccraik@google.com> prevent double TileGrid preparation

bug:6346848

also renamed TileGrid* variables for clarity

Change-Id: Ie0e56a6e1e85db426c4944b03125248cd6a647c0
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
3efc67e0caf0b63fe0350d6896d2cbc08661f5d7 17-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Enable point sample when the texel and pixel is 1:1 mapping.

Change-Id: I532ad6b038d3b141bd212c8c408533fec0e9616e
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
893264ea664be9af3ac64e24116045b51df6f031 16-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Move the matrix support to rely on the new framework clip info"
868c42d56aae84ed4cd33f9de0d93132e1483ddc 10-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Move the matrix support to rely on the new framework clip info

In this new way, we don't need to worry about the animation offset, b/c it is
in the clip rect.
Also add the matrix support for video layer.

bug:5684832

Change-Id: I08e22ca042e425f8f7af935b60e04f2a4dbc52df
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
64d72d82692e48f595e7a31ac2a1680f11d9186b 13-Apr-2012 Chris Craik <ccraik@google.com> remove several unneeded variables/parameters

Change-Id: I862487e8700a408e9e2f7f4dc7d034674ac454d0
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
72ae6b87e6a35b6bea03035afa3fe21284033444 11-Apr-2012 Chris Craik <ccraik@google.com> Log tiles correctly for the base surface

bug:6324663
Change-Id: I8dae021b98a1f721d2282bdb7490668a12eb0cf3
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
083c893085f553eb655abcfffbfaccd06a48943d 11-Apr-2012 Chris Craik <ccraik@google.com> Merge "Treat image texture TileGrids as non-base surfaces"
ceac2217dad840ce8d690923219b51787083bb44 11-Apr-2012 Chris Craik <ccraik@google.com> Treat image texture TileGrids as non-base surfaces

Was ignoring transform calculation

bug:6317028
Change-Id: I9d5d491ef9eb853535e18a8ad10ab387d77e2d80
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
77a63f12c44ce6ef9e69cb9a2e104fc625d96cac 09-Apr-2012 Chris Craik <ccraik@google.com> Don't render expanded bounds if useMinimalMemory set

Extracted TilesManager instance locally, and standardized the extraction naming.

Change-Id: Ia6ba1013bc6502f7c3a49d5dbf5d74739d997d2e
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
ca1e910446353672503d5251c28cc7384018932a 07-Apr-2012 Chris Craik <ccraik@google.com> disable expanded bounds when highEndGfx=false

also make prefetch bounds only additionally expand in the Y direction

bug:6273774
bug:6299994
Change-Id: I65d981a9e01adb605deff403c338deebcbf5e8ec
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
2e510fd5b5a30f1315c272d44ae3aa4cba355498 06-Apr-2012 Nicolas Roard <nicolasroard@google.com> Reorganize platform/graphics/android

Change-Id: Idc67155cfa99784dcd931e705336bfa063ecae46
/external/webkit/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp