| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I41feadb23dce25af321331c459eb159c6141831b
|
|
|
|
|
|
|
| |
Started using ALOGW/E for indicating warnings/errors
Also delete the unused TilesTracker.h
Change-Id: I1986a3057efd4c8e260dbc020e21c02d4d646cf3
|
|
|
|
|
|
|
|
|
|
| |
Remove unused variable from add()
Switch mArea from SkRegion to SkIRect (we only ever used the region's bounds)
Restrict draw's inval checking to within content rect - prevents an issue where
after scaling/transforms the canvas clip can end up slightly negative, which results
in drawing all the pictures in the list even if we only need to draw a partial inval
Change-Id: Ie6e06437af2e326ee7d9286db65858d8886ec15d
|
|
|
|
|
|
| |
Will clean up the JNI in a later CL
Change-Id: I448fe5592026c325c3b2fa1c90f174674bf358b1
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: I35a9fa5e53a83a9c9a920333a3752dd151fbd3b8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This has not been used for years, and due to WebKit merges the
results are not accurate anymore.
The resulting code is cleaner, less likely to create merge conflicts,
and does not give the impression that this can be turned on and
it will still work.
Needs CL:
https://android-git.corp.google.com/g/#/c/148912/
Change-Id: I617ad00c103ab72038371a3203452d2ccec0e50c
|
|\
| |
| |
| | |
as well"
|
| |
| |
| |
| |
| |
| |
| | |
add some clearing logic as well
bug:5145259 bug:5255262
Change-Id: I764e2b67ff15893e853e36185cd610e7293d0129
|
|/
|
|
|
|
|
|
|
|
| |
Some execution path appears to be leaving mBucketSizeX and/or Y set
to 0, causing a divide-by-zero exception. This should only be
feasible when mWidth and mHeight are also 0, but, to keep things
safe, we'll initialize to BUCKET_SIZE instead.
Bug: 5391435
Change-Id: I4e01f980731619e6a6fb70a6eb315c44dd677c7b
|
|
|
|
|
|
|
|
|
| |
As pages grow, limit the number of bucket refills by making them in
chunks of 256 (BUCKET_SIZE). This also fixes a divide-by-zero
error in the earlier update to limit the bucket brigade.
Bug: 5382243
Change-Id: I4ee6eb86c5934175b7cf0f7b69bcfb416d68b967
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added MAX_BUCKET_COUNT_X and _Y so that absurdly large pages, such as
those in LayoutTests, don't run out of memory due to millions of
buckets.
Renamed checkDimensions() to setDimensions() and made inval an
optional parameter so that it can be used more generally within
PictureSet to adjust settings.
Bug: 5300146
Change-Id: Ic6c2dc97085ef38d5782aa005b71a6797d165e24
|
|
|
|
|
|
|
|
|
|
|
|
| |
When splitting the invalidation rect over the tiles that it
invalidates, we need to use the tile's offset to calculate the
top/left co-ordinate in the case that the inval rect only covers
part of the tile.
(See change Ie3b4be68 for the regression)
Bug: 4965594
Change-Id: I6a18f1d3d223f5389b0f4f35fab9e579f499e9da
|
|
|
|
|
|
| |
Bug: 5270617
Change-Id: I5bcdf551a028588aa34956f98039d893d646b362
|
|
|
|
|
|
|
|
|
|
|
|
| |
bug:2522049
allocate textures and tiles using the gldraw count when they were most recently
prepared
remaining issues:
-layers still flicker (presumably from texture stealing)
-layers aren't double buffered yet
Change-Id: Iccdf68326d7d476269d4e3a13903aaab249ee92d
|
|
|
|
|
| |
bug:5218173 bug:5145259
Change-Id: I4518185eb8501dffeef99c08c4ae703c63326e91
|
|
|
|
|
|
|
|
| |
Cluster the invalidations in regular buckets
bug:5218173 bug:5145259
Change-Id: Ie3b4be6848b51ca0306bd163803635f9481ace9b
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set the height of the invalidation rectangle correctly. The last
parameter to SkRect::set should be the bottom of the rectangle,
not the desited height.
Also, clear the content when we navigate between pages to avoid
showing any stale content.
Bug: 5213749
Change-Id: Ic75b9e9d8632750a15a03ebfbd4291fad03fca6a
|
|
|
|
| |
Change-Id: I1a9d8eab3e5259eade94fc9e825ec4d162a1e392
|
|
|
|
|
|
|
|
|
| |
Allow drawing without a CachedRoot (just skip drawing extras in that case)
Initialize PictureSet correctly when using the SkPicture ctor
If delay-setting a layer on glWebViewState, set isAfterFirstLayout to
true to force the baseLayer update.
Change-Id: I9b24fd2e8450acf0138433edce8700c9ec227e52
|
|
|
|
|
|
| |
Serializes only the base layer currently
Change-Id: I5cff216a4fc1b08efe3a7955c616b91114f6bf0b
|
|
|
|
|
|
|
| |
This improves drawing performances on the base surface by
a decent amount.
Change-Id: I59b63c0e5748eed2c729024c11a5da390faefda7
|
|
Change-Id: Ifa871f8320bdb3a09fe189fffecc23f702c394b9
|