• Home
  • History
  • Annotate
  • only in /frameworks/base/libs/hwui/tests/common/
History log of /frameworks/base/libs/hwui/tests/common/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
37413289478a965336239c731ebfea37ac4dde28 13-May-2016 Chris Craik <ccraik@google.com> Fix hw layer overdraw/update visualization

Fixes: 28748255

Change-Id: I83b531cdf5e4407fd17edd72d96e6189924926fa
estUtils.h
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
estUtils.h
51f2d606dcbfba3cc5b03dfea37c1304b91c232f 06-Apr-2016 John Reck <jreck@google.com> Fix some edge cases

Bug: 27709981

This desperately needs a refactor, but to keep
the current (really needed & nice) behavior of
dispatching after sync finishes would be difficult
to handle cleanly without lots of ripping so... #yolo

Change-Id: I831a06c6ae7412a062720d68ecbe3085190f0258
estUtils.h
cenes/GlyphStressAnimation.cpp
cenes/ListViewAnimation.cpp
44b49f070aafe8ad44efae87341121cce49ff11c 25-Mar-2016 John Reck <jreck@google.com> Add a callback for rendernode parentcount=0

Bug: 27709981
Fixes: 22565656

Change-Id: I1cb4461baf9069dc4e7ca6de10d5862578c107f4
estUtils.h
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
estUtils.cpp
243e85b2e443def1ef47a180e824b36f513c8db8 25-Mar-2016 Chris Craik <ccraik@google.com> Fix TextureLayer test

Fixes: 27823158

Change-Id: Ifed0d6119349662a23899935bfe5f3bacb361617
estUtils.cpp
estUtils.h
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
estUtils.cpp
estUtils.h
cenes/GlyphStressAnimation.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
cenes/GlyphStressAnimation.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
estUtils.cpp
estUtils.h
cenes/ListViewAnimation.cpp
cenes/TextAnimation.cpp
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
estUtils.cpp
estUtils.h
cenes/ListViewAnimation.cpp
cenes/TextAnimation.cpp
a7f6bba1a3565c19715e878dfe7f0e01022944ff 16-Mar-2016 sergeyv <sergeyv@google.com> Move text logic from jni to hwui level

bug:25865834
Change-Id: I2d8c9c9544afcb5ce1784f732aed3e54e0eda372
estUtils.cpp
estUtils.h
cenes/ListViewAnimation.cpp
cenes/TextAnimation.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
estUtils.cpp
estUtils.h
1bc4ee4506b0a113d447d54909e1f8f5c1205563 20-Feb-2016 Chris Craik <ccraik@google.com> Cleanup cached state in TestUtils::runOnRenderThread

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

Change-Id: I943eae4e9408c77bdfba6304ba7ee3e862351a41
estUtils.cpp
estUtils.h
dd93728b461c686ee4c5f329509418fe9342cb8d 26-Jan-2016 Florin Malita <fmalita@google.com> Merge "Add internal Canvas save flags"
975591a7af883d866d86ab819e164c6004694744 23-Jan-2016 John Reck <jreck@google.com> Add fine-grained debug layer

Full GLES error checking layer via -include
trickery. Change DEBUG_OPENGL to a level system.

HIGH = every GL call is error checked
MODERATE = checkpointing at interesting spots
LOW = only asserts there are no errors at the end of a frame
or when the FBO changes
NONE = AIN'T GOT NO TIME FOR ERRORS GOTTA GO FAST!

Change-Id: Ibe81aae93d942059c4ddf1cbb11c828b7ce4c10b
ullegl.cpp
ullgles.cpp
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
cenes/ClippingAnimation.cpp
cenes/SaveLayerAnimation.cpp
cenes/ShapeAnimation.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
estUtils.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
estUtils.h
a6fc36d4cd7f27147fd304960acdd1d2f47fc1c6 15-Jan-2016 Daniel Chapin <chapin@google.com> Revert "Fix leak in unclipped save layer"

This reverts commit 8e068d5fd38dd103a122215fb6d185135182edf3.

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

Change-Id: I31f146af2cb6f5cb8dd19bb0feff0ae35b864eba
estUtils.h
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
estUtils.cpp
estUtils.h
38e0c32852e3b9d8ca4a9d3791577f52536419cb 10-Nov-2015 John Reck <jreck@google.com> Track texture memory globally

Also mostly consolidates texture creation

Change-Id: Ifea01303afda531dcec99b8fe2a0f64cf2f24420
estUtils.h
7435eb148e72382126e9073183e881357bb38a8b 08-Jan-2016 Chris Craik <ccraik@google.com> Unclipped savelayer support in new renderer

bug:22480459

Change-Id: I89dd5de8d7d008a1e298d227d767aabff5c96e27
estUtils.h
cenes/SaveLayerAnimation.cpp
982dcf3effcfc9d71ca998e91dc97776fa4631d5 05-Jan-2016 Chris Craik <ccraik@google.com> Merge "Support for stencil clipping in layers"
e5b50197e870aa6d22c3893f5d25f4279f06e5c3 05-Jan-2016 Chris Craik <ccraik@google.com> Support for stencil clipping in layers

bug:22480459

Change-Id: Ic9e8652379524ccc46d8722ce49f9190b08a2abc
cenes/ClippingAnimation.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
cenes/ClippingAnimation.cpp
cenes/TestSceneBase.h
f43f627fc97e70d79345192654c65ba87f0a4efb 04-Jan-2016 John Reck <jreck@google.com> Merge "Add some options to macrobench"
a2a70723b8cbda4354d23f901f995623e819012c 17-Dec-2015 Chris Craik <ccraik@google.com> Simplify ClipArea to prefer Rect args

Change-Id: I8af83d01dc5dd8009a0cd235dd8b59dab61d8560
estUtils.h
682573c84b7c21dc8ce4a2375da3961147442c4a 30-Oct-2015 John Reck <jreck@google.com> Add some options to macrobench

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

bug:22480459

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

bug:22480459

Change-Id: I302048ec09901420c15003e21e44a551cc59c7ad
estUtils.cpp
estUtils.h
cenes/OvalAnimation.cpp
cenes/TextAnimation.cpp
268a9c0f29c16a64d5819c7dbe8b0633baedab83 10-Dec-2015 Chris Craik <ccraik@google.com> Add property animations to new reorderer/renderer

bug:22480459

Change-Id: Id8091038004245a56deb48bf3625edfd08ab8681
cenes/OpPropAnimation.cpp
c7fa84365698bca8467133c7f6a279c1d672fe4b 09-Dec-2015 Chris Craik <ccraik@google.com> Add shape animation test case

Change-Id: Ie4c99218c3ae7f08250e2a77f11263d9f68ec861
cenes/ShapeAnimation.cpp
27e58b4f54d693ff1db7ab2edb5d47ca296c1278 07-Dec-2015 Chris Craik <ccraik@google.com> Build hwui test scenes as common test code

And start using them in other non-macrobench tests

Change-Id: If155b531f3c89f97491001c06d1996df527b9f85
estContext.cpp
estContext.h
estScene.cpp
estScene.h
cenes/HwLayerAnimation.cpp
cenes/ListViewAnimation.cpp
cenes/OvalAnimation.cpp
cenes/PartialDamageAnimation.cpp
cenes/RecentsAnimation.cpp
cenes/RectGridAnimation.cpp
cenes/SaveLayerAnimation.cpp
cenes/ShadowGrid2Animation.cpp
cenes/ShadowGridAnimation.cpp
cenes/TestSceneBase.h
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
estUtils.h
cenes/ListViewAnimation.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
estScene.h
estUtils.cpp
estUtils.h
ullegl.cpp
ullgles.cpp
cenes/HwLayerAnimation.cpp
cenes/ListViewAnimation.cpp
cenes/OvalAnimation.cpp
cenes/PartialDamageAnimation.cpp
cenes/RecentsAnimation.cpp
cenes/RectGridAnimation.cpp
cenes/SaveLayerAnimation.cpp
cenes/ShadowGrid2Animation.cpp
cenes/ShadowGridAnimation.cpp
cenes/TestSceneBase.h