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
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
3e9999bd866fac71c72e6b484a9836c87c328a08 |
|
20-Jan-2017 |
sergeyv <sergeyv@google.com> |
Explicitly destroy Layer in DeferredLayerUpdater on destroyHardwareResources() Change-Id: I0987104eabda9a2a302b9e765213aad48f93aea4 Test: refactoring CL. Existing tests still pass bug:33753499
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
5e4389823191aafff7422561f134dbdb391e0a2d |
|
25-Jan-2017 |
Mike Reed <reed@google.com> |
use new clipbounds api Allows us to remove SK_SUPPORT_LEGACY_GETCLIPBOUNDS flag Change-Id: I7c6665b4eb67c58fe747c07b8b87d58fe9b10120
/frameworks/base/libs/hwui/tests/common/TestUtils.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
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
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
/frameworks/base/libs/hwui/tests/common/TestUtils.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
/frameworks/base/libs/hwui/tests/common/TestUtils.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
/frameworks/base/libs/hwui/tests/common/TestUtils.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
/frameworks/base/libs/hwui/tests/common/TestUtils.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
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
7dc370bfe3223dfbcb368e0006c688dfd668ab01 |
|
17-Jun-2016 |
sergeyv <sergeyv@google.com> |
HWUI: add leak check for macrobench Change-Id: Id2037921fdbe599b3c722f2e1d17b99f3b74361c
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
df55ced813357bfa20fe2685da8a6684e65bcbd1 |
|
28-Mar-2016 |
Chris Craik <ccraik@google.com> |
Merge "Consume TextureView matrix safely" into nyc-dev am: 3839ab1 am: 2841963 * commit '2841963e51c7d75e27b57b7c29824df5c5b45da3': Consume TextureView matrix safely
|
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
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
0f0f6c21f423c6a2f7d8f0c92771dcdf1c395bef |
|
26-Mar-2016 |
Chris Craik <ccraik@google.com> |
Merge "Fix TextureLayer test" into nyc-dev am: fd39aa1 am: 716ae9c * commit '716ae9c350d34fe12d610fec5ec11eef35cf4a93': Fix TextureLayer test
|
243e85b2e443def1ef47a180e824b36f513c8db8 |
|
25-Mar-2016 |
Chris Craik <ccraik@google.com> |
Fix TextureLayer test Fixes: 27823158 Change-Id: Ifed0d6119349662a23899935bfe5f3bacb361617
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
cab9d4e19922af417cd426e02cdb8f2237dd6903 |
|
25-Mar-2016 |
Derek Sollenberger <djsollen@google.com> |
resolve merge conflicts of 928b30a to master Change-Id: I476d653a00e62d171f29e1d5a2f800a0f3a75f00
|
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
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
2a0732996dec1d03c575b98ea9abff75534f51d5 |
|
22-Mar-2016 |
sergeyv <sergeyv@google.com> |
Merge "Reland: Move text logic from jni to hwui level" into nyc-dev am: d8e91f6 am: b08bd4e * commit 'b08bd4e2a3dedeee184e7de7436ecf0402653008': Reland: Move text logic from jni to hwui level
|
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
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
4d808f50671a217fb05ee7ca47293c35c2e05b2d |
|
21-Mar-2016 |
Sergei Vasilinetc <sergeyv@google.com> |
Merge "Revert "Move text logic from jni to hwui level"" into nyc-dev am: 6847953 am: 30e2bb8 * commit '30e2bb845a66c3103cb23fa01d616a84b6fa565d': Revert "Move text logic from jni to hwui level"
|
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
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
f41fe9a85916e79d69601603688dd0a639377746 |
|
21-Mar-2016 |
sergeyv <sergeyv@google.com> |
Merge "Move text logic from jni to hwui level" into nyc-dev am: 49658d4 am: b568e44 * commit 'b568e44f1ba32a3e879a820558eeaf2c2349090e': Move text logic from jni to hwui level
|
a7f6bba1a3565c19715e878dfe7f0e01022944ff |
|
16-Mar-2016 |
sergeyv <sergeyv@google.com> |
Move text logic from jni to hwui level bug:25865834 Change-Id: I2d8c9c9544afcb5ce1784f732aed3e54e0eda372
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
bdd6a479c6b6869fea8ffdd050c2f16caf042605 |
|
08-Mar-2016 |
John Reck <jreck@google.com> |
resolve merge conflicts of 9a9bb774cd to master Change-Id: I4093e5c5449423370689e780e55905131ea6f182
|
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
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
f4cf5d3b019fa60e96219578a4c6ad1a90c7b665 |
|
22-Feb-2016 |
Ben Wagner <bungeman@google.com> |
Use utf32_from_utf8_at instead of SkUTF8_NextUnichar. Skia would like to make the SkUTF* methods private to Skia. This CL makes this Android test code use Android methods for the same function. Change-Id: I544847c70030c818aa72dd3ec21b1926834a3e78
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
1bc4ee4506b0a113d447d54909e1f8f5c1205563 |
|
20-Feb-2016 |
Chris Craik <ccraik@google.com> |
Cleanup cached state in TestUtils::runOnRenderThread Change-Id: I097217c80db5c509d97ef050633946110fccbc80
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
e8c3c813b0e3ac98304b17a751ce6e436e252bd9 |
|
06-Feb-2016 |
Chris Craik <ccraik@google.com> |
Fix TextDropShadowCacheTests and glyph_t everywhere Change-Id: I943eae4e9408c77bdfba6304ba7ee3e862351a41
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
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
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
e5da4ef971258193cd1e89737a12b95b6ac244bb |
|
14-Jan-2016 |
John Reck <jreck@google.com> |
Trap SIGABRT in RenderThread for unit tests Change-Id: Icc1039543d975497808a8062e9d909537c4a29c9
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
d2dfd8f128b632ed99418ab2b32949c939a9a369 |
|
16-Dec-2015 |
Chris Craik <ccraik@google.com> |
Add TextureView support to new renderer/reorderer bug:22480459 Change-Id: I2e4c0bc6b904706132f3f5087ededc9cac9b40fb
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|
d7448e65e243754f31890baef29dff187dc2e5e5 |
|
15-Dec-2015 |
Chris Craik <ccraik@google.com> |
Add TextOnPath support to new reorderer/renderer bug:22480459 Change-Id: I302048ec09901420c15003e21e44a551cc59c7ad
/frameworks/base/libs/hwui/tests/common/TestUtils.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
/frameworks/base/libs/hwui/tests/common/TestUtils.cpp
|