| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
bug:7339156
Also fix compilation issue for USE_RECORDING_CONTEXT = false, a flag
used in debugging.
Change-Id: I63924c7551c82a10b0c67cbb44b9b8961551decd
|
|\
| |
| |
| | |
computation" into jb-mr1-dev
|
| |
| |
| |
| |
| | |
bug:7267294
Change-Id: Ia6de9264b6c3680707b8fb8833d69d7cc7e850e8
|
|/
|
|
|
|
| |
bug:7247750
Change-Id: I8238acc2c20942ab2f42936d16a03226909aebcd
|
|
|
|
|
| |
bug:7247486
Change-Id: Iba6b37d50985b51585e6e96a35705da54aae9878
|
|
|
|
|
| |
bug:7128794
Change-Id: Id36dbedcb7c8245fc6f37dbf938b085da3e0ae93
|
|
|
|
|
|
|
| |
Avoids region & matrix computation work for small ops. Area value of 750
determined empirically.
Change-Id: Iffc041ff69cd47c152ae4f71a474f4f6ccdc0bc5
|
|
|
|
|
|
|
|
|
| |
bug:6389297
This improves performance in capturePicture, since it avoids all of the clipping
and opaque region tracking logic.
Change-Id: If1db553b2568573f94cdee7b801c67be0c47c056
|
|
|
|
|
|
|
|
| |
bug:7003352
Correctly handle state pushing/manipulation, shaders, and transfer mode.
Change-Id: I9f6591711b15ff99a182fc9956f7ef389320e9c3
|
|
|
|
|
|
|
| |
Bug: 7003956
Don't pack data
Change-Id: I659a8b4cbf47ece9af16532949466f3fe2f6e61b
|
|
|
|
|
|
|
|
|
| |
Move RecordingData to LinearAllocator
Consolidate 4 heaps into 1
Minimize initial RAM usage
Add page size growth
Change-Id: I997ee6d88d0ae500ed85b9d20e6ed095069f2b04
|
|
|
|
| |
Change-Id: I3ef492679e94bdb452033ee3af3162b88d323d57
|
|
|
|
|
|
| |
Share SkPaints between drawPosText calls
Change-Id: Idf25c937a70e2969a864c829e566688b977720c0
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Bug: 6975836
Change-Id: I085e2099d016730ba1fdcce71e0452b2026c9617
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
Fast path for same-color rect drawing in InstrumentedPlatformCanvas
Also minimize unnecessary clipping recording-side.
Change-Id: I8e9ebcfce8d137ca0b27d17c42c5045a0d3b3a36
|
|/
|
|
| |
Change-Id: I96df41fc2b8e040e0e98b991c71b1d9bda40788e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|
|
|
|
|
| |
Everything goes through either PlatformGraphicsContext or recordingCanvas()
Change-Id: I375a4294d2e8d4b467b70c6b8a7f0b96f402f252
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I81421e45e07eddc4153996797cd9bddda9c2b8c7
|
| |
| |
| |
| | |
Change-Id: I15a9c63d7aed9f54095763499d3ffff2e17872b7
|
| |
| |
| |
| | |
Change-Id: I304c6e78e9e570dd4e67fa101697ca3b2f17acd7
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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: I71b309c96cedefee66b9b7100e483c934e198085
|
|/
|
|
| |
Change-Id: I5e04c28a0c65378a26b1b99bcfeed4331591e265
|
|
|
|
| |
Change-Id: I1d9c361cff6d8b5ff5f1cd198ca97740fdcc2954
|
|
|
|
| |
Change-Id: I71e41f1a76ac3e8e845d9636d57cf3896bb6ec0d
|
|
|
|
|
| |
Change-Id: If46f35856279ab2a356cb7f99671fcd15f4ddf37
(cherry picked from commit 19d56fe70a9ea33c3ce2ad4f0b547e35453aeafd)
|
|
|
|
| |
Change-Id: I13145c96ae5911c5ebe6b2006c53f1a05ffddc1e
|
|
|
|
|
|
|
|
| |
Make sure to take into account the current matrix to calculate the right
global bounds
Tag operations with the matrix that affected their drawing
Change-Id: Iadda9f3849dc3df1507e63423ff8d3ad0f37d74e
|
|
|
|
| |
Change-Id: I7a081b0a99574697a2ea77f85693d7fa65b80743
|
|
|
|
| |
Change-Id: I1380ae53139d5f50a25ea5edb61ec8b6818112ca
|
|
|
|
| |
Change-Id: I967c8e2ea209c848e6a09b44390ab2228b213ca5
|
|
|
|
|
|
|
|
|
| |
Makes more sense to have PlatformGraphicsContextRecording
do the optimizations as it already has all of the interesting data
rather than have GraphicsOperationCollection "deep inspect" the
stream
Change-Id: I0dba6531a352d178afbee2c5eea7d67b82c28df5
|
|
|
|
|
|
|
|
|
| |
WebKit will sometimes produce graphics context calls that result in
GC::Save, GC::SetClip, GC::Restore - as they don't do any drawing, we
can detect and filter those out which saves on the amount of state
management done.
Change-Id: I61715b0a14adb39521c605e2562fc4ac4e70a327
|
|
|
|
| |
Change-Id: I086a3ff7b6191bf5e20f8b5f6f74bcc7d2e867c2
|