| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Implementation is similar to PicturePile::drawWithClipRecursive. When an opaque
paint operation (currently either a DrawBitmapRect/Pattern or FillRect) will
cover up a section of the output, avoid painting things underneath it.
Track this covered region by recursing backwards through paint operations, and
clipping out opaque areas when operations beneath them paint.
Change-Id: Id3ae7508aada27f90246feb689d9e7f53f03ae32
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 6952980
GraphicsContext::createOffscreenContext creates an instance of both
PlatformGraphicsSkia and GraphicsContext for ImageBuffer. However,
ImageBuffer will only call delete on the GraphicsContext. In normal
GC usage, the PlatformGraphicsContext's lifecycle is longer than the
GCs, and is cleaned up by itself. This will result in leaking the
PlatformGraphicsSkia context, though. We need to make sure to call
delete on the PlatformGraphicsSkia context if we were initialized
with the deleteUs() flag, which is used to indicate just this scenario.
Change-Id: I73aa623182a039bd75d378d198cc3bd2d4d185ef
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bug:6947623
Multiple shaders share the opacity variable, so reset the cache when swapping
programs.
Change-Id: I752575d6089077aa8034c171c5c016e5e4e80606
|
| |
| |
| |
| |
| |
| | |
Bug: 6789548
Change-Id: I2c6de52862f71881fbb885680a9f917d87d293df
|
| |
| |
| |
| |
| |
| | |
Everything goes through either PlatformGraphicsContext or recordingCanvas()
Change-Id: I375a4294d2e8d4b467b70c6b8a7f0b96f402f252
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
tiles are rendered black"
* commit 'dd5962d2534b8c3cc215492c8dcf463e923f73c2':
Fix browser rendering issue: pure color tiles are rendered black
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
rendered black"
* commit '47387cc7716048dcea1cc5f9bf37da65d38e10be':
Fix browser rendering issue: pure color tiles are rendered black
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The “pure color tile” optimization finds the pure-color tiles and
then draws the tiles simply with the color (otherwise the texture).
But the RGBA color pointer type is char, which may overflow when
the value is larger than 127. In such case, the tiles in question
are rendered black, because of the wrong color. This bug is fixed
by defining the pointer as unsigned char.
Change-Id: I5c7214423fa6961e707bde72f0e18c610374745d
Author: Yuyang Du <yuyang.du@intel.com>
Signed-off-by: Yuyang Du <yuyang.du@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I88dff91a9840c4705c9153cf03d3c6951fcee02a
|
| |_|/
|/| |
| | |
| | | |
Change-Id: I7819ec6a86bf8a0ec9e9033907b68a4aafa1cf22
|
| | |
| | |
| | |
| | |
| | |
| | | |
Save 24 bytes per GraphicsOperation, yay!
Change-Id: I6719836b376ffeb99657a882a03d60d172d76705
|
| | |
| | |
| | |
| | | |
Change-Id: I9afb489c55a7acfdc35cfe8655d46ce47923b3df
|
| | |
| | |
| | |
| | | |
Change-Id: I5b6872bc37eefded7decae767fc39f1cef858dac
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Cherry pick from master
Change-Id: I0ef32777f33104d440459d9d4d3c0d61f75a11a2
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug:6875992
Initialize the InstrumentedPlatformCanvas with the correct background color so
that if no painting is done, the background color is returned as the pure color.
Change-Id: Ibe928a4e158f0a4302e0996eca88c3e8b1f1b666
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'f35e08fefff71bb9b84b679f8d13cf57c6e1d756':
Null check to fix crash
|
| |/
| |
| |
| |
| |
| |
| | |
Need to make sure that img is not zero.
bug: 6864545
Change-Id: I2a2c5440347681b462abaa5ac9101ddb6137c8c4
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I81421e45e07eddc4153996797cd9bddda9c2b8c7
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
bug:5367327
bug:6656642
This reverts commit 874e5fbe3113052b0e3b7068d4b8df89bdeb4579
Change-Id: I0fd636bd93c47e9e21fac2ccf1996048823e893a
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This fixes a frequent warning that was occurring due to empty-content layers
being painted in merged layers:
"Warning: painting PicturePile without content!"
Change-Id: I71dbc3cdf1adbbcdd15c833add753cdd06cfcd4f
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | | |
Change-Id: Ibaa44ce9c24bdf05de0963efe12d9123113b08b6
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I15a9c63d7aed9f54095763499d3ffff2e17872b7
|
|/ / /
| | |
| | |
| | | |
Change-Id: I304c6e78e9e570dd4e67fa101697ca3b2f17acd7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously toggling hasText for the content of the SurfaceBacking was enough to
cause it to change scale entirely each time the value was changed. Now the
allowZoom flag is sticky to avoid unnecessary full-SurfaceBacking repaints.
Additionally, changes from allowZoom true->false will not trigger delay.
Change-Id: Ie6a13850f86d21f5a12a184c08b940aa2156ef07
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fall back to standard brute-force method.
InstrumentedPlatformCanvas from upstream webkit trunk/Source/WebCore/platform/graphics/blackberry/InstrumentedPlatformCanvas.h as of changeset 113390 ( http://trac.webkit.org/changeset/113390 )
Change-Id: I7b3884b8284d896c0948d23b6ec9fe0d2d98a6d5
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Only implemented for now when USE_RECORDING_CONTEXT is enabled. Standard
SkPicture PicturePile implementation defaults to hasText = hasContent = true.
Change-Id: I535b53151963bf8c415e420c1d5a789954e98cbf
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Handle it the same as a save/restore, but split up the SkMatrix handling
as beginTransparentLayer does not save the matrix
Also, enable RecordingContext by default, as all major known issues should be
fixed now.
Change-Id: I414556f65d5de704e2ce18e44a87d932b937993b
|
| | |
| | |
| | |
| | | |
Change-Id: I1a956939c35ab37a2195a5589276589301c97da9
|
|/ /
| |
| |
| | |
Change-Id: Id69b9d7ff6c7bdecbf344cd4b982abbb292a415d
|
| |
| |
| |
| |
| |
| |
| | |
used PicturePile.
bug:6835416
Change-Id: I7b66d9a6b5bea7196181e2a6dfcecef33d4996d0
|
| |
| |
| |
| |
| |
| |
| | |
used PicturePile.
bug:6835416
Change-Id: I5d810af206e111cfb7645e53d11f1aa6b35b313e
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I71b309c96cedefee66b9b7100e483c934e198085
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: I5e04c28a0c65378a26b1b99bcfeed4331591e265
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: I68b4c303b59fd4127c83e9ccb1d43ed630e21253
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I1e8f607a94685f3aa8f63e40fe2a265bca8a084e
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
bug:6829376
This reverts commit 0453f79675ffe6fddb59add2dcee0e3f0e7e74b1
|