| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This establishes cc/base/ as discussed in https://groups.google.com/a/chromium.org/d/msg/graphics-dev/wNRsl3BwU_Y/jFXeRQq7e30J.
This patch will likely touch the most locations since it moves cc/switches.h
BUG=190824
TBR=piman@chromium.org, thakis@chromium.org
Review URL: https://codereview.chromium.org/12472028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188681 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This iterator lets one walk through all the tiles in one rect that are not
intersected by another rect. The purpose of this will be to allow you to use a
"last frame rect" as the ignore rect and be able to only update tiles that
won't be updated this frame but were updated last frame.
R=danakj@chromium.org
BUG=171826
Review URL: https://chromiumcodereview.appspot.com/12096005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179270 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Improves performance in the 2.7x range. I added a bunch of local helper types to get this done in a clean way.
BUG=170035
Review URL: https://chromiumcodereview.appspot.com/12016008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178953 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Recording some pages is really expensive, so break up recordings into
very large chunks. Record all pictures that are near-ish to the visible
layer rect. Pictures are only tossed if they are invalidated and far
away.
Since the recording is sparse, creating tiles is now allowed to fail if
the recorded region can't support a particular content rect. Also,
rather than creating all tiles in a tiling on tiling creation, create
only the recorded regions on tiling creation and create more tiles
during commit if a new tile gets recorded. Old tiles are only removed
due to invalidation.
R=danakj@chromium.org
BUG=167213
Review URL: https://chromiumcodereview.appspot.com/11958031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178629 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The function that calculated tile offset from an index was O(n) rather than constant time.
BUG=170035
Review URL: https://chromiumcodereview.appspot.com/11967006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177336 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
R=danakj@chromium.org
BUG=167213
Review URL: https://chromiumcodereview.appspot.com/11887027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177168 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Ding, dong...
BUG=154451
Review URL: https://chromiumcodereview.appspot.com/11410021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167071 0039d316-1c4b-4281-b951-d872f2087c98
|
|
This is a direct port of the TilingData class from the WebKit repo, found in:
Source/WebCore/platform/graphics/gpu/TilingData.h|cpp
Previous commits from non-google folks have been:
- ossy replacing the non-copyable macro (which is not present here).
- hyatt replacing right()/bottom() with maxX()/maxY() (we use right()/bottom() again here, with gfx::Rect instead of IntRect).
- mitz using ASSERT_UNUSED instead of ASSERT guarded on NDEBUG (we use DCHECK instead here).
Covered by existing tests; this replaces the use of WebCore::TilingData with the new cc::TilingData.
R=enne
BUG=147395
Review URL: https://codereview.chromium.org/11359030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165681 0039d316-1c4b-4281-b951-d872f2087c98
|