• Home
  • History
  • Annotate
  • only in /frameworks/base/libs/hwui/tests/unit/
History log of /frameworks/base/libs/hwui/tests/unit/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
373b15bda93c8b400c5e1271bc93cbef26af503f 02-May-2017 Seigo Nonaka <nona@google.com> Fix double bolding

resolveStyle increases minikinStyle's weight value based on Skia's style
value. Since we compute Skia's style based on given weight value, we
should not add extra bold weight to minikinStyle.

This CL also fixes misunderstanding of base weight.
The base weight is only used for computing weight relative to the
weighted alias. Thus, base weight should not be updated except for
createWeightAlias method.

To be clear, this CL changes the function names but keeps the same
semantics as before.

Test: adb shell /data/nativetest/hwui_unit_tests/hwui_unit_tests
Test: am instrument -w -e class android.graphics.cts.TypefaceTest\
android.graphics.cts/android.support.test.runner.AndroidJUnitRunner
Bug: 37880319
Merged-In: Ied73189b11792fb062da46f45afd2db664e6ecb4

Change-Id: I82350a1bfb99ce198b955f127949e21bccccb1cb
ypefaceTests.cpp
e681bf6b5c798cce3858e1d39e4fe629cab721f0 03-May-2017 Chris Craik <ccraik@google.com> Make all FrameBuilderTests run on RT

Fixes: 33834637
Test: adb shell /data/nativetest/hwui_unit_tests/hwui_unit_tests --gtest_filter=FrameBuilder.renderNode_OpenGL
Test: adb shell /data/nativetest/hwui_unit_tests/hwui_unit_tests --gtest_filter=FrameBuilder.projection*

They essentially all use Caches, so making RT-only for safety. This
prevents crashes when trying to access Caches in a non-rt test, when
it's not guaranteed to be created.

Change-Id: I530c73d0ffe2d4f4ef53a46715f5bcca2c485f70
rameBuilderTests.cpp
e07a91a8dbcadd9898fdea0bc19ddb55014f3eeb 19-Apr-2017 Matt Sarett <msarett@google.com> Add unit test for Skia path behavior

Test: This is a test.
Bug: 35369941

Change-Id: Iaf21d3a903702f81a20e08e8b50b782f311ce7f3
kiaBehaviorTests.cpp
c84824942db6c37343a3580c23308e2f07037267 17-Apr-2017 Chris Craik <ccraik@google.com> Disable crashing drop shadow tests

Bug: 36272398
Test: HWUI unit tests now run without crashing

Change-Id: I2877ed184640e5043d33b10605db71dde501fd2a
ontRendererTests.cpp
extDropShadowCacheTests.cpp
ca9b703b8862b4b0a9c6134a0b3e0d1a89a9ae64 13-Apr-2017 Matt Sarett <msarett@google.com> Bug fix: use legacy SkCanvas regardless of color space tag

Test: Added unit test. CtsGraphicsModule.

Bug: 32984164

Change-Id: If72e1e31c98e01f97f3a05d763f5d4c71cf88313
kiaCanvasTests.cpp
44dc270830758d5b0f5b099e7c0e308bdf027dfb 13-Apr-2017 Matt Sarett <msarett@google.com> Add SkiaCanvas::captureCanvasState()

Test: Verified bug is fixed. Wrote unit test.

Bug: 37268771

Change-Id: I9deb7db353cd2129ad245e7f65419670463bb717
kiaCanvasTests.cpp
ea70d22dc8dc5d61f075edf6d03f86f6a68169cd 29-Mar-2017 Matt Sarett <msarett@google.com> Xform bitmaps to sRGB on SW and PDF canvases

For picture-backed canvases, we will defer the xform
until playback.

Test: Unit tests and cts test.
Bug: 32984164
Change-Id: Ib74663bcb688b74b6ba8792b403b0475126732af
kiaCanvasTests.cpp
d7410f7829ff591ca81ad93c9c9b1632ea80d1bc 04-Apr-2017 Stan Iliev <stani@google.com> Fix pop-up shadow drawn in the wrong place with Skia pipeline

Fix a bug in DrawShadow matrix calculation. Recorded matrix does
not need to be applied, because parent display lists have already
replayed matrix transformations.

Test: added a new HWUI unit test that is passing only after this fix
Bug: 33103723
Change-Id: I7a47dbe879df6b9e5920a47c0e1168d9902a3e70
enderNodeDrawableTests.cpp
3c01a07fff19c5166274de5960935875ea89e455 23-Mar-2017 Robert Phillips <robertphillips@google.com> Update RenderNodeDrawableTests to new onNewImageSnapshot API
Test: does it compiles

Change-Id: I55e3d7e2e59bfde88357fd455fe567d07c8a26b7
enderNodeDrawableTests.cpp
d9770c3c6c5b6a4fc7fa8774cf041e1ed1623119 20-Mar-2017 Robert Phillips <robertphillips@google.com> Update SkiaPipelineTests.cpp to use new onNewImageSnapshot signature
Test: code compiles & test continues to succeed

https://skia-review.googlesource.com/c/9882/ (Remove budgeted parameter
from SkSurface::makeImageSnapshot (take 2)) seems to have stuck so this
should be safe to land.

Change-Id: I9e6fdcc8debe7964e9522f7acd8829b54bc90986
kiaPipelineTests.cpp
2c64d5739b444b8ffe6283d8c703ad920fad7a95 21-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Modify VectorDrawable to scale path through canvas matrix"
cc29a5dde1ef0a3cf0fcec10eb9d37d9e8fa3afb 15-Mar-2017 Stan Iliev <stani@google.com> Modify VectorDrawable to scale path through canvas matrix

Apply the path matrix to the canvas instead of creating a new path.
Delete logic that scales the stroke, because this is done through
the matrix as well. Merge/delete some functions.

Bug: 36392701
Test: CTS graphics tests pass with minor changes in 6 golden images.
Quick settings and settings app drawables are OK. Vector icon app
draws identical paths.
Change-Id: If623bc0a535fad95a2839f79bd997c016bcd9d4d
ectorDrawableTests.cpp
871cd2dd6074544bd41a84ff38255d81a392546a 17-Mar-2017 Mike Reed <reed@google.com> use SkVertices::Builder in drawBitmapLattice
override new virtual onDrawVerticesObject

Test: CtsGraphicsTestCases

Change-Id: I38e3ee0aa2a1ee9c11474c2c5d648ee5fca20d78
atalTestCanvas.h
a0a74d5f8ee1dbd04772ffb1775d045ce6b5934b 13-Mar-2017 Mike Reed <reed@google.com> use _deprecated suffix for deprecated clipops

Allows skia to remove legacy flag for older names
- SK_SUPPORT_EXOTIC_CLIPOPS
- SK_SUPPORT_LEGACY_CLIPOP_EXOTIC_NAMES

Test: CtsGraphicsTestCases

Change-Id: I78478d94d059641a9381579cae6d28f9f0685ad1
anvasStateTests.cpp
rameBuilderTests.cpp
ecordingCanvasTests.cpp
kiaPipelineTests.cpp
3cad2c33ee161f84f44a6d796fba0292ef47931e 07-Mar-2017 Chris Craik <ccraik@google.com> Merge "Workaround arc textures drawing outside of bounds"
49b403dc9c47ada51c8e5b883347682a868515f8 06-Mar-2017 Chris Craik <ccraik@google.com> Workaround arc textures drawing outside of bounds

Fixes: 34077513
Test: hwui unit tests passing

This fixes an issue where drawArc operations would cause artifacts by
drawing outside of the clip / screen damage area. We now more
conservatively clip drawArc operations specifically, as they tend to
draw into the outer parts of their path textures more than other
operations.

A more long term fix would involve alignment between draw operation
sizing (in terms of what's resolved in a BakedOpState), and
PathTexture sizing (which currently conservatively expands beyond
stroked op bounds).

Change-Id: I5aff39cc04382323b457b159974032f5f371251a
akedOpStateTests.cpp
rameBuilderTests.cpp
792fb3252f6460acfd82c4e5d7536ca6b787a0e0 03-Mar-2017 Derek Sollenberger <djsollen@google.com> Use SkPaint.nothingToDraw instead of PaintUtils helper.

The PaintUtils helper is now shared between all pipelines and was
missing a quick reject test for drawLoopers which are used in
view.setShadowLayer and supported in the Skia pipelines.

Bug: 35809097
Test: added hwui unit test and verified in DocumentsUI app
Change-Id: I3c4a988f1c42b7f421f78ac3659af1daee910ea2
kiaCanvasTests.cpp
4f357c081260c5bb36498169eb698adf7089899c 03-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix potential use-after-free in LayerUpdateQueue"
fc29f7acd1352efa97269b5f3856eb879d5cfd53 02-Mar-2017 John Reck <jreck@google.com> Fix potential use-after-free in LayerUpdateQueue

Change-Id: I090af2191576175b165a9db574a80123c16f0778
Fixes: 26548204
Test: Builds & hwui unit tests pass
ayerUpdateQueueTests.cpp
enderNodeTests.cpp
ea1fe9b9d6ff9f0a543489979a0a909acc9ea564 01-Mar-2017 Derek Sollenberger <djsollen@google.com> Update SkiaDisplayList to use the modified SkLiteDL

SkLiteDL is no longer refcounted or a subclass of SkDrawable.

Test: on device testing in SkiaGL mode
Change-Id: I9ad53d764a26ab382d80d54908325962f2075802
enderNodeDrawableTests.cpp
kiaDisplayListTests.cpp
dfe0647f6c7a80242f1646541a6f3460e0ef3c76 23-Feb-2017 Derek Sollenberger <djsollen@google.com> Fix unit test that failed due to incorrect refactor.

Test: hwui unit tests
Change-Id: I88b962718086ff1ca3df1999b2040fb1007b6f33
ecordingCanvasTests.cpp
f77ca0872102116f58693d26703af8279573d014 23-Feb-2017 Derek Sollenberger <djsollen@google.com> Fix HWUI tests to use android-only SkPaint flags

Test: compile only
Change-Id: Ia3a5710d4ae13d68e5b2655a8b135dae8ffeb513
rameBuilderTests.cpp
ecordingCanvasTests.cpp
df1742ed47da1e9b61afeae16fa448d5302a8aa0 20-Jan-2017 John Reck <jreck@google.com> Overhaul GraphicsStatsService

* LRU cache of recently-used is dead, replaced
disk storage
* ASHMEM size is read from native by the system service,
no longer requires keeping a sizeof() in sync with a
constant in Java
* Supports dumping in proto format by passing --proto
* Rotates logs on a daily basis
* Keeps a history of the most recent 3 days

Bug: 33705836
Test: Manual. Verified log rotating works by setting it up to
rotate every minute instead of day. Confirmed /data/system/graphicsstats
only has the most recent 3 entries after several minutes

Change-Id: Ib84bafb26c58701cc86f123236de4fff01aaa4aa
raphicsStatsServiceTests.cpp
09df887c9078a34f2bda32c83734b7f75c0a60ff 14-Feb-2017 Chris Craik <ccraik@google.com> Always flush renderstate in DeferredLayerUpdater::apply

Bug: 34206215
Test: hwui unit tests passing, manual test of TextureView video playback

Always flush renderstate to the GlLayer's texture, regardless of
whether updateTexImage has ever been called.

Change-Id: I3974dce9d90633a0299e6bc4259b76c622717c90
eferredLayerUpdaterTests.cpp
ab582b762ad6f0fbb2b087cff4472ab60e85474d 14-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Replace bitmap shaders with image shaders in test code"
c54b76e97d00497e4fea1aa08ae404bfd4ae875d 13-Feb-2017 Matt Sarett <msarett@google.com> Replace bitmap shaders with image shaders in test code

Test: Verified that unit tests still pass.

Change-Id: I67d8046e49b9469e73caa9fe2a44ef2602c95d59
ecordingCanvasTests.cpp
kiaBehaviorTests.cpp
89ddb1f1644e0b47de060d2c9aaf6d5387c38f2f 10-Feb-2017 Matt Sarett <msarett@google.com> Update framework to use new SkColorSpace API

Test: This compiles with SK_USE_LEGACY_NAMED_COLOR_SPACE
turned off.

Change-Id: Ie573f59e0aa475bab06b38589db3c6158ad82c5a
kiaBehaviorTests.cpp
83809fec686b47da73ee0aaa80d226de7e33aab9 01-Feb-2017 sergeyv <sergeyv@google.com> Properly clear textures for Hardware Bitmaps

Test: manual (Description in the bug)
bug:34858530
Change-Id: I13eb89077c43ca28436509a7af5b7c11374446c4
extureCacheTests.cpp
3afd63778e401651a7a6fd721d6d795690916ab8 30-Jan-2017 John Reck <jreck@google.com> Switch how destroyHardwareResources works

destroyHardwareResources will now only force-destroy
the specific node it was called on, which are only
ever the root nodes. Rely on onRemovedFromTree()
to clean up resources for all other nodes.

Bug: 34736819

Test: RenderNode.multiTreeValidity passes, manually
verified fixes b/34736819

Change-Id: I1c275ad6a98b63bf50f265602f09bffe3e1f169b
enderNodeTests.cpp
2de950d5a8b47c7b4648ada1b1260ce4b7342798 25-Jan-2017 John Reck <jreck@google.com> Overhaul RenderNode's DisplayList management

* Move mValid to native
* Have destroyHardwareResources destroy everything
* Remove flaky mParentCount checks in setStaging
* All tree updates have an internal observer to
ensure onRemovedFromTree() is a reliable signal
* onRemovedFromTree() immediately releases resources
to avoid displaylist "leaks"

Test: Unit tests for validity added & pass, manually
verified that b/34072929 doesn't repro

Bug: 34072929

Change-Id: I856534b4ed1b7f009fc4b7cd13209b97fa42a71c
anvasContextTests.cpp
rameBuilderTests.cpp
enderNodeDrawableTests.cpp
enderNodeTests.cpp
kiaDisplayListTests.cpp
02b0d4054755af5dde16910377099c0b8fbab200 24-Jan-2017 Matt Sarett <msarett@google.com> Merge "Fix renderOverdraw() test"
341480bef58ee40eceb1caa4d94c4a8d3934b132 24-Jan-2017 Matt Sarett <msarett@google.com> Fix renderOverdraw() test

I'm not sure why this test was modifies, but this
restores the test to the original version, which passes.

Test: Passes unit test

BUG:34467659

Change-Id: I6699cf13d4b69301d57fa0cec9b24093e8263ba7
kiaPipelineTests.cpp
2ba96eced0a0eb2c6e3c73ad8576cf394a6a9868 24-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add tests for b/34598346"
47aa8d1477d1bacdb3b45e0463ef99dcf5c9cc09 23-Jan-2017 John Reck <jreck@google.com> Add tests for b/34598346

Test: unit test passes
Bug: 34598346
Change-Id: I7e5144aa875e42487718059cc06b86e32db28702
rameBuilderTests.cpp
c1db0e0ff701c81aa909789e3c6c4d3d5b3aca84 23-Jan-2017 Stan Iliev <stani@google.com> Remove all calls to SkCanvas::getClipStack from HWUI unit tests

Refactor HWUI unit tests to not invoke SkCanvas::getClipStack,
because this Skia API is going to be deprecated.

Test: Build and ran sailfish-eng. Ran HWUI unit tests.
Change-Id: Iac277aa26fbe9e2a0860cde2dd43732ed1c4c4e3
enderNodeDrawableTests.cpp
kiaRenderPropertiesTests.cpp
57b8eb3da0c4692ac4f39a9c73aa090af475d14a 18-Jan-2017 Greg Daniel <egdaniel@google.com> Merge "Update hwui_unit_tests to support running with Vulkan backend."
98c78dad1969e2321cfee2085faa55d95bba7e29 04-Jan-2017 Greg Daniel <egdaniel@google.com> Update hwui_unit_tests to support running with Vulkan backend.

Added Macros for RENDERTHREAD_TESTS which run these tests using specific backends.
RENDERTHREAD_TESTS - Runs OpenGL, SkiaGL, and SkiaVulkan
RENDERTHREAD_SKIA_TESTS - Runs SkiaGL and SkiaVulkan
RENDERTHREAD_OPENGL_TESTS - Runs OpenGL

Test: manual running of hwui_unit_tests

Change-Id: Ia7420ee7a38803a15e2d58394d14b38cae8208d3
akedOpDispatcherTests.cpp
akedOpRendererTests.cpp
anvasContextTests.cpp
eferredLayerUpdaterTests.cpp
eviceInfoTests.cpp
ontRendererTests.cpp
rameBuilderTests.cpp
lopBuilderTests.cpp
radientCacheTests.cpp
eakCheckTests.cpp
eshStateTests.cpp
ffscreenBufferPoolTests.cpp
ecordingCanvasTests.cpp
enderNodeTests.cpp
kiaCanvasTests.cpp
kiaDisplayListTests.cpp
kiaPipelineTests.cpp
kiaRenderPropertiesTests.cpp
extDropShadowCacheTests.cpp
624ad836ec7f174369df30219099260b951b7ef4 11-Jan-2017 Derek Sollenberger <djsollen@google.com> Fix Skia merge by fixing API mismatch.

Test: compile
Change-Id: Ie524af03fd3c85cceac13abdcdd9af8ef6ca6bb9
enderNodeDrawableTests.cpp
kiaPipelineTests.cpp
45ec62ba72c5017fae7d8baab20bfb0d4c99c627 04-Jan-2017 Greg Daniel <egdaniel@google.com> Add support for dummy draws for Vulkan webview and texture views.

Test: manual testing
Change-Id: Iaec8c3a34367673c281665ff6c6e97d1ce532265
puMemoryTrackerTests.cpp
8cd3edfa15cc9cdbffa935d19ab894426b08d174 09-Jan-2017 Greg Daniel <egdaniel@google.com> Break Layer class into Gl and Vulkan subclasses

Test: manual testing
Change-Id: Ibd2beed39de3ac6da7448e96496253cfe427dfbb
eferredLayerUpdaterTests.cpp
rameBuilderTests.cpp
b66b8bb4a089593ee7c20ad7f59980c16dde9cc9 16-Dec-2016 Stan Iliev <stani@google.com> Ensure root render node clip cannot expand beyond dirty area

Use new Skia API to enfore clip restriction for root render node.
This brings Skia pipeline in line with HWUI. Unit test is
updated to reflect the new behaviour.

Test: Built and ran angler-eng, ran HWUI unit tests.

Change-Id: Iffce70fd37b6aff45eb6a23c8b1a64f45b5f1463
kiaPipelineTests.cpp
6df179cd73674f81501b302f4a3a97b5ec3eab9b 16-Dec-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Revert "try to stop using exotic clipps""
66b9d4486abb9e6d1edc624cd9ff522b12acece0 16-Dec-2016 Chris Craik <ccraik@google.com> Revert "try to stop using exotic clipps"

This reverts commit 834653bcf80a3879c4d80004469053f205d45b69.

Change-Id: Ie8cb787490832a0be154ec1263313982157faa81
anvasStateTests.cpp
rameBuilderTests.cpp
ecordingCanvasTests.cpp
kiaPipelineTests.cpp
e59dc4124a337881c0a585d3a5ce612ecd8f5e97 16-Dec-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "try to stop using exotic clipps"
68885e38b86405b333e3f8fd4ff0a104889147c4 14-Dec-2016 Stan Iliev <stani@google.com> Modify savelayer to save matrix and clip for Skia pipeline

Modify SkiaCanvas::saveLayer to always save matrix and clip and
match HWUI behaviour. Also ensure android state tracking
behavior matches that of the Skia API (partial saves not
supported). This change is fixing SaveLayerAnimation
macrobench when buffer age is disabled.
Add a HWUI unit test that verifies clip and matrix are restored.

Test: built and ran angler-eng, ran hwui unit tests
bug:33429678
Change-Id: I62e429f9746518fef67663b0dd99ac499bf31af3
enderNodeDrawableTests.cpp
834653bcf80a3879c4d80004469053f205d45b69 14-Dec-2016 Mike Reed <reed@google.com> try to stop using exotic clipps

Change-Id: Id11d7744daa69c19fdc9b7723862b3d71ad21384
anvasStateTests.cpp
rameBuilderTests.cpp
ecordingCanvasTests.cpp
kiaPipelineTests.cpp
ed4d58cc3331795ed7f141eabc1fce784b4c110b 14-Dec-2016 Stan Iliev <stani@google.com> Fix failing SkiaPipeline unit tests

Fix SkiaPipeline unit tests failure, caused by double deallocation
of SkCanvas in DeferLayer.

Test: build and ran angler-eng, ran HWUI unit tests.
Change-Id: I4a0a0113588e40a8ed32093d57efc6af3c0d7745
kiaPipelineTests.cpp
6c67f1d04591f44bccb476d715a005ad5bbdf840 14-Dec-2016 Mike Reed <reed@google.com> SkClipOp is now an enum class

Change-Id: If423dd013a264162ae0b7674a0eeef34bc2cdaae
anvasStateTests.cpp
rameBuilderTests.cpp
ecordingCanvasTests.cpp
enderNodeDrawableTests.cpp
kiaPipelineTests.cpp
fb1bc8bc97dca1ad7b1dd2c994a8ccee1db0a0fd 13-Dec-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "SkCanvas is no longer refcnted, use SkClipOps"
d43eaa909018068bc1ac197839f5e2ed79d9139d 13-Dec-2016 Mike Reed <reed@google.com> SkCanvas is no longer refcnted, use SkClipOps

Change-Id: I57469f56187f1ca8624e7a63968124ee925b4c04
atalTestCanvas.h
kiaPipelineTests.cpp
kiaRenderPropertiesTests.cpp
ee708facf127f2e8bed5970d5c05fa823fcfc1ce 12-Dec-2016 Leon Scroggins III <scroggo@google.com> Remove unnecessary dependency, and fix the chain

Test: No new tests. This should not affect behavior; only dependencies.

Font.h does not need to include SkGlyphCache.h, and doing so requires
a transitive dependency on external/skia/src/utils, which was not
intended. Forward declare it instead, and fix the build errors that
resulted.

Change-Id: Ifd09430bb848d51b139df0f0c06c63e7e48711eb
ecordingCanvasTests.cpp
52771272f4f018f4fc6846224bf047497e784af1 17-Nov-2016 Stan Iliev <stani@google.com> Add more Skia pipeline unit tests.

Add more Skia pipeline unit tests and fix an issue
in backdrop/content bounds clip logic.

Test: built and run angler-eng and HWUI unit tests.
Change-Id: Ie41f80ff7ce9802a4d76e8b14f1695dbc9771a2b
atalTestCanvas.h
enderNodeDrawableTests.cpp
kiaPipelineTests.cpp
kiaRenderPropertiesTests.cpp
6e49c9f007c879f05b035c40c0ba543c00f9d0d0 02-Dec-2016 Mike Reed <reed@google.com> switch over clip calls to use SkClipOp instead of SkRegion::Op

Change-Id: I67d23c487b5249bc31d96e3b2393f693c0b2bcff
anvasStateTests.cpp
rameBuilderTests.cpp
ecordingCanvasTests.cpp
enderNodeDrawableTests.cpp
4a3818ddd3c5ecedf2e29e02faccb7fedbf7e5f3 01-Dec-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix a crash in skia pipeline, when empty reorder block is first"
e9bf7c843664c16aaeac4cd79550a7461ae00b5d 01-Dec-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Introduce PathInterpolator to native animators"
347691f8d87157be0eaeca26f4003d8a06a275e3 01-Dec-2016 Stan Iliev <stani@google.com> Fix a crash in skia pipeline, when empty reorder block is first

Fix a crash in skia pipeline, which happens if an empty reorder
barrier is inserted at index 0 in a SkiaDisplayList.
Add a unit test that repro the bug (unit test is crashing wihtout
the fix and passing with the fix).

Test: built and ran skia pipeline with angler-eng and run HWUI unit
tests.

Change-Id: I4aded15021c70cc0ae8daa83bbe8ed0e10a41eef
rameBuilderTests.cpp
enderNodeDrawableTests.cpp
6c670ecdd9e848f6778a087c71c2960ed6e9c62d 01-Dec-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add hwui test for correct refcounting of SkColorTable in Bitmap"
9e9eeeeb78d94804cda00c2b36e56fdaca5552d6 29-Nov-2016 Doris Liu <tianliu@google.com> Introduce PathInterpolator to native animators

For interpolators defined with a path, PathInterpolator is more accurate
and likely less costly for longer animations than what are currently
using as a substiute - LUTInterpolator.

Test: manual test and added a unit test
BUG: 32830741
Change-Id: I867c7a28e4261392cce9c45a2992ab4fd120c496
athInterpolatorTests.cpp
71c4477bee8297189e12a666bbb178f461ad2859 30-Nov-2016 sergeyv <sergeyv@google.com> Add hwui test for correct refcounting of SkColorTable in Bitmap

Test: BitmapTests.colorTableRefCounting
bug:32561595
Change-Id: I505c735feffbac18d406b6b2f9dff51d81700cd8
itmapTests.cpp
711b6aec9ae2ccc36d95cb5c3aa74b550fe6496f 30-Nov-2016 Matt Sarett <msarett@google.com> Merge "Add overdraw debugging feature to Skia pipelines"
f58cc92066903b900396f640159ea3ea992fc67d 15-Nov-2016 Matt Sarett <msarett@google.com> Add overdraw debugging feature to Skia pipelines

Test: Compared to OpenGL pipeline and sanity checked
with understanding of the drawing pipeline. Also
wrote a unit test.

BUG:32370375

Change-Id: Iab397d21f0def725fa89551d48c764c67fd2bda8
kiaPipelineTests.cpp
338da9c8f99de1fd70bac24971da71c32d18bd3c 29-Nov-2016 Mike Reed <reed@google.com> Merge "SkCanvas is no longer reference-counted"
88e0891f6657573a5ad918c2d76d6c02bb8ceba3 23-Nov-2016 Stan Iliev <stani@google.com> Fix draw order for non-RenderNode draw commands

Fix a drawing order issue in Skia pipeline. Add unit test in both
HWUI and Skia to test the fix.

Test: built and ran on angler-eng and HWUI unit tests passed.
Bug: 32506749
Change-Id: I7f13457726a8664f18a46aca2279b876acec2944
rameBuilderTests.cpp
enderNodeDrawableTests.cpp
6acfe16b5650446dbdcce3bd779b52fb6533a41e 18-Nov-2016 Mike Reed <reed@google.com> SkCanvas is no longer reference-counted

Change-Id: Ie821efe7c0a7d1301715e303aaf4d7ec86ac35e7
enderNodeDrawableTests.cpp
db45a4bfaff1120a9b23073e46a0cc6d39f56023 08-Nov-2016 Stan Iliev <stani@google.com> Fix Skia render node projection to match HWUI

Fix Skia render node projection to match HWUI. Port
FrameBuilderTests_projectionReorder test for Skia pipeline.
Add new tests in both HWUI and Skia to cover more projection
use cases.

Test: built and run on angler-eng
Change-Id: Ibf27af211452ae95d595aca7723ea63f48b0b282
rameBuilderTests.cpp
enderNodeDrawableTests.cpp
kiaDisplayListTests.cpp
b6e20139755afbb4968ec0ac71182c179ea33ac0 14-Nov-2016 Seigo Nonaka <nona@google.com> Move test only initialization to each test setup.

Global default typeface initialization is only used by test code.
It is good to do in test and remove from production.

Test: ran hwuimicro hwui_unit_tests hwuimacro
Change-Id: I7090b1794828072112540b4e357a6d24bf8f664a
ain.cpp
b7d34b64dd32e3d84bd43344c9c3d9ad098129af 04-Nov-2016 Derek Sollenberger <djsollen@google.com> Refactor pin/unpinImages to work across pipelines.

Test: existing CTS tests still pass
Change-Id: Ib2607e9853396bad42f298829b5c5da0d210af32
kiaDisplayListTests.cpp
eea591b08e3ee53f7994dfa5de72e52f5061dd6e 03-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix RenderNodeDrawable to draw nonzero Z nodes when needed"
40800725d2dec2915607af0231f04f40c5cd221b 03-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Implement Skia pipelines for OpenGL and Vulkan."
2f06e8ad1a1c4d0866bb66854d2759e275898635 02-Nov-2016 Stan Iliev <stani@google.com> Fix RenderNodeDrawable to draw nonzero Z nodes when needed

Fix RenderNodeDrawable to draw nonzero Z nodes if not in a reordering
section.
Write an unit test modeled after FrameBuilder zReorder, which
verifies the bug fix.

Test: built and run unit tests on angler-eng.
bug: 32541103
Change-Id: Ifbf2d51f4432f5de3af4abe5987c2a72fed14185
enderNodeDrawableTests.cpp
500a0c30d4dcd012218c3e44a62926a1c34a259f 26-Oct-2016 Stan Iliev <stani@google.com> Implement Skia pipelines for OpenGL and Vulkan.

Implement Skia pipelines for OpenGL and Vulkan:
base SkiaPipeline, SkiaOpenGLPipeline and SkiaVulkanPipeline.
Write unit tests for SkiaPipeline.

Test: Built and run manually on angler-eng.
Change-Id: Ie02583426cb3547541ad9bf91700602a6163ff58
enderNodeDrawableTests.cpp
kiaPipelineTests.cpp
ab12c1fe73734a18ac19a06b97f276528f6d027a 03-Nov-2016 Mike Reed <reed@google.com> update callers to newer Skia APIs

Test: refactoring CL. Existing unit tests still pass.

Change-Id: I47e73e00f14f78dd9d4c48a142ac9853e7e4cad7
kiaBehaviorTests.cpp
c2f31df8b3b9a237e9abffc59c61804ad8495073 28-Oct-2016 Mike Reed <reed@google.com> use SkBlendMode

skbug.com/5814

Test: compile only
Change-Id: Ibbaff43df1117b2ca77fd8f917f03d88cc476330
(cherry picked from commit 26edbcba8a2ed4cb300e7f87e679e3b73cec2772)
ecordingCanvasTests.cpp
kiaBehaviorTests.cpp
021693b967a2c5556dddd183eb0247df4079e1ad 17-Oct-2016 Stan Iliev <stani@google.com> Implement SkiaRecordingCanvas, RenderNodeDrawable and other drawables.

Implement SkiaRecordingCanvas, RenderNodeDrawable, GLFunctorDrawable,
LayerDrawable, StartReorderBarrierDrawable, EndReorderBarrierDrawable.
Move AnimatedRoundRect and AnimatedCircle in a separate file.
All Skia pipeline files are moved in hwui/pipeline/skia folder.
Add unit tests for RenderNodeDrawable, StartReorderBarrierDrawable,
EndReorderBarrierDrawable and SkiaRecordingCanvas.

Test: I tested manually on 6P devices and did run the unit tests.
Change-Id: If2a347bd1fc4689953822294ce5bf98c7f3f57c7
enderNodeDrawableTests.cpp
kiaDisplayListTests.cpp
96f4410a57b2e10099df4d3991636c53f8dc61fd 28-Oct-2016 Derek Sollenberger <djsollen@google.com> Merge "Refactor mock Functors into a common TestUtils class."
835b3a69c345d2b58a0774daeb2e717a8a878059 28-Oct-2016 Derek Sollenberger <djsollen@google.com> Refactor mock Functors into a common TestUtils class.

Test: refactor. existing tests still pass
Change-Id: I55258487c371869a5b91dd2dcf6bf7bd47ac1a35
anvasContextTests.cpp
kiaDisplayListTests.cpp
c0f50362c77b9d39452c96c5dec1806e867eb762 28-Oct-2016 Derek Sollenberger <djsollen@google.com> Merge changes If99865cd,I5b794c94

* changes:
Fix test breakage due to naming collision in the linker.
Minor cleanup of unused headers and overly described functions.
5ef78a895b8a168b2f4dfb28bfdde984f8cc3684 28-Oct-2016 Derek Sollenberger <djsollen@google.com> Fix test breakage due to naming collision in the linker.

Test: hwui_unit_tests in question now run successfully.
Change-Id: If99865cd1cfa5c819338d062f5685700380a60a6
anvasContextTests.cpp
kiaDisplayListTests.cpp
050bb6a2b02fe19b7872f3eaed655346fc8a050e 26-Oct-2016 Derek Sollenberger <djsollen@google.com> Minor cleanup of unused headers and overly described functions.

Test: local compile
Change-Id: I5b794c9473f6d3a9e1d4f9365c951c7ce9dade50
kiaCanvasTests.cpp
fda66672fedf73d08d9061a2823ec7bd2c9cd774 28-Oct-2016 Sergei Vasilinetc <sergeyv@google.com> Merge changes I94b1c31c,Ib0b16c87

* changes:
Add target to texture
Use Bitmap in Texture.upload
2a38c42e921451abebb4ee5f5ecd738f1b6b04ed 26-Oct-2016 sergeyv <sergeyv@google.com> Add target to texture

Test: refactoring cl.
bug:32413624

Change-Id: I94b1c31cd4e0712dfcfd7777a0012424c1bf0dca
lopBuilderTests.cpp
daf7229047c44947b9b02ee187fe5b13f30ebd4b 25-Oct-2016 Derek Sollenberger <djsollen@google.com> Move OpenGL specific details behind renderPipeline interface.

Test: new and existing unit tests still pass.
Change-Id: I6164f30f45ebe450788ed8d949eca5af9a44e585
anvasContextTests.cpp
ec4a4b13eae2241d1613890c1c1c096bed891845 21-Oct-2016 sergeyv <sergeyv@google.com> Use Bitmap in DisplayList & RecordedOps instead of SkBitmap
Test: refactoring cl.
bug:32216791

Change-Id: I1d8a9a6e772e2176b6c2409409a910478b45f8db
rameBuilderTests.cpp
ecordingCanvasTests.cpp
aed7f58fb05a25ce2112829e77c0eb5dd268e8a7 15-Oct-2016 sergeyv <sergeyv@google.com> Pass Bitmap instead of SkBitmap in canvas.drawBitmap(Bitmap, float,float,Paint)
Test: refactoring cl.
bug:32216791

Change-Id: If9f9fbc19e683b14cce6c3c268258bd832d495d2
rameBuilderTests.cpp
ecordingCanvasTests.cpp
7ca5ad1d06c94d99f17b2f1f27cd853d47b5bcf4 19-Oct-2016 Sergei Vasilinetc <sergeyv@google.com> Merge "Move allocatePixelRef methods to hwui. This patch also makes tests to use SkBitmap backed by hwui/PixelRef, Test: refactoring cl. bug:27762775"
ca9b1ed9f0d8638637c83931f96f184889a72fa4 18-Oct-2016 Mike Reed <reed@google.com> Merge "use SkBlendMode instead of SkXfermode use sk_sp versions of paint setters/getters"
f8f56cbb20817c295fe8c6f886dca5e2912e1996 15-Oct-2016 Chris Craik <ccraik@google.com> Fix complex clipping on mergeable ops

Fixes: 32106003
Test: unit tests passing (and one added)

Change-Id: I519bc38a1fa8c25c9ae317ffdb7e59e5a0824f59
rameBuilderTests.cpp
c36bd6c16ddfc160732ff7e4518564714c8aa66e 12-Oct-2016 sergeyv <sergeyv@google.com> Move allocatePixelRef methods to hwui.
This patch also makes tests to use SkBitmap backed by hwui/PixelRef,
Test: refactoring cl.
bug:27762775

Change-Id: Ib936e81877790849118420f5e565fc8f4466c1be
kiaBehaviorTests.cpp
260ab726486317496bc12a57d599ea96dcde3284 07-Oct-2016 Mike Reed <reed@google.com> use SkBlendMode instead of SkXfermode
use sk_sp versions of paint setters/getters

Change-Id: I86591a0a8ec92e6039776cbf00424ea24f585b28
akedOpDispatcherTests.cpp
rameBuilderTests.cpp
ecordingCanvasTests.cpp
enderNodeTests.cpp
kiaBehaviorTests.cpp
kiaCanvasTests.cpp
6e68bedacc3086f49b0cff6d20e006bcc6559603 13-Oct-2016 Derek Sollenberger <djsollen@google.com> Merge "Initial refactoring to enable the addition of the SkiaOpenGLPipeline."
4e230f4688e85551252dfaf94cbaab3c9087ab3b 12-Oct-2016 Doris Liu <tianliu@google.com> Fix SkShader leak for Gradient VectorDrawable and test am: fc9cf72339 am: c47199bb6a
am: 1ef744a3b8

Change-Id: Iee4f98f10a4e1b3947166777040918ab779ab023
fc9cf72339c7ce61adb11ceb3b247f112577fb6b 11-Oct-2016 Doris Liu <tianliu@google.com> Fix SkShader leak for Gradient VectorDrawable and test

This CL fixes a SkShader leak in VD when applying local matrix
to the shader. Specifically, the usage of newWithLocalMatrix(...)
increments the shader's ref count in every draw() call for
Gradient VectorDrawable, whereas there's no balancing call to
decrement the ref count in draw(). In this CL, we assume
the ownership of the shader returned from newWithLocalMatrix(...)
to ensure the correct ref count management.

Also, add test to verify that shader is no longer being leaked

BUG: 32067647
Test: this CL

Change-Id: Ic15fe46cde06a73d81b44e2d3c56b51907344cc0
ectorDrawableTests.cpp
253f2c213f6ecda63b6872aee77bd30d5ec07c82 29-Sep-2016 Romain Guy <romainguy@google.com> Linear blending, step 1

NOTE: Linear blending is currently disabled in this CL as the
feature is still a work in progress

Android currently performs all blending (any kind of linear math
on colors really) on gamma-encoded colors. Since Android assumes
that the default color space is sRGB, all bitmaps and colors
are encoded with the sRGB Opto-Electronic Conversion Function
(OECF, which can be approximated with a power function). Since
the power curve is not linear, our linear math is incorrect.
The result is that we generate colors that tend to be too dark;
this affects blending but also anti-aliasing, gradients, blurs,
etc.

The solution is to convert gamma-encoded colors back to linear
space before doing any math on them, using the sRGB Electo-Optical
Conversion Function (EOCF). This is achieved in different
ways in different parts of the pipeline:

- Using hardware conversions when sampling from OpenGL textures
or writing into OpenGL frame buffers
- Using software conversion functions, to translate app-supplied
colors to and from sRGB
- Using Skia's color spaces

Any type of processing on colors must roughly ollow these steps:

[sRGB input]->EOCF->[linear data]->[processing]->OECF->[sRGB output]

For the sRGB color space, the conversion functions are defined as
follows:

OECF(linear) :=
linear <= 0.0031308 ? linear * 12.92 : (pow(linear, 1/2.4) * 1.055) - 0.055

EOCF(srgb) :=
srgb <= 0.04045 ? srgb / 12.92 : pow((srgb + 0.055) / 1.055, 2.4)

The EOCF is simply the reciprocal of the OECF.
While it is highly recommended to use the exact sRGB conversion
functions everywhere possible, it is sometimes useful or beneficial
to rely on approximations:

- pow(x,2.2) and pow(x,1/2.2)
- x^2 and sqrt(x)

The latter is particularly useful in fragment shaders (for instance
to apply dithering in sRGB space), especially if the sqrt() can be
replaced with an inversesqrt().

Here is a fairly exhaustive list of modifications implemented
in this CL:

- Set TARGET_ENABLE_LINEAR_BLENDING := false in BoardConfig.mk
to disable linear blending. This is only for GLES 2.0 GPUs
with no hardware sRGB support. This flag is currently assumed
to be false (see note above)
- sRGB writes are disabled when entering a functor (WebView).
This will need to be fixed at some point
- Skia bitmaps are created with the sRGB color space
- Bitmaps using a 565 config are expanded to 888
- Linear blending is disabled when entering a functor
- External textures are not properly sampled (see below)
- Gradients are interpolated in linear space
- Texture-based dithering was replaced with analytical dithering
- Dithering is done in the quantization color space, which is
why we must do EOCF(OECF(color)+dither)
- Text is now gamma corrected differently depending on the luminance
of the source pixel. The asumption is that a bright pixel will be
blended on a dark background and the other way around. The source
alpha is gamma corrected to thicken dark on bright and thin
bright on dark to match the intended design of fonts. This also
matches the behavior of popular design/drawing applications
- Removed the asset atlas. It did not contain anything useful and
could not be sampled in sRGB without a yet-to-be-defined GL
extension
- The last column of color matrices is converted to linear space
because its value are added to linear colors

Missing features:
- Resource qualifier?
- Regeneration of goldeng images for automated tests
- Handle alpha8/grey8 properly
- Disable sRGB write for layers with external textures

Test: Manual testing while work in progress
Bug: 29940137

Change-Id: I6a07b15ab49b554377cd33a36b6d9971a15e9a0b
kiaBehaviorTests.cpp
0df6209a02d0ea99d2dff3a46ed9febd5925df4b 27-Sep-2016 Derek Sollenberger <djsollen@google.com> Initial refactoring to enable the addition of the SkiaOpenGLPipeline.

Test: existing and new HWUI unit tests all pass.
Change-Id: I4f5c1dc839a2ed15d8b0f6245fe030684501b083
enderNodeTests.cpp
kiaDisplayListTests.cpp
d4babda3aa0af4d9a060b588f082e2f29192fd60 20-Sep-2016 Matt Sarett <msarett@google.com> Merge "Use SkMakeBitmapShader, avoid bitmap copy"
62feb3a0b4690144a067080ab17beae160ea6320 20-Sep-2016 Matt Sarett <msarett@google.com> Use SkMakeBitmapShader, avoid bitmap copy

CreateBitmapShader now forces a copy. This updates the call sites
to use SkMakeBitmapShader (in SkImagePriv.h) with
kNever_SkCopyPixelsMode.

This maintains the behavior where apps can modify the bitmap in
the shader after creating the shader.

This also ensures that the texture cache will work (since it's
based off of SkPixelRefs).

BUG:31594626
Change-Id: Ic75cb6cdc05c750b7946208e48a8127838d9c2f8
ecordingCanvasTests.cpp
kiaBehaviorTests.cpp
5d31a293ad0a832c7b8b445c1a67fb1800e5da32 15-Sep-2016 John Reck <jreck@google.com> Cleanup Xfermode

We only support PorterDuff Xfermodes

Removes some unneeded JNI and finalizers()

Change-Id: I4988d6b05c6fd113a8ed8f7dcbf95abe0de95060
kiaBehaviorTests.cpp
188af3373ae6fb30f4f041a34bfe0beaef6f0ab2 12-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "HWUI unit test for AVD on HwLayer"
5876e7df0407cbce8a043ece3a33fd3224311ffc 03-Aug-2016 Doris Liu <tianliu@google.com> HWUI unit test for AVD on HwLayer

This test puts AVD on a HWLayer and check that after prepareTree
the correct damage rect for the layer is enqueued.

This verifies the fix for bug 30166063

Change-Id: Ia37847357bb00d54f08ee253013db83d46783fbd
enderNodeTests.cpp
97ec95c212579ec3eeb38582309a54b6120bdf32 09-Aug-2016 Chris Craik <ccraik@google.com> Prevent EndLayerOps when Begin was rejected am: 3c53ec51ef am: 152f76ee50
am: 674965822b

Change-Id: Icfa8cb2ad7c97fdbbf37f01abe7b5a22f6b33cfd
3c53ec51efd4bbc3f06cc63dd8efe186e3fb168f 09-Aug-2016 Chris Craik <ccraik@google.com> Prevent EndLayerOps when Begin was rejected

bug:30537130

BeginLayerOps were being rejected in a way that allowed the associated
EndLayerOps to still be recorded. This was a violation of DisplayList
content expectations, and caused crashes in FrameBuilder when trying to
play these DisplayLists back.

Change-Id: I531b840aa5c4ffb1ee458da3f4b366978eaeafbe
ecordingCanvasTests.cpp
89561e6e4201aebc78a76ac055071ad2149db704 05-Aug-2016 sergeyv <sergeyv@google.com> HWUI: Fix snapping in path rendering

bug:30444274
Change-Id: Ib10058659af47625b366c26e0b872fa3f1854cd0
akedOpDispatcherTests.cpp
7e03ffa772481387beba66e33a0a056af2642aa7 29-Jul-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Use Canvas::create_recording_canvas instead of RecordingCanvas ctor"
06152cdd06da50762716cd455dcf7ab0117f25b0 27-Jul-2016 Stan Iliev <stani@google.com> Use Canvas::create_recording_canvas instead of RecordingCanvas ctor

Modify HWUI tests to support different recording canvases. Delete
TestCanvas class and use base Canvas class instead. Use
Canvas::create_recording_canvas to create recording canvas instances
instead of RecordingCanvas constructor.

Change-Id: I651fb9bb4add0874d7110bac467a2eb1012357fc
akedOpDispatcherTests.cpp
rameBuilderTests.cpp
eakCheckTests.cpp
ecordingCanvasTests.cpp
enderNodeTests.cpp
919645aded88b7d9f82b6f05777cbe827f415d1a 27-Jul-2016 Chris Craik <ccraik@google.com> Reject fully transparent paint-fill ops at record time am: 814ee6a921
am: 1cfc4b1f46

Change-Id: I0d04b00ccf3d109ea5ab55ba52122fd4506147ea
814ee6a9218aa339a4757b2c0ba1ad268f8dbc8a 27-Jul-2016 Chris Craik <ccraik@google.com> Reject fully transparent paint-fill ops at record time

bug:30342762

Avoids unnecessary work for each transparent operation.

Change-Id: I80b1eeca34ae32249433fde55e9fe93d02c411db
rameBuilderTests.cpp
ecordingCanvasTests.cpp
56ad6ec42f814e9e61030ff819cac4e5d31def8b 22-Jul-2016 Derek Sollenberger <djsollen@google.com> Remove LayerRenderer.

There is only one caller each for the static functions here so this
CL moves the logic to the caller. Also by moving some of the code
into the pipeline it makes it easier for future changes to configure
how a pipeline handles a layer.

Change-Id: Ib735b5154325cbb658fd151f7a19dbf434ab44b7
eferredLayerUpdaterTests.cpp
enderNodeTests.cpp
6bf0c56ce031fee822b80508b7ea279330080385 15-Jul-2016 Chris Craik <ccraik@google.com> Merge \\"Fix rotated clip regions\\" into nyc-mr1-dev am: 06f13cba5f
am: d5cdbdeae1

Change-Id: Ib7db5a8fbbe4cfdd8cd7c8a06ad51477fc6df5a1
0658435096a26067c0183e0a977c9ae0af1cc006 14-Jul-2016 Chris Craik <ccraik@google.com> Fix rotated clip regions

bug: 26562461
fixes: 30109912

SeekBar clips out the area of the thumb when drawing its track. This
creates a clip region, since a rect has been subtracted.

This changes region transform support in computing final clip to
properly support any rect-to-rect transform (such as 90 degree rotation)
when applying a clip region.

Change-Id: Ib3bbc52637e59e00b3a7e7d5c4c40555e26c578b
lipAreaTests.cpp
52c4eba143ce88a231e2691f65abd076f9e21c18 12-Jul-2016 Chris Craik <ccraik@google.com> Merge \\"Avoid throwing when 0 size layer requested\\" into nyc-mr1-dev am: 272b827925
am: ec83bd15c8

Change-Id: If585ade667c888d2f5f8e90a76125971178a7ba5
e3e481df762747c5f01bbd1503800fa29457fc1b 11-Jul-2016 Chris Craik <ccraik@google.com> Avoid throwing when 0 size layer requested

bug:30032790

Change-Id: I8553af0d0b0d59fea6535d03479c4e7134a9f4f9
enderPropertiesTests.cpp
5e00c7ce063116c11315639f0035aca8ad73e8cc 07-Jul-2016 Chris Craik <ccraik@google.com> Delete old rendering pipeline

fixes: 30002246

Change-Id: I45df0e924708526cee045b14c291bd23aa1a92db
lopBuilderTests.cpp
03de074d05108fa9fb07c6b847c7163ada5776da 07-Jul-2016 Stan Iliev <stani@google.com> Implement runtime switch to select default renderer mode

Add a system property debug.hwui.default_renderer, which allows
to set rendering mode to OpenGL (default), Skia OpenGL or Vulkan.

Change-Id: I8bca5bacc5108f77437e340ac61f2d8db8cc4c39
enderNodeTests.cpp
6afffb20ee16224508f566e23ca3e6c5f821efd0 30-Jun-2016 Chris Craik <ccraik@google.com> Merge \\"Handle post-record-time clipPath scaling\\" into nyc-mr1-dev am: a6b011e9b0
am: ab9e74bbbd

Change-Id: Ic204ce482a8324367e8a27e3c332b5b5797321a5
82457c51176855b9be0b441010870093a6feb414 30-Jun-2016 Chris Craik <ccraik@google.com> Handle post-record-time clipPath scaling

bug:29547149

Change-Id: I268210b240d2d8e08638114715f9622840fc02f7
lipAreaTests.cpp
b657b9b7febd38e309bef943dcfc55dbb7b30c2c 28-Jun-2016 Chris Craik <ccraik@google.com> Merge \"Merge \\"Fix savelayer rounding\\" into nyc-mr1-dev am: 754ea612ec\" into nyc-mr1-dev-plus-aosp
am: 46813558a3

Change-Id: I6afdba716240f52cfa0beba6fb70404bf00429f8
e4f6d968f51ba3bb867e8e124dca97b7e9c3fea5 28-Jun-2016 Chris Craik <ccraik@google.com> Fix savelayer rounding

bug:29456451

Change-Id: I8022163d2c004510da5db74efdca27582484224d
ecordingCanvasTests.cpp
a0e19f7f8f04f90d6ab14a1335f11f518452f049 28-Jun-2016 John Reck <jreck@google.com> Merge \\\"Add missing roundOut for layer damage\\\" into nyc-dev am: 48cde353eb am: aecf607eb6
am: 27875c2f31

Change-Id: I5a153e5c5a43bbdb7e3ace4b19ea08c08416ffa1
27875c2f318800ab362b99fdadad01b9a63ddc67 28-Jun-2016 John Reck <jreck@google.com> Merge \\"Add missing roundOut for layer damage\\" into nyc-dev am: 48cde353eb
am: aecf607eb6

Change-Id: Iede184ab8942798a932f67d1ece3f7fd5e0f9d66
11858f170acb1a89905047bbf0039e0582a5b4d2 28-Jun-2016 John Reck <jreck@google.com> Merge \"Add missing roundOut for layer damage\" into nyc-dev
am: 48cde353eb

Change-Id: I99532e6b7992452523c4fb0716a7161c06b92950
48cde353eb7b6bd8f4ff335da0e04fcd390cf0da 28-Jun-2016 John Reck <jreck@google.com> Merge "Add missing roundOut for layer damage" into nyc-dev
ac046387be01e586ab29519adb6d865381efa37f 28-Jun-2016 John Reck <jreck@google.com> Add missing roundOut for layer damage

fixes: 29771171

This is a regression from HWUI_NEW_OPS, a roundOut
was missing in the new path that was in the old one

Change-Id: Ibf223d550bb5525781864dd9b7f7cd6d73adb98b
ayerUpdateQueueTests.cpp
45e83338e525070702c12d68d904107989f439f9 24-Jun-2016 Chris Craik <ccraik@google.com> Round unclipped saveLayers

fixes: 29456451

Change-Id: I2be8b47c46936e75071ad0819a718f72b96cbd2b
(cherry picked from commit d5a90114128f4d3d528f1a0e93651496c968f940)
rameBuilderTests.cpp
c3f709c7ed262b946998642889ca1b2d836e7a75 25-Jun-2016 Chris Craik <ccraik@google.com> Merge \\"Round unclipped saveLayers\\" into nyc-mr1-dev am: fdef509c93
am: 366f7476ea

Change-Id: I61e1d5a8b03d2946fd6e572690304343f524e580
d5a90114128f4d3d528f1a0e93651496c968f940 24-Jun-2016 Chris Craik <ccraik@google.com> Round unclipped saveLayers

fixes: 29456451

Change-Id: I2be8b47c46936e75071ad0819a718f72b96cbd2b
rameBuilderTests.cpp
7dc370bfe3223dfbcb368e0006c688dfd668ab01 17-Jun-2016 sergeyv <sergeyv@google.com> HWUI: add leak check for macrobench

Change-Id: Id2037921fdbe599b3c722f2e1d17b99f3b74361c
ain.cpp
99a8e2faac20b3480ada3e9ded7af136640127ce 17-Jun-2016 Seigo Nonaka <nona@google.com> Merge "Follow the minikin namespace changes"
ce3616cf23cd9d32cffee6b2e75f51bff66e10f0 14-Jun-2016 Doris Liu <tianliu@google.com> Merge \\"Test RenderNode\\'s prepareTree when its DL is null and non-null\\" into nyc-mr1-dev am: 3d66bdb56d
am: 33b9430e90

Change-Id: I7da03063523bd731b83a8a412592dec4b30b2fd9
a7952b33f6a41f95aa221a0b20d195002aed0144 13-Jun-2016 Doris Liu <tianliu@google.com> Test RenderNode's prepareTree when its DL is null and non-null

BUG: 29320878
Change-Id: I3325e957025d0039faf366144dcd2d95790ccfd1
enderNodeTests.cpp
cbcc3d5c3ade6212e7c48cbf3ef0a79151cc9594 10-Jun-2016 Chris Craik <ccraik@google.com> Merge \\\"Fix framebuffer incomplete errors\\\" into nyc-dev am: 4bcf66030d am: 7156913021
am: 22696fc0e4

Change-Id: Ib824dd0b3df68c37e3fd7ff5613b99d0687add69
ae1aa85d0c7305bb621f1f8003bd674285aa3b63 09-Jun-2016 Seigo Nonaka <nona@google.com> Follow the minikin namespace changes

Bug: 29233740
Change-Id: I0ec7c5c88e64daa626751d3a03e24b9c36521c17
ecordingCanvasTests.cpp
d4fe4d3b30aaefcaaae6a6d1b8dc4bf59e034768 10-Jun-2016 Chris Craik <ccraik@google.com> Fix framebuffer incomplete errors

bug:29127615

Primarily fixes case where 0 dimensioned layers could be
created/updated. Additionally, adds more logging in incomplete
framebuffer cases, if they still occur.

Change-Id: Ib90dbbafd6905aca3c8f46e64064e13a308f713d
enderPropertiesTests.cpp
9751618c873f6a0be51f40c6b644e12825341fe7 01-Jun-2016 sergeyv <sergeyv@google.com> Merge "HWUI: do nothing in case of empty layer" into nyc-dev am: 21a608f27f am: 6544a0e2e2
am: caeade2914

* commit 'caeade2914a4f5366ed89c3e8ba7f188434465c2':
HWUI: do nothing in case of empty layer

Change-Id: I77de8747f9c7bed869cb1e8a2533e27f01cfe33f
aebbbef5658fea13b06586d39adca351135d9edb 31-May-2016 sergeyv <sergeyv@google.com> HWUI: do nothing in case of empty layer

bug:28862058
Change-Id: I8e09a5c33d0eb00a829be4df706dab49cad48b1e
akedOpDispatcherTests.cpp
fa29d8c368c9958e577db7487fd121f456ddee41 25-May-2016 John Reck <jreck@google.com> Merge "Merge "Fix a translate issue with saveLayer" into nyc-dev am: f4ae997719 am: e5a3df612a" into nyc-mr1-dev-plus-aosp
am: ebe36fb4f7

* commit 'ebe36fb4f7800ae58777809d765ff207a4c30f8f':
Fix a translate issue with saveLayer

Change-Id: I061f21b1e2ab6764394e9e95d2f2757bb84f6268
c9bb1a38d356087a4e5578307a6839eac0a1e6ee 25-May-2016 John Reck <jreck@google.com> Fix a translate issue with saveLayer

Bug: 28667141

saveLayer clips the layer to the size it needs to
be and will translate content if necessary, but
the drawLayerOp that results from that was not
translated to handle the shifted draw content.

This fixes that

Change-Id: I3c9ffd5d0282fa1b958bced94c25e9744281e9be
rameBuilderTests.cpp
0353c378badf58c7385bd77f4bd019c0eb8859d3 17-May-2016 Sergei Vasilinetc <sergeyv@google.com> Merge "Add gmock to hwui library"
8bd5edf804d5995fe266f3f612b70ee0ee104130 14-May-2016 sergeyv <sergeyv@google.com> Add gmock to hwui library

Change-Id: I1dec4cd234e5ee8bb01140b969d0cf817a849047
eshStateTests.cpp
ain.cpp
f6856b0f345797ecf988fdbfaa9b4da1266f71d2 17-May-2016 Chris Craik <ccraik@google.com> Merge "Fix hw layer overdraw/update visualization" into nyc-dev am: 189e3e5ec5 am: bd2edfca03
am: f075b05d5a

* commit 'f075b05d5a8516ff98d9c25c1b5ac307fdfc234a':
Fix hw layer overdraw/update visualization

Change-Id: I70968a90dbc3ea13654b7dbb8065d5a577a0f9ae
189e3e5ec5b698f1062fb98692fa75d3750148e0 17-May-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix hw layer overdraw/update visualization" into nyc-dev
37413289478a965336239c731ebfea37ac4dde28 13-May-2016 Chris Craik <ccraik@google.com> Fix hw layer overdraw/update visualization

Fixes: 28748255

Change-Id: I83b531cdf5e4407fd17edd72d96e6189924926fa
akedOpDispatcherTests.cpp
estUtilsTests.cpp
76e990374900aa37050a5a757debf3c95490dcf1 14-May-2016 Chris Craik <ccraik@google.com> Merge "Fix Skia filter behavior test" into nyc-dev am: 0c5bd7dffe am: de6400a282
am: ec51ed4aa7

* commit 'ec51ed4aa774fddb8d8741aaf627730a19fa675d':
Fix Skia filter behavior test

Change-Id: I832a61ef95dcc998477b10bffa7e3155acc43066
36ce80d5301664b4839ebd2f4570f062cbabf862 13-May-2016 Chris Craik <ccraik@google.com> Fix Skia filter behavior test

Fixes: 28751534

Change-Id: Ie5e2ee946b21702539fc0cc7358d0f9550e7d095
kiaBehaviorTests.cpp
571e48c4ae383432a072fd4d8d8d653f8718efbc 12-May-2016 sergeyv <sergeyv@google.com> Merge "Merge "Draw textShadow always first." into nyc-dev am: 45d6e79565 am: ac26a7c427" into nyc-mr1-dev-plus-aosp
am: ae8a928350

* commit 'ae8a928350b4abbb2b1b197f0ed9b7a17013f52d':
Draw textShadow always first.

Change-Id: I3cd44d019931d14faace09bb3c5b829449041fe2
45d6e7956544051c06a228755b7fd7c179bcdbfe 11-May-2016 Sergei Vasilinetc <sergeyv@google.com> Merge "Draw textShadow always first." into nyc-dev
284b765e3c1647859d4dac772744e8859c033216 10-May-2016 sergeyv <sergeyv@google.com> Draw textShadow always first.

Interleaving text and shadow rendering resulted in issuing draw commands from FontRenderer::renderDropShadow.

bug: 28528923
Change-Id: Ife2677f58180aaf10ec74d7c6efe5c44fe248daa
akedOpDispatcherTests.cpp
02453ecae5ed4c4c594a85bcc5c565ec8fd73815 03-May-2016 Chris Craik <ccraik@google.com> Merge "Add LightingFilter behavior test" into nyc-dev am: 7039adafa9 am: 3a86af812a
am: 2670842b8d

* commit '2670842b8d55c237ec52317fbe3bdd80aa7aeb06':
Add LightingFilter behavior test

Change-Id: I1aa609663d6e1a96758debf9c3500a043eacd681
7039adafa9a99f8eb4f8ccab9a6f9d2208454150 03-May-2016 Chris Craik <ccraik@google.com> Merge "Add LightingFilter behavior test" into nyc-dev
d53e3bed1ca4a14b2a86d53eaef6969bd043176e 03-May-2016 Chih-Hung Hsieh <chh@google.com> Fix google-explicit-constructor warnings.

Bug: 28341362
Change-Id: I080090d50f1a368a4e7c1a0732297bb6a295e34f
rameBuilderTests.cpp
enderNodeTests.cpp
20136f31941e3b036bf25537f1dac364a58483c9 30-Apr-2016 Chris Craik <ccraik@google.com> Add LightingFilter behavior test

bug:28519669

Change-Id: I81ca4109bae04387f2eb73374d0f11821745fea1
kiaBehaviorTests.cpp
8438a7297c16c1ee73f4e67efef18ad9062e15f1 27-Apr-2016 Chris Craik <ccraik@google.com> Merge "Fix oval positioning when drawn with patheffect" into nyc-dev
e98a046d3110eb2ff11a17f4ff27764b803a1379 27-Apr-2016 Chris Craik <ccraik@google.com> Fix oval positioning when drawn with patheffect

Fixes: 28396277

Change-Id: I9e21696d81d7cd219f3eaa081bf3d9ba988fe051
akedOpDispatcherTests.cpp
b7d1657016d5f5b384e231979c6dcf18b0334ca4 26-Apr-2016 Sergei Vasilinetc <sergeyv@google.com> Merge "Stop always set OffsetByFudgeFactor in renderVertexBuffer" into nyc-dev
92a5d4b99a5554adca0e94627d44d2bd7f4f0bc0 20-Apr-2016 sergeyv <sergeyv@google.com> Stop always set OffsetByFudgeFactor in renderVertexBuffer

bug:27857128
Change-Id: Id92e0a5790b14f76cfa8bb38e8b11ce649775da0
akedOpDispatcherTests.cpp
f3754a84289680782b2c7caac30fda18207a5c23 20-Apr-2016 Chris Craik <ccraik@google.com> Fix shadow radius too large for RS

bug:28276925

Change-Id: I3d962ace75be7bbf49f5a95320390d8f5a9bf951
ontRendererTests.cpp
c79c3246c9a3e0d2aa34afd18fddc95a6aff0f30 18-Apr-2016 Chris Craik <ccraik@google.com> Merge "Improve multi-window render clipping logic" into nyc-dev
9cd1bbe5c9e14472e631d8cc10005613925f34af 15-Apr-2016 Chris Craik <ccraik@google.com> Improve multi-window render clipping logic

Fixes: 28125010

Restructures 'scene defer', to implement window backdrop overdraw
avoidance in new render pipeline, and disable clipping to content draw
bounds.

Also restructures FrameBuilder's constructors, to separate out into
multiple defer methods.

Change-Id: I53facb904c1a4a4acc493d8a489921a79a50494e
rameBuilderTests.cpp
eakCheckTests.cpp
cd1c3eba69d044b551cededad75474038f919890 14-Apr-2016 John Reck <jreck@google.com> Add a callback for when a gl functor is released

Bug: 27709981

Change-Id: Id5be3e8f88d6d84a9c59c7ed23e7e8862feefbe8
rameBuilderTests.cpp
enderNodeTests.cpp
5ce4e2e78f3f4e1c39423a79ad1787e05b961e14 14-Apr-2016 Chris Craik <ccraik@google.com> Merge "Avoid reentrance on ClipArea APIs" into nyc-dev
bf27b995ae1bc36ee0b24effcaf41ec477e7fae3 14-Apr-2016 Chris Craik <ccraik@google.com> Avoid reentrance on ClipArea APIs

bug:28144676

Calling ClipArea::clipRegion from within ClipArea::clipPathWithTransform
has us handling op-based special casing twice, which caused all clip
paths to appear to be replace ops.

Change-Id: Ib842db53ffed4eee29470f773d59a3a1d07a1a0e
lipAreaTests.cpp
a184abe4b0348b7c4633fb2c9922d2ec82cee34a 13-Apr-2016 Doris Liu <tianliu@google.com> Merge "Allow leading spaces in path string (to keep behavior consistent)" into nyc-dev
351303531f440b661215cb35394331d11568ac68 13-Apr-2016 Doris Liu <tianliu@google.com> Merge "Fix translationY not being set correctly for VD during animation" into nyc-dev
32d7cda0b89a114171f14de0753674090b3d75fc 08-Apr-2016 Doris Liu <tianliu@google.com> Fix translationY not being set correctly for VD during animation

Bug: 28056917
Change-Id: Ic5b7d14ac3dff8cad1c62f08b6d3389f979a2b00
ectorDrawableTests.cpp
b35da390601e3c24e777d72daacd8dbeb4d1d9c4 12-Apr-2016 Doris Liu <tianliu@google.com> Allow leading spaces in path string (to keep behavior consistent)

Bug: 28132454
Change-Id: Iee799c13a85738db3d6940aca0fe917f284fa651
ectorDrawableTests.cpp
b38cb04952202c330b29237aaeeda51165298a57 11-Apr-2016 Chris Craik <ccraik@google.com> Merge "Apply clip at reorder barriers to shadows" into nyc-dev
d645640180c25c2711e99aa82ec629155f8e91ba 11-Apr-2016 Chris Craik <ccraik@google.com> Apply clip at reorder barriers to shadows

Fixes: 28004930

Change-Id: I208b78430c770a3135afd68c53cf8ff3fba50c52
rameBuilderTests.cpp
ecordingCanvasTests.cpp
0e89f9804420a9b667eeaadff7916c227e6608cf 08-Apr-2016 Doris Liu <tianliu@google.com> Merge "Improve error logging for parsing failures" into nyc-dev
0a1a5167be26d363d4e27bdc7b816f425b7b4e66 08-Apr-2016 Doris Liu <tianliu@google.com> Improve error logging for parsing failures

Bug: 27043594
Change-Id: I901b65f734c49444a78e0714e007e15e2340ab9d
ectorDrawableTests.cpp
04d46eb69fb4f4c4c332c36c6ae845da3b2ae848 07-Apr-2016 Chris Craik <ccraik@google.com> Support replace op in new pipeline

bug:26562461

Change-Id: Ie48d2da30f5e9d9abe88a5cd973dfb26e38abf63
lipAreaTests.cpp
rameBuilderTests.cpp
ecordingCanvasTests.cpp
napshotTests.cpp
74af6e282f8a8f75928a071e8200039517cf5c12 05-Apr-2016 Chris Craik <ccraik@google.com> Fix OffscreenBuffer leak

Fixes: 27941148

Make OffscreenBuffer lifecycle an explicit (and tested) contract between
FrameBuilder and BakedOpRenderer, entirely separate from dispatch. This
makes it safe to reject any rendering work via overdraw content
rejection (before it gets to a BakedOpDispatcher).

Adds a couple tests around OffscreenBuffer leaks, and switches
OffscreenBuffer tests to RENDERTHREAD_TEST macro, as appropriate.

Change-Id: Id114b835d042708ae921028fb4b17e5fa485fe64
rameBuilderTests.cpp
eakCheckTests.cpp
ffscreenBufferPoolTests.cpp
5169c62c6c0acbf9d5a36a90233e7ba2e9532e58 05-Apr-2016 Sergei Vasilinetc <sergeyv@google.com> Merge "Fix opacity setup in FrameBuilder" into nyc-dev
a82ffc549bd6dbf8cfc6f4d646d0f458dca54014 05-Apr-2016 sergeyv <sergeyv@google.com> Fix opacity setup in FrameBuilder

bug:27941278
Change-Id: Ib0599f669406d2fb477d51d5ba701a89f83f9bd9
rameBuilderTests.cpp
bbb4c2eb2e871977289a9c48f414962e46b56ddc 31-Mar-2016 John Reck <jreck@google.com> Merge "Add a callback for rendernode parentcount=0" into nyc-dev
08f41dfb8c43e8d34d8723ef22fe96b580af4d56 31-Mar-2016 Chris Craik <ccraik@google.com> Merge "Fix layer damage and clipping for Text shadows" into nyc-dev
44b49f070aafe8ad44efae87341121cce49ff11c 25-Mar-2016 John Reck <jreck@google.com> Add a callback for rendernode parentcount=0

Bug: 27709981
Fixes: 22565656

Change-Id: I1cb4461baf9069dc4e7ca6de10d5862578c107f4
enderNodeTests.cpp
70969ccde405ea410fc7ccfe869999a03f056686 31-Mar-2016 Chris Craik <ccraik@google.com> Fix layer damage and clipping for Text shadows

Fixes: 27787426

Change-Id: I4c65cca0cfcd343a9cfbaedd3a32b83f90df2ecf
akedOpDispatcherTests.cpp
lopBuilderTests.cpp
6246d27813f25b85f6e4b5cb1121fe8484bcce2d 30-Mar-2016 Chris Craik <ccraik@google.com> Support buildLayer in new pipeline

bug:26561995
bug:27620686

Change-Id: I6c39f9a077e7e6002d3c01b8888238fd17b0f02a
rameBuilderTests.cpp
80a67f363f6ae941c28572ea8420c14c2ce6ef79 29-Mar-2016 Chris Craik <ccraik@google.com> Merge "Overdraw avoidance in new pipeline" into nyc-dev
80d2ade939153da87b3cd3b0a69a713bf68b64ba 28-Mar-2016 Chris Craik <ccraik@google.com> Overdraw avoidance in new pipeline

bug:27873093

Adds the simple overdraw avoidance optimization to the new
pipeline. This means when LayerBuilder defers draws that are opaque over
the full area of the repaint region, it will discard all drawing content
beneth.

Also moves a lot of complexity out of BakedOpState's header.

Change-Id: Iffca6d8e1b170ef31a5d6c83d25592670e02323d
rameBuilderTests.cpp
58691b6fe7631ab55e05775fa6e190dbdb4c3c69 28-Mar-2016 Derek Sollenberger <djsollen@google.com> Fix broken test.

bug: 27877439
Change-Id: I43b009f3c9ebe8011a241d0740136e6cff2e1ff7
kiaCanvasTests.cpp
3839ab1e3eabbceeccfc0be25fbd15512138fab7 28-Mar-2016 Chris Craik <ccraik@google.com> Merge "Consume TextureView matrix safely" into nyc-dev
aab289b8c2f1e8c763972bad93465022eb6846a6 28-Mar-2016 Chris Craik <ccraik@google.com> Merge "Add a couple more tests around bitmap uploads" into nyc-dev
aafb01d8ade0def3f51b74ae3bbc610c4ab33044 26-Mar-2016 Chris Craik <ccraik@google.com> Consume TextureView matrix safely

Fixes: 27825042

TextureView's matrix may not be set at record time - delay using it
until on RenderThread, when deferring the op.

Change-Id: Icf8b55d656e304ec049ca803b042dc2359482db2
rameBuilderTests.cpp
ecordingCanvasTests.cpp
b64da4cac43ad66dc1a1d6e8c963a263cbf932c8 28-Mar-2016 Derek Sollenberger <djsollen@google.com> Merge "Compute text bounds on a per glyph basis when drawing from an SkPicture." into nyc-dev
349c866e399a1eb2e85b1982d5d10f3a8cc4c69b 26-Mar-2016 Chris Craik <ccraik@google.com> Merge "Create first class unbounded ColorOp" into nyc-dev
243e85b2e443def1ef47a180e824b36f513c8db8 25-Mar-2016 Chris Craik <ccraik@google.com> Fix TextureLayer test

Fixes: 27823158

Change-Id: Ifed0d6119349662a23899935bfe5f3bacb361617
rameBuilderTests.cpp
a204848b1dc63877a12e2d24108e9d8e1e691e28 25-Mar-2016 Chris Craik <ccraik@google.com> Create first class unbounded ColorOp

bug:27810783

Previous drawColor->drawPaint conversion failed to preserve unbounded
nature of drawColor from old pipeline.

Change-Id: Ifd7a7b9d645f0887e252e48ca95d3195ee31615f
rameBuilderTests.cpp
ecordingCanvasTests.cpp
bee6092dbef81ff724624c4dd630efa8657817f8 25-Mar-2016 Chris Craik <ccraik@google.com> Add a couple more tests around bitmap uploads

Change-Id: I36138238b7e6cce8dab62fb56eaa1be15091a412
ecordingCanvasTests.cpp
kiaBehaviorTests.cpp
35934cccabf72879603ef37222da2195445f027e 23-Mar-2016 Derek Sollenberger <djsollen@google.com> Compute text bounds on a per glyph basis when drawing from an SkPicture.

bug: 27665826
Change-Id: I031c08a348b2488c85f74e708ee90019b24d707f
kiaCanvasTests.cpp
79abbf22d4f672208327546661e694d837f564a9 24-Mar-2016 Derek Sollenberger <djsollen@google.com> Update HWUI tests to use minikin to layout fonts.

This update is a precondition for landing additional tests
that depend on the minkin layout implementation.

bug: 27675371
Change-Id: I9bb98bae6b39462246e42cf8acb968b7df05292d
rameBuilderTests.cpp
ecordingCanvasTests.cpp
734f146c1ebf43816d5a3c8e82c726ab09489cb9 24-Mar-2016 Chris Craik <ccraik@google.com> Add refBitmap tests

Change-Id: I769457ff8934689bf425bab34a65d2a743959f9d
ecordingCanvasTests.cpp
3a5811b50157e7ba50854caf957e806aee794d39 22-Mar-2016 Chris Craik <ccraik@google.com> Precache/early kick off of op work for non-shadow ops.

bug:26562703
bug:27052145

Change-Id: Ic452bfe75da849ffdd47fecdd6eb1472fd0c806e
rameBuilderTests.cpp
eakCheckTests.cpp
dccca44ffda4836b56a21da95a046c9708ffd49c 21-Mar-2016 sergeyv <sergeyv@google.com> Reland: Move text logic from jni to hwui level

Initial CL: https://googleplex-android-review.git.corp.google.com/#/c/886854/

Change-Id: I9dfd85fe1d2a2c44f4360c8a29fd58d80e6f31c8
anvasStateTests.cpp
rameBuilderTests.cpp
ecordingCanvasTests.cpp
6847953955502caa0bd0ba255d879a89aeccbd24 21-Mar-2016 Sergei Vasilinetc <sergeyv@google.com> Merge "Revert "Move text logic from jni to hwui level"" into nyc-dev
afbd0f1fef46ef0ddf633dfde0de724db3da1405 21-Mar-2016 Sergei Vasilinetc <sergeyv@google.com> Revert "Move text logic from jni to hwui level"

This reverts commit a7f6bba1a3565c19715e878dfe7f0e01022944ff.

Change-Id: If4f36f87a85411b6128fd92d391313803ccaf9dd
anvasStateTests.cpp
rameBuilderTests.cpp
ecordingCanvasTests.cpp
49658d43802dc74c0ad68b7f5ba509832c1dec81 21-Mar-2016 Sergei Vasilinetc <sergeyv@google.com> Merge "Move text logic from jni to hwui level" into nyc-dev
4fd95b0d942d1740cab006a09603072f8aac05a1 21-Mar-2016 Chris Craik <ccraik@google.com> Merge "Handle unbounded drawPaint/drawGLFunction operations safely" into nyc-dev
4c3980b6e43cc7c0541f54b8e7e2d9d6108be622 15-Mar-2016 Chris Craik <ccraik@google.com> Handle unbounded drawPaint/drawGLFunction operations safely

bug:26591194

Also, revert to using current clip bounds as drawColor/drawPaint bounds
for simplicity in new pipeline.

Change-Id: I1a6b3f9716b564b46df41d57dfe14475fdd24de0
ecordingCanvasTests.cpp
aefcb2bd39867a287e52232d2f8a119caba644b0 17-Mar-2016 Chris Craik <ccraik@google.com> Merge "Account for text op stroke in bounds calculation" into nyc-dev
a7f6bba1a3565c19715e878dfe7f0e01022944ff 16-Mar-2016 sergeyv <sergeyv@google.com> Move text logic from jni to hwui level

bug:25865834
Change-Id: I2d8c9c9544afcb5ce1784f732aed3e54e0eda372
anvasStateTests.cpp
rameBuilderTests.cpp
ecordingCanvasTests.cpp
7c02cab0b1c7db0fb786893240ec6f00f16c2cee 17-Mar-2016 Chris Craik <ccraik@google.com> Account for text op stroke in bounds calculation

bug:27410033
Change-Id: Idf5bd5d2401f458d03af11617144cbe88adaf886
rameBuilderTests.cpp
9aec632913f4f6e98aae5c758d1ebb02fda44656 16-Mar-2016 Chris Craik <ccraik@google.com> Remove unused include

This include breaks compilation when HWUI_NEW_OPS=false

Change-Id: Ia3167f1550167f96de83af4b2f25abd6903c4723
lopBuilderTests.cpp
d06fa51e6b974aca0e35e2dc3b693c6a6628dfc5 15-Mar-2016 Chris Craik <ccraik@google.com> Merge "Unrounded round rects are just rects" into nyc-dev
2dbb4c46ee648c64bb977b6839374d73b5a605d9 12-Mar-2016 Chris Craik <ccraik@google.com> Unrounded round rects are just rects

Change-Id: I66517390943192e4725251b316a3d8c332c2b77d
ecordingCanvasTests.cpp
02806288d1c56475413888a934c796e6e4eb11c5 12-Mar-2016 Chris Craik <ccraik@google.com> Fix flickering when layers resize in-place

bug:27248275
Change-Id: Ia11c93ebc1097f3735071204b6f14ca079bb9fc4
akedOpRendererTests.cpp
ffscreenBufferPoolTests.cpp
67bd3b52563335c1773ca2b8cadcd52137ef8ea9 12-Mar-2016 Sergei Vasilinetc <sergeyv@google.com> Merge "Add GlopBuilder test for snapping" into nyc-dev
f42bf3e2573bccb01babec448f925e9395bf224c 11-Mar-2016 sergeyv <sergeyv@google.com> Add GlopBuilder test for snapping

Change-Id: I7aa5cddef6f0a0e78f3ade67b0446c1f76cf3d13
lopBuilderTests.cpp
e83cca3a3a235cf343c81ddff68e6a944ba91647 11-Mar-2016 Chris Craik <ccraik@google.com> Merge "Fix node rejection crash" into nyc-dev
1367d2550ebce40f45b16dc651bc3d8d22930801 11-Mar-2016 Chris Craik <ccraik@google.com> Fix node rejection crash

bug:27598131
Change-Id: Iea05c22ec10f92beef9c47236929eb5f860d84f9
ecordingCanvasTests.cpp
ed5916d2be70609c6ecb909ec4b3fc94a5bb1bfb 10-Mar-2016 Chris Craik <ccraik@google.com> Merge "Fix WebView disappearing" into nyc-dev
223e3b6c2b53a66b4efd8040edfe23ed1a5c925e 10-Mar-2016 Chris Craik <ccraik@google.com> Fix WebView disappearing

bug:27528563

Change-Id: Ib9fefa18ef9fb8eb11edd097cbadf8ab2b911576
rameBuilderTests.cpp
727819d134f9e8192c2c952f10adcc12191cd079 10-Mar-2016 Chris Craik <ccraik@google.com> Merge "Partial revert of 261725fdb2962271c222a049fcdf57bbdc8363c7" into nyc-dev
034a10bf216cdef251928edf72d93668d81515f8 10-Mar-2016 Chris Craik <ccraik@google.com> Partial revert of 261725fdb2962271c222a049fcdf57bbdc8363c7

Bug:27534946

Mapping empty rects still must be done to get correct positions for
line/point rects describing strokable bounds.

Change-Id: I2f9efe543e58eb438b755276585491c1256d6719
atrixTests.cpp
c17232598b0455af288955a70fcbdb699954af4c 10-Mar-2016 Chris Craik <ccraik@google.com> Merge "Add initial BakedOpDispatcher tests" into nyc-dev
419a1e7ef53468e494d21c66ea7f63c0c522d208 09-Mar-2016 Chris Craik <ccraik@google.com> Add initial BakedOpDispatcher tests

bug:26571145
bug:26923968
bug:27389290

Change-Id: If8ba33732d09b335171f87d5efc419641bafa126
akedOpDispatcherTests.cpp
308dba5d92cf7448e4025bb98e30601f69df52c1 08-Mar-2016 John Reck <jreck@google.com> Add basic LsaVector tests

Change-Id: I57600271a4efcb63b1c24b582ead48d51f002c2e
inearAllocatorTests.cpp
88737a05b39c67deaccf30d64348ae1277dcf90f 08-Mar-2016 John Reck <jreck@google.com> Fix build breakage

Update for API change

Change-Id: I649778b5f104a5295c0c827cc832e6190137bd02
ain.cpp
dc87c52cd5645dd87380114462211574b63e6353 29-Feb-2016 John Reck <jreck@google.com> Add leak-checking to unit tests

Initial pass at leak-detection on the unit
tests. Due to quirks in jemalloc we need
to run the leak check on both the main thread
and the RT thread to get decent leak coverage.

Change-Id: I0dce754aef5593f1ef5c3bed86e1168437a34b74
rashHandlerInjector.cpp
ain.cpp
69aeabe6184bbbe6e731656205ffbef78b7b0f3f 03-Mar-2016 Chris Craik <ccraik@google.com> Fix clip rect snapping at non-integer scale values

bug:26923968

Also removes several reinterprets to ClipRect, since Rect member is in
base class.

Change-Id: If46dbdcea05b1257af185ccb38058735ebe81f79
lipAreaTests.cpp
ecordingCanvasTests.cpp
f6c20e4b4232e30901676bcdf1aed64801d50c7e 02-Mar-2016 Chris Craik <ccraik@google.com> Fix merged bitmap mesh generation and reenable merging

bug:26793764
bug:26569206
Change-Id: I54628e99b61f58f5726a387ea3599c29695c0efc
rameBuilderTests.cpp
b67985f337e1592f621e1b85f525098887804ccd 02-Mar-2016 Chris Craik <ccraik@google.com> Merge changes I4f72448f,I74b7233c into nyc-dev

* changes:
Fix ripple positioning within scrolled node
Clip projected ripples to outlines
a748c08241e43fc68c7c34767d819aef5183936e 02-Mar-2016 Chris Craik <ccraik@google.com> Fix ripple positioning within scrolled node

bug:27275799

Skip applying clip/matrix properties from projected node op, since we
don't want to respect the clip, and matrix is already baked into
transformFromCompositedAncestor.

This skips op clips in the new pipeline, and fixed a double application
of scroll on ripple backgrounds.

Change-Id: I4f72448fe0463ab666564ca538d8b6bf525d98de
rameBuilderTests.cpp
678ff81105753656aa4822f4f675ef96dc9d2b83 01-Mar-2016 Chris Craik <ccraik@google.com> Clip projected ripples to outlines

bug:27343928

Also fixes positioning of ripples to a scrolled projection receiver.

Change-Id: I74b7233c46d7c15839ca8bf50e188ba6646d7432
rameBuilderTests.cpp
b878a99f235b806b0558d8c141fe4a6984c42f25 29-Feb-2016 Chris Craik <ccraik@google.com> Merge "Fix matrix mapping of negative rects" into nyc-dev
261725fdb2962271c222a049fcdf57bbdc8363c7 29-Feb-2016 Chris Craik <ccraik@google.com> Fix matrix mapping of negative rects

bug:27381362

Also rejects ops with empty clip at record time, and short circuits clip
intersection, when one is empty.

Change-Id: I842612da14ad8fd9f1ba5e9e4fd027ba4e08d365
lipAreaTests.cpp
atrixTests.cpp
ecordingCanvasTests.cpp
64db2bf1118db88c937e2b8c61b299bb2a80e3cb 27-Feb-2016 Chris Craik <ccraik@google.com> Clip buffer damage to viewport bounds

bug:27287946

Change-Id: Ief3ae9c2dd92196b7d09f1b9fadf009eb228d80a
ffscreenBufferPoolTests.cpp
4876de16e34622634266d09522c9153c78c7c2fb 26-Feb-2016 Chris Craik <ccraik@google.com> Properly reject empty unclipped savelayers

bug:27225580
bug:27281241

Empty unclipped savelayers (clipped at defer time, often by dirty rect)
were resulting in invalid layer clear rectangles. Simplify by just
rejecting these unclipped savelayers entirely at defer.

Also, use repaint rect as base clip for constructed ops within
LayerBuilder.

Change-Id: I5c466199e85201a2f68f5cdc60b29187c849961b
rameBuilderTests.cpp
388e43f4193bd2f1fd3687fada6bddab623f9a8c 24-Feb-2016 Chris Craik <ccraik@google.com> Merge "Fix drawColor/drawPaint bounds" into nyc-dev
91eff22b5d7f8fe551bae01331948858ce932a96 22-Feb-2016 Chris Craik <ccraik@google.com> Support op dumping in new pipeline

bug:26565102

Change-Id: I266e420a2f18ba9ad62942b8a0de295dfa3a2a88
pDumperTests.cpp
caa24184735a607e87077c73262a42acdea7b8fb 20-Feb-2016 Chris Craik <ccraik@google.com> Support drawing circles with drawArc in new pipeline

bug:26764636

Change-Id: I37d2384fa5e6c1074bb8de85821d58c15659b762
ecordingCanvasTests.cpp
1713c7773cea83a9c1ba7e08c73434df33ca6f4b 19-Feb-2016 Chris Craik <ccraik@google.com> Fix drawColor/drawPaint bounds

bug:26591194

Change-Id: Icda9b6e6cdd0c12a10e06469ace02b4a89df044b
ecordingCanvasTests.cpp
11f02d7e522ec8742f7ef533c252e04e24b93f6b 13-Feb-2016 Andres Morales <anmorales@google.com> allow for slow FrameMetricsListeners

A slow listener could cause a race in the NotifyHandler
where the single reference to the buffer to send would get
updated when it shouldn't have been.

Switch to a queue of available buffers to prevent this race.

Also, stop setting and clearing the observer reference and instead
incStrong/decStrong to mark temporary strong ownership without
colliding with other owners in flight.

Bug: 27097094
Change-Id: Iee647bfae8b80019b6d8290179eed3973230901f
ufferPoolTests.cpp
7df9ff2a08fd4bbd9b2e734a357cffcf64675df9 11-Feb-2016 John Reck <jreck@google.com> Fix all LA memory leaks forever!

Bug: 27072626

Or at least fix this one and make it harder to leak
going forward. static_asserts are cool, use them liberally

Also makes allocation via LA (slightly) faster by fixing create*
variants to use rvalue references & std::forward, preventing
an accidental pass-by-value

Change-Id: I18fd696a93dd6ea49c8d8c587d4c8bee56dbfdf5
inearAllocatorTests.cpp
e537330ead4111cae74668bbc25a332e186d6c91 11-Feb-2016 John Reck <jreck@google.com> Revert "Fix all LA memory leaks forever!"

This reverts commit 499d83f21e7ffb687788bba1668b05fe38f6ebaf.

Change-Id: Ia893ae16ebbeae68e49cd13a20587104b73d39a0
inearAllocatorTests.cpp
499d83f21e7ffb687788bba1668b05fe38f6ebaf 11-Feb-2016 John Reck <jreck@google.com> Fix all LA memory leaks forever!

Bug: 27072626

Or at least fix this one and make it harder to leak
going forward. static_asserts are cool, use them liberally

Also makes allocation via LA (slightly) faster by fixing create*
variants to use rvalue references & std::forward, preventing
an accidental pass-by-value

Change-Id: I5e0e36e72c6dd93324194ebf9a95f8204f05f261
inearAllocatorTests.cpp
b4f4f3e16d8fbb2905dfc168383213161e988f83 09-Feb-2016 Chris Craik <ccraik@google.com> Calculate clip bounds correctly when serializing

bug:26585671

Change-Id: Ic70769bce6fa2a7b65cb893ba4a45c65fdc0b7e3
lipAreaTests.cpp
e8c3c813b0e3ac98304b17a751ce6e436e252bd9 06-Feb-2016 Chris Craik <ccraik@google.com> Fix TextDropShadowCacheTests and glyph_t everywhere

Change-Id: I943eae4e9408c77bdfba6304ba7ee3e862351a41
extDropShadowCacheTests.cpp
62cd9e4a72236fb0ae602c169ea2cea098179819 06-Feb-2016 Chris Craik <ccraik@google.com> Fix build

Change-Id: I1ad30ae50cbdff9267d0121a446e6adbe3ad17ee
radientCacheTests.cpp
83c9b5bf638d75a3395f57c2c57c31c959632f9d 05-Feb-2016 John Reck <jreck@google.com> Add a debug assert to track down infinite loop

Bug: 26980851
Change-Id: I326983ab367782048311b6cf06d800f72837e38e
radientCacheTests.cpp
37fd29f2842c4b92ba3ddbba2f9a5024ce103783 04-Feb-2016 Chris Craik <ccraik@google.com> Merge "Fix ripple clipping + quick rejection"
3fd03b718d336ddb492125a07df62d3050d08bd4 04-Feb-2016 Chris Craik <ccraik@google.com> Merge "Add SkiaBehaviorTests"
7fc1b0349bc2ac8c880120dc5611f703faa7f06f 04-Feb-2016 Chris Craik <ccraik@google.com> Fix ripple clipping + quick rejection

bug:26524690

Don't intersect the first clip with the viewport. Instead, the first
clip op should always be a replace op.

Additionally, only quick reject nodes that clip to bounds, since some
nodes (like ripples) draw outside their own bounds.

Change-Id: I96a52029f360328aba19af7349888cc0a026b5b1
ecordingCanvasTests.cpp
07d8d59e21125fe7cba09b10e3dd7ecb9c49e8d8 04-Feb-2016 Chris Craik <ccraik@google.com> Add SkiaBehaviorTests

Change-Id: Ie2983f7a0c9e8bdd8c8de507d70ecf3aefdd9425
kiaBehaviorTests.cpp
6e068c0182f6f85bccb855a647510724d1c65a13 16-Jan-2016 Chris Craik <ccraik@google.com> Early kickoff of shadow tasks

bug:26562703

Change-Id: I7cdf18f2c662380bd31c7ffeefd5c3f569e5c1c6
rameBuilderTests.cpp
eakCheckTests.cpp
c3127a78b996a540cd002e5a87861e8a2adeb336 30-Jan-2016 John Reck <jreck@google.com> Fix TextDropShadowCache infinite loop

Bug: 26862239

Switch TextDropCacheShadow to use the tracked objectSize()
instead of the optional bitmapSize. A mismatch here
results in ::get() infinite looping trying to free space in
the cache since the LRU removal callback would always
decrement mSize by 0 since bitmapSize was not being set.

Also prevent the infinite loop in the future by crashing if
this scenario happens again.

Change-Id: Ib4e9fbe1c8327af2335ad650fd694a1627d9824f
extDropShadowCacheTests.cpp
c9fd313f94f7e0dc1f1f865290a2eb1b1897d2ad 26-Jan-2016 John Reck <jreck@google.com> Merge "Fix tests"
65182ccffc46a601bf22ffbbfa8df4e4df01102f 26-Jan-2016 John Reck <jreck@google.com> Fix tests

Disable FrameBuilder.clippedMerging as it relies on
merged bitmap ops which was disabled in b/26793764

Fix Buffer to correctly initialize mRefs count

Change-Id: I87d2fcc690a2ae14eaf751f650f522be5b622edf
ufferPoolTests.cpp
rameBuilderTests.cpp
dd93728b461c686ee4c5f329509418fe9342cb8d 26-Jan-2016 Florin Malita <fmalita@google.com> Merge "Add internal Canvas save flags"
eecff56fed5dd5206acfbc5007b4912081b36d3b 21-Dec-2015 Florin Malita <fmalita@google.com> Add internal Canvas save flags

Skia's SkCanvas::SaveFlags are being deprecated. This CL introduces
the equivalent android::SaveFlags, converts all internal clients to
the new enum, and switches the saveLayer glue to the
SaveLayerRec-based API.

Change-Id: Icb1785f4e7c0f652b1f04b34a1e3ccb063c408f3
anvasStateTests.cpp
rameBuilderTests.cpp
eakCheckTests.cpp
ecordingCanvasTests.cpp
06f5bc70a667a02b14e31d3f53f91d3661e30666 16-Dec-2015 Andres Morales <anmorales@google.com> expose hwui frame stats through FrameStatsObserver

Change-Id: I88884bafc8e2f6d7f67a36d3609490e83cf8afd5
ufferPoolTests.cpp
7d569db9361a7d4d797366c1b20643aa92eb97e0 19-Jan-2016 John Reck <jreck@google.com> Merge "Hard-abort tests if LOG_ALWAYS_FATAL"
f1dafb5962e798a02417b5a2075b6dcc318561ab 16-Jan-2016 John Reck <jreck@google.com> Hard-abort tests if LOG_ALWAYS_FATAL

Bug: 26591625

Also fixes it so debuggerd runs and we get stacks

Change-Id: I55b376e6a4e12ddcd21fa251fbfe5bd521fc0985
rashHandlerInjector.cpp
7db5ffb7dbd30202468459e2ef4426e91d4fcbb3 15-Jan-2016 John Reck <jreck@google.com> Revert "Revert "Fix leak in unclipped save layer""

This reverts commit a6fc36d4cd7f27147fd304960acdd1d2f47fc1c6.

Change-Id: I6b96afe4a32dc894d5b17cfb870b45063257aed2
rameBuilderTests.cpp
eakCheckTests.cpp
a6fc36d4cd7f27147fd304960acdd1d2f47fc1c6 15-Jan-2016 Daniel Chapin <chapin@google.com> Revert "Fix leak in unclipped save layer"

This reverts commit 8e068d5fd38dd103a122215fb6d185135182edf3.

Change-Id: Icd8ad5a2450db34aacecf748d6103df9faaa4c81
rameBuilderTests.cpp
eakCheckTests.cpp
8e068d5fd38dd103a122215fb6d185135182edf3 15-Jan-2016 John Reck <jreck@google.com> Fix leak in unclipped save layer

Change-Id: I31f146af2cb6f5cb8dd19bb0feff0ae35b864eba
rameBuilderTests.cpp
eakCheckTests.cpp
00159554e0f96a6d3a742f21bca6f48281e2fc04 14-Jan-2016 John Reck <jreck@google.com> Fix leak in OffscreenBufferPoolTests

Change-Id: Ic16df75bdc01d902639df98bc6798d9383510342
ffscreenBufferPoolTests.cpp
cbc5bd57f0f528743fce5ec02b0739dc6368311f 14-Jan-2016 John Reck <jreck@google.com> Merge "Track texture memory globally"
e5da4ef971258193cd1e89737a12b95b6ac244bb 14-Jan-2016 John Reck <jreck@google.com> Trap SIGABRT in RenderThread for unit tests

Change-Id: Icc1039543d975497808a8062e9d909537c4a29c9
rashHandlerInjector.cpp
38e0c32852e3b9d8ca4a9d3791577f52536419cb 10-Nov-2015 John Reck <jreck@google.com> Track texture memory globally

Also mostly consolidates texture creation

Change-Id: Ifea01303afda531dcec99b8fe2a0f64cf2f24420
puMemoryTrackerTests.cpp
ffscreenBufferPoolTests.cpp
tringUtilsTests.cpp
420d655950447f508bbc88e072337d6539f1c5d1 13-Jan-2016 Chris Craik <ccraik@google.com> Fix shadow bounds calculation

Change-Id: I78b6aa91d62c3c4838ffc80b380604c7863e8467
akedOpStateTests.cpp
f158b49c888f722194afe5a80539a2b020c130bc 12-Jan-2016 Chris Craik <ccraik@google.com> Rename Reorderers to Builders

Change-Id: I9bb5a2e70055e2f6d14912fbd86ab72ac0d6e20c
rameBuilderTests.cpp
rameReordererTests.cpp
15f046866cb650d78f55d03327cfa4a474fc9471 12-Jan-2016 Chris Craik <ccraik@google.com> Fix clip serialization crash

Can't safely rewind clip allocations, since those pointers are cached by
ClipArea. Instead add early rejection to handle most cases, and update
tests.

Change-Id: Ic32f95cf95602f427f25761a8da1583c4495f36d
akedOpStateTests.cpp
5ea1724be4d3b6039818f91fc087e1216c1463d5 11-Jan-2016 Chris Craik <ccraik@google.com> Rename OpReorderer to FrameReorderer

Also separate LayerReorderer into its own files.

Change-Id: Iafb6a156f760f62f831f6288fd0dadf1db25da24
rameReordererTests.cpp
pReordererTests.cpp
7435eb148e72382126e9073183e881357bb38a8b 08-Jan-2016 Chris Craik <ccraik@google.com> Unclipped savelayer support in new renderer

bug:22480459

Change-Id: I89dd5de8d7d008a1e298d227d767aabff5c96e27
ffscreenBufferPoolTests.cpp
pReordererTests.cpp
ecordingCanvasTests.cpp
b87eadda1818034ce03d85f30388384d1ac65916 06-Jan-2016 Chris Craik <ccraik@google.com> Partial unclipped save layer support

Not yet implemented in renderer.

Change-Id: I491ec6e7886bfa313d1db71dd5981690d45b78a9
pReordererTests.cpp
ecordingCanvasTests.cpp
7cbf63da4f29e5a6b131796eb3b67fd9ff1521b8 06-Jan-2016 Chris Craik <ccraik@google.com> Rework op macros

Makes it simpler to add defer-only or render-only opps.

Change-Id: I6c8ec64e76d419635429055cff6d96360d21706d
pReordererTests.cpp
f5baedb000e25497ca6875204dbe559970268543 05-Jan-2016 Chris Craik <ccraik@google.com> Merge "Stencil support in new recorder/reorderer"
e4db79de127cfe961195f52907af8451026eaa20 23-Dec-2015 Chris Craik <ccraik@google.com> Stencil support in new recorder/reorderer

bug:22480459
bug:26358504

Adds complex (non-rectangular) clipping support, and overdraw
visualization. Doesn't support stencil clipping in layers.

Change-Id: I8d10c7f1d2769ab5756774ca672344cc09901f87
akedOpStateTests.cpp
lipAreaTests.cpp
inearAllocatorTests.cpp
pReordererTests.cpp
ecordingCanvasTests.cpp
4bbc2931263b232fba61807fca00e127573eff42 02-Dec-2015 Doris Liu <tianliu@google.com> VectorDrawable native rendering - Step 3 of MANY

- Refactored VPathRenderer & VectorDrawableState
- Moved all the VD rendering into native
- Set up hooks for VD's property changes in JNI for animated VD

TODO: JNI calls can be further reduced when we convert the animation
in AVD to use RenderNodeAnimator, in which case animation will be
driven from native and therefore most of the JNI hooks for changing
VD's properties during animation will no longer be needed.

Change-Id: I52021f4d7bea057b83ace54085d870dd45acae0f
ectorDrawableTests.cpp
93e53e09dde84a5a6d6931b81198d94e2ae1c6eb 18-Dec-2015 Chris Craik <ccraik@google.com> Fix merged op clipping issue

Change-Id: I48cd5e92f3e62dcd189a4411a71aa7a40ce5498c
pReordererTests.cpp
d2dfd8f128b632ed99418ab2b32949c939a9a369 16-Dec-2015 Chris Craik <ccraik@google.com> Add TextureView support to new renderer/reorderer

bug:22480459

Change-Id: I2e4c0bc6b904706132f3f5087ededc9cac9b40fb
pReordererTests.cpp
d7448e65e243754f31890baef29dff187dc2e5e5 15-Dec-2015 Chris Craik <ccraik@google.com> Add TextOnPath support to new reorderer/renderer

bug:22480459

Change-Id: I302048ec09901420c15003e21e44a551cc59c7ad
akedOpStateTests.cpp
pReordererTests.cpp
5430ab220b231a96b71c3e030d0303d9ce008b05 11-Dec-2015 Chris Craik <ccraik@google.com> Avoid unneeded rect params

Change-Id: I2d8dcf6b09fdc554a403ac74763bf856b5f5d9fa
akedOpStateTests.cpp
anvasStateTests.cpp
pReordererTests.cpp
ecordingCanvasTests.cpp
386aa031793bb037ec43b6cdbd8908c343cc86cb 08-Dec-2015 Chris Craik <ccraik@google.com> Add more shape drawing to new reorderer/renderer

bug:22480459

Add support for outsetting final bounds based on stroke.

Change-Id: I659318ccec51882bba1906ce3c7042288ce35c30
akedOpStateTests.cpp
lipAreaTests.cpp
amageAccumulatorTests.cpp
pReordererTests.cpp
ecordingCanvasTests.cpp
15c3f19a445b8df575911a16e8a6dba755a084b5 03-Dec-2015 Chris Craik <ccraik@google.com> Merged op dispatch in OpReorderer

bug:22480459

Also switches std::functions to function pointers on OpReorderer, and
switches AssetAtlas' entry getter methods to using pixelRef pointers,
so it's clear they're the keys.

Change-Id: I3040ce5ff4e178a8364e0fd7ab0876ada7d4de05
pReordererTests.cpp
8160f20b0aca8c6595d4b385d673f59b6bcd16a4 02-Dec-2015 Chris Craik <ccraik@google.com> Reorganize hwui test directories

Now test-only common files reside in tests/common, and each test
executable type (macrobench, microbench, and unit) has a subdir there.

This change means the shared lib no longer has test code in it, and
sets up a means for scenes to be shared between tests.

Change-Id: I37b081f6977300e03fdd961b8e6439fde730605e
akedOpStateTests.cpp
anvasStateTests.cpp
lipAreaTests.cpp
amageAccumulatorTests.cpp
eviceInfoTests.cpp
atVectorTests.cpp
ayerUpdateQueueTests.cpp
inearAllocatorTests.cpp
ffscreenBufferPoolTests.cpp
pReordererTests.cpp
ecordingCanvasTests.cpp
tringUtilsTests.cpp
ectorDrawableTests.cpp
ow_to_run.txt