• Home
  • History
  • Annotate
  • only in /frameworks/base/libs/hwui/tests/common/scenes/
History log of /frameworks/base/libs/hwui/tests/common/scenes/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7d73fc2303805a207e67eeee750c961618fb0e6b 29-Sep-2016 Stan Iliev <stani@google.com> Add a new macrobench to test layer resize

Create a new HWUI macrobench to test hardware layer resize code path.

Test: Executed the new test on bullhead device with "adb shell
/data/benchmarktest64/hwuimacro hwlayersize --onscreen --wait-for-gpu -c
1000".

Change-Id: I9ed411d76ac3d51339a69add8ab1843c3256994a
wLayerSizeAnimation.cpp
2bd7d98fe844ebd6632a55eee9abf6d18651caf5 28-Feb-2017 Mathias Agopian <mathias@google.com> fallout from getting rid of IGraphicBufferAlloc

Test: compiled & run
Bug: cleanup
Change-Id: I1590105d3abef985c2ae7c1a03cdf5fd2ec4bef9
wBitmapInCompositeShader.cpp
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
itmapShaders.cpp
0091181f32f023282205f74806dfa5146bb7c75e 03-Feb-2017 Chris Craik <ccraik@google.com> Add ShadowShaderAnimation benchmark

Bug: 34809371
Test: manual

New benchmark uses several levels of overdraw from just shadows to benchmark
shadow shader performance.

Tessellation workload is minimal, due to simple rect caster shape.

Change-Id: I760961e6d48d44ca61f4e8ebca5760175af34953
hadowShaderAnimation.cpp
49ddb3d558395dda71fcf0a37ac3f8bec386c11b 07-Feb-2017 Chris Craik <ccraik@google.com> Merge "Add simple gradient and colormatrix benchmarks"
f6a409067c5df1593c8c6b94304c70220d37901c 04-Feb-2017 Chris Craik <ccraik@google.com> Add simple gradient and colormatrix benchmarks

Bug: 34809371
Test: manual

Change-Id: I3af38c835c43f7c4a1d2976c7263d37dd1dc7084
impleColorMatrixAnimation.cpp
impleGradientAnimation.cpp
010b6a58c7d19ba2ef68295819fce00b37595dec 27-Jan-2017 Stan Iliev <stani@google.com> Add UiBench jank and macrobench tests for saveLayer performance

Create 2 jank tests and 1 macrobench that measure saveLayer
performance:
- Fling a ListView, which has a vertical fading edge.
- Draw a canvas with 20 saveLayer/restore interleaved with other
drawText and drawRect ops.

Test: built and ran UiBench jank and macrobench tests.
Change-Id: I5a50feb7431d597c92c7a49031505d41f397d175
aveLayer2Animation.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
lyphStressAnimation.cpp
91d6354cde90b6625d4af6a5d909d886bf602a49 15-Dec-2016 sergeyv <sergeyv@google.com> HWUI: fix support RGB_565 for hardware bitmaps

Test: hwuimacro hwBitmap565
bug:30999911
Change-Id: Ie4128aba95a92041b7388c46d0b2109feaae302a
wBitmap565.cpp
6c67f1d04591f44bccb476d715a005ad5bbdf840 14-Dec-2016 Mike Reed <reed@google.com> SkClipOp is now an enum class

Change-Id: If423dd013a264162ae0b7674a0eeef34bc2cdaae
lippingAnimation.cpp
aveLayerAnimation.cpp
hapeAnimation.cpp
9c97e48fbe389180b4b64845f093c53c92c374f3 13-Dec-2016 sergeyv <sergeyv@google.com> HWUI: set correct sampler for external texture in shaders

Test: hwuimacro hwbitmapcompositeshader
bug:30999911
Change-Id: Ic63f7109a4a7069b62c0b21efae2d4ba7e6d64be
wBitmapInCompositeShader.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
itmapShaders.cpp
6e49c9f007c879f05b035c40c0ba543c00f9d0d0 02-Dec-2016 Mike Reed <reed@google.com> switch over clip calls to use SkClipOp instead of SkRegion::Op

Change-Id: I67d23c487b5249bc31d96e3b2393f693c0b2bcff
lippingAnimation.cpp
aveLayerAnimation.cpp
hapeAnimation.cpp
59eecb526adc5bd7041e7b6147bfcc40dd2c200e 18-Nov-2016 sergeyv <sergeyv@google.com> Support readback from hardware bitmaps

Test: hwuimacro readbackFromHBitmap --onscreen.
bug:30999911
Change-Id: I369c069c40cb0f9adae5a94501815f29c2d7df0f
eadbackFromHardwareBitmap.cpp
554ffeb8b7c836da43a637c59eedfc617895b19d 16-Nov-2016 sergeyv <sergeyv@google.com> Support hardware bitmaps in bitmap shaders

Test: hwuimacro bitmapShaderEglImage --onscreen.
bug:30999911
Change-Id: I9d16a1c217a4474841794cf27ce49e3f7823678e
itmapShaders.cpp
694d499662838123f474f41b31dea84ec5d563f0 27-Oct-2016 sergeyv <sergeyv@google.com> Routine to upload hardware bitmaps

Change-Id: Id8283a0975325e6830d55fd1e33c5f292a1e9be0
Test: refactoring cl.
bug:30999911
itmapFillrate.cpp
fc9999505a36c66892d7ccce85187936105f4f36 17-Oct-2016 sergeyv <sergeyv@google.com> Pass Bitmap instead of SkBitmap for bitmap rect operation
Test: refactoring cl.
bug:32216791

Change-Id: I66d19194c57b3aa2c400aa87acffc774a533776a
ecentsAnimation.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
istViewAnimation.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
lippingAnimation.cpp
lyphStressAnimation.cpp
wLayerAnimation.cpp
istOfFadedTextAnimation.cpp
pPropAnimation.cpp
valAnimation.cpp
artialDamageAnimation.cpp
ecentsAnimation.cpp
ectGridAnimation.cpp
oundRectClippingAnimation.cpp
aveLayerAnimation.cpp
hadowGrid2Animation.cpp
hadowGridAnimation.cpp
hapeAnimation.cpp
extAnimation.cpp
5abc1fb1d4c3956f27948cb68e601675c8fea85c 22-Aug-2016 John Reck <jreck@google.com> Add RoundRectClipping benchmarks

Change-Id: I9a30fbe22d40d37428e29eb328ee03ba9582ee8e
oundRectClippingAnimation.cpp
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
lippingAnimation.cpp
lyphStressAnimation.cpp
wLayerAnimation.cpp
istOfFadedTextAnimation.cpp
istViewAnimation.cpp
pPropAnimation.cpp
valAnimation.cpp
artialDamageAnimation.cpp
ecentsAnimation.cpp
ectGridAnimation.cpp
aveLayerAnimation.cpp
hadowGrid2Animation.cpp
hadowGridAnimation.cpp
hapeAnimation.cpp
extAnimation.cpp
5e00c7ce063116c11315639f0035aca8ad73e8cc 07-Jul-2016 Chris Craik <ccraik@google.com> Delete old rendering pipeline

fixes: 30002246

Change-Id: I45df0e924708526cee045b14c291bd23aa1a92db
estSceneBase.h
99a8e2faac20b3480ada3e9ded7af136640127ce 17-Jun-2016 Seigo Nonaka <nona@google.com> Merge "Follow the minikin namespace changes"
06a62f6f5379aa5f11f6da3e7ee066e9f640b91a 16-Jun-2016 sergeyv <sergeyv@google.com> Test scene that mocks list view with text items faded on left edge.

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

Bug: 29233740
Change-Id: I0ec7c5c88e64daa626751d3a03e24b9c36521c17
lyphStressAnimation.cpp
4e2838ead6405acb407c072bdf01bc7b77c67680 08-Apr-2016 John Reck <jreck@google.com> Merge "Fix some edge cases" into nyc-dev am: 4a62eff
am: c01a9b6

* commit 'c01a9b6a9ba2662fafa6f4152ca9986faacd2d66':
Fix some edge cases

Change-Id: I52d65ed7c5da33b33a4f98953800c1dedea2bf09
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
lyphStressAnimation.cpp
istViewAnimation.cpp
bd9595dfa29ef4c51a6e190ed7dcb9144ee76504 28-Mar-2016 Ben Wagner <benjaminwagner@google.com> Replace SkCanvas::drawText with SkCanvas::drawPosText.

Change-Id: I2b9f00970f85b39432f2377e89d0bb2670282ec4
istViewAnimation.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
lyphStressAnimation.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
lyphStressAnimation.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
istViewAnimation.cpp
extAnimation.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
istViewAnimation.cpp
extAnimation.cpp
a7f6bba1a3565c19715e878dfe7f0e01022944ff 16-Mar-2016 sergeyv <sergeyv@google.com> Move text logic from jni to hwui level

bug:25865834
Change-Id: I2d8c9c9544afcb5ce1784f732aed3e54e0eda372
istViewAnimation.cpp
extAnimation.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
lippingAnimation.cpp
aveLayerAnimation.cpp
hapeAnimation.cpp
7435eb148e72382126e9073183e881357bb38a8b 08-Jan-2016 Chris Craik <ccraik@google.com> Unclipped savelayer support in new renderer

bug:22480459

Change-Id: I89dd5de8d7d008a1e298d227d767aabff5c96e27
aveLayerAnimation.cpp
e5b50197e870aa6d22c3893f5d25f4279f06e5c3 05-Jan-2016 Chris Craik <ccraik@google.com> Support for stencil clipping in layers

bug:22480459

Change-Id: Ic9e8652379524ccc46d8722ce49f9190b08a2abc
lippingAnimation.cpp
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
lippingAnimation.cpp
estSceneBase.h
d7448e65e243754f31890baef29dff187dc2e5e5 15-Dec-2015 Chris Craik <ccraik@google.com> Add TextOnPath support to new reorderer/renderer

bug:22480459

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

bug:22480459

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

Change-Id: Ie4c99218c3ae7f08250e2a77f11263d9f68ec861
hapeAnimation.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
wLayerAnimation.cpp
istViewAnimation.cpp
valAnimation.cpp
artialDamageAnimation.cpp
ecentsAnimation.cpp
ectGridAnimation.cpp
aveLayerAnimation.cpp
hadowGrid2Animation.cpp
hadowGridAnimation.cpp
estSceneBase.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
istViewAnimation.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
wLayerAnimation.cpp
istViewAnimation.cpp
valAnimation.cpp
artialDamageAnimation.cpp
ecentsAnimation.cpp
ectGridAnimation.cpp
aveLayerAnimation.cpp
hadowGrid2Animation.cpp
hadowGridAnimation.cpp
estSceneBase.h