Chris Craik
1bc4ee4506
Cleanup cached state in TestUtils::runOnRenderThread
...
Change-Id: I097217c80db5c509d97ef050633946110fccbc80
2016-02-19 15:57:45 -08:00
Chris Craik
e8c3c813b0
Fix TextDropShadowCacheTests and glyph_t everywhere
...
Change-Id: I943eae4e9408c77bdfba6304ba7ee3e862351a41
2016-02-08 22:45:22 +00:00
Florin Malita
dd93728b46
Merge "Add internal Canvas save flags"
2016-01-26 17:00:37 +00:00
John Reck
975591a7af
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
2016-01-25 16:15:14 -08:00
Florin Malita
eecff56fed
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
2016-01-25 15:48:00 -05:00
John Reck
7d569db936
Merge "Hard-abort tests if LOG_ALWAYS_FATAL"
2016-01-19 15:38:16 +00:00
John Reck
f1dafb5962
Hard-abort tests if LOG_ALWAYS_FATAL
...
Bug: 26591625
Also fixes it so debuggerd runs and we get stacks
Change-Id: I55b376e6a4e12ddcd21fa251fbfe5bd521fc0985
2016-01-15 16:58:23 -08:00
John Reck
7db5ffb7db
Revert "Revert "Fix leak in unclipped save layer""
...
This reverts commit a6fc36d4cd7f27147fd304960acdd1d2f47fc1c6.
Change-Id: I6b96afe4a32dc894d5b17cfb870b45063257aed2
2016-01-15 13:59:37 -08:00
Daniel Chapin
a6fc36d4cd
Revert "Fix leak in unclipped save layer"
...
This reverts commit 8e068d5fd38dd103a122215fb6d185135182edf3.
Change-Id: Icd8ad5a2450db34aacecf748d6103df9faaa4c81
2016-01-15 03:02:58 +00:00
John Reck
8e068d5fd3
Fix leak in unclipped save layer
...
Change-Id: I31f146af2cb6f5cb8dd19bb0feff0ae35b864eba
2016-01-14 16:28:28 -08:00
John Reck
cbc5bd57f0
Merge "Track texture memory globally"
2016-01-14 21:49:42 +00:00
John Reck
e5da4ef971
Trap SIGABRT in RenderThread for unit tests
...
Change-Id: Icc1039543d975497808a8062e9d909537c4a29c9
2016-01-14 13:43:55 -08:00
John Reck
38e0c32852
Track texture memory globally
...
Also mostly consolidates texture creation
Change-Id: Ifea01303afda531dcec99b8fe2a0f64cf2f24420
2016-01-14 13:42:12 -08:00
Chris Craik
7435eb148e
Unclipped savelayer support in new renderer
...
bug:22480459
Change-Id: I89dd5de8d7d008a1e298d227d767aabff5c96e27
2016-01-08 16:05:35 -08:00
Chris Craik
982dcf3eff
Merge "Support for stencil clipping in layers"
2016-01-05 18:33:54 +00:00
Chris Craik
e5b50197e8
Support for stencil clipping in layers
...
bug:22480459
Change-Id: Ic9e8652379524ccc46d8722ce49f9190b08a2abc
2016-01-05 10:18:35 -08:00
Chris Craik
f5baedb000
Merge "Stencil support in new recorder/reorderer"
2016-01-05 17:54:47 +00:00
Chris Craik
e4db79de12
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
2016-01-04 17:00:03 -08:00
John Reck
f43f627fc9
Merge "Add some options to macrobench"
2016-01-04 15:26:18 +00:00
Chris Craik
a2a70723b8
Simplify ClipArea to prefer Rect args
...
Change-Id: I8af83d01dc5dd8009a0cd235dd8b59dab61d8560
2015-12-17 23:31:44 +00:00
John Reck
682573c84b
Add some options to macrobench
...
Change-Id: If8d5f5d3ace050577986a554182b2b66fd2257e1
2015-12-16 16:40:02 -08:00
Chris Craik
d2dfd8f128
Add TextureView support to new renderer/reorderer
...
bug:22480459
Change-Id: I2e4c0bc6b904706132f3f5087ededc9cac9b40fb
2015-12-16 15:35:40 -08:00
Chris Craik
d7448e65e2
Add TextOnPath support to new reorderer/renderer
...
bug:22480459
Change-Id: I302048ec09901420c15003e21e44a551cc59c7ad
2015-12-16 10:27:17 -08:00
Chris Craik
268a9c0f29
Add property animations to new reorderer/renderer
...
bug:22480459
Change-Id: Id8091038004245a56deb48bf3625edfd08ab8681
2015-12-10 11:09:27 -08:00
Chris Craik
c7fa843656
Add shape animation test case
...
Change-Id: Ie4c99218c3ae7f08250e2a77f11263d9f68ec861
2015-12-09 13:35:21 -08:00
Chris Craik
27e58b4f54
Build hwui test scenes as common test code
...
And start using them in other non-macrobench tests
Change-Id: If155b531f3c89f97491001c06d1996df527b9f85
2015-12-07 16:41:35 -08:00
Chris Craik
15c3f19a44
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
2015-12-07 12:34:46 -08:00
Chris Craik
8160f20b0a
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
2015-12-02 15:25:10 -08:00