Chris Craik
e84a208317
Add overrides and switch to nullptr keyword
...
Changes generated with clang-modernize.
Additionally, fixed some struct-vs-class usage to make clang happy.
Change-Id: Ic6ef2427401ff1e794d26f21f7b44868fc75fb72
2014-12-22 14:56:08 -08:00
Chris Craik
3c96a2b8fe
am 1fb141f8: am 9c5b7b09: am ee660651: Merge "Improve DisplayList state output" into lmp-mr1-dev
...
* commit '1fb141f83bad3884e2199c7acdc23932afaefe0c':
Improve DisplayList state output
2014-11-26 12:09:28 +00:00
Chris Craik
b5a5435a77
Improve DisplayList state output
...
bug:17991451
Log hardware layers and shadow casting
Change-Id: I2ae40f270d18f5b2a5af985513e0f5e8841216c2
2014-11-21 16:23:00 -08:00
Tom Hudson
2dc236b2ba
Clean up physical coupling
...
Narrow the use of #include directives in hwui, replacing with forward
declarations where straightforward. Speeds compiles; doesn't do any
restructuring of code.
Change-Id: Icac2baffb5896f55d8c6718e9bd9d4bfa02d3ca0
2014-10-15 15:51:39 -04:00
Chris Craik
9fa364dc72
Account for alpha in hasShadow()
...
bug:17587220
Change-Id: Ic7f2dea95302b713dc93edb4a0193a7be77fb2eb
2014-09-19 16:04:45 -07:00
Chris Craik
5c75c52e04
Add shadow/clipping properties to HierarchyViewer
...
bug:15777980
Change-Id: Ic3d24326f585d2d2b9889486f0ed322eb98b5af8
2014-09-05 15:23:08 -07:00
Chris Craik
74cf7e6a25
Cap scales used for tessellation with minimum and maximum
...
bug:15615144
Change-Id: I3e833864af3a7b34e444bd13db34b6c90496a8b6
2014-08-07 22:26:55 +00:00
John Reck
3b52c03f50
clamp & round alpha
...
Bug: 16842521
Change-Id: Ifd93f40b5751746835c9d56bb3c2b5ba700bdccc
2014-08-06 10:19:32 -07:00
Chris Craik
af4d04cab6
Use RoundRect clipping for circle reveal animation
...
bug:16630975
Also, remove inverse clipping feature from reveal animator.
Change-Id: I770a4eb48cd123b0ca0f39d16a0f3eefd1be3653
2014-07-30 17:15:50 +00:00
Chris Craik
a753f4c6cb
Move ClipBounds to native
...
bug:15698973
Also simplifies RenderNode LTRB properties
Change-Id: I09263a697b71d325a46b57cd5250a2b165f251c8
2014-07-25 20:56:50 +00:00
Chris Craik
75af3f3c96
Merge "Add abort logging for huge scales and tessellation recursion depth"
2014-06-17 20:49:29 +00:00
Chris Craik
fe02b4b344
Add abort logging for huge scales and tessellation recursion depth
...
bug:15615144
Change-Id: I275732eb97f9d5179beed23eecd2ee3cc7112e10
2014-06-17 12:23:29 -07:00
John Reck
293e868bfc
Handle Z in DA
...
Bug: 15671775
Change-Id: I33c7a70e78ef523ffd03165fb6c39d8e04d04f1f
2014-06-17 10:56:00 -07:00
John Reck
25fbb3fa11
Move LayerType to RenderNode
...
Change-Id: Icb79a5015cb0362b1f3a66d09007450730135a97
2014-06-12 19:25:33 -07:00
John Reck
a447d29c65
Fix DA bugs
...
* Now aware of transform of DrawDisplayListOp
* Supports projection
Bug: 15539677
Bug: 15506680
Change-Id: Ic16f482cd48c3add12e49eca529281be12b93491
2014-06-12 09:13:45 -07:00
John Reck
e4267ea4f2
Even FASTER damage calculations!
...
* Now with more native!
* Less matrix math thanks to bulk-property-update support!
* Zero JNI on the View.damageInParent() path!
* Fully aware of RT-driven animators!
* Likely full of new and exciting bugs!
* But it also fixes at least 1 existing invalidate bug!
Change-Id: Ie0773f85a60850ff2668370c58defef2e8aa079f
2014-06-04 12:21:26 -07:00
John Reck
79c7de77a7
Have all the setters return changed
...
Change-Id: Ie5e755058a7094bb0c2fce60ec3cef47c23823ce
2014-06-04 11:01:04 -07:00
Chris Craik
2bcad17675
Remove Path based outline clipping
...
Change-Id: Ic5ccd98a7517b46e768e53d6b0c8fdcda305fb2c
2014-05-14 18:11:23 -07:00
John Reck
e45b1fd03b
RenderThread animator support
...
Change-Id: Icf29098edfdaf7ed550bbe9d49e9eaefb4167084
2014-04-29 10:42:11 -07:00
Chris Craik
cc39e16cb9
Add elevation, Z properties to View
...
Change-Id: I3dd3b683a66e248a0fdf2ca69d1e962615b0daf9
2014-04-28 14:33:33 -07:00
John Reck
f7483e3af0
Simplify matrix calculations
...
Bug: 13913604
Change-Id: I2c0f85a34e1e520050a5a6131306d6b7c352d827
2014-04-11 12:57:53 -07:00
Chris Craik
49e6c73913
Move most TransformationInfo properties to RenderNode
...
This change dedupes the various properties that were represented both
in TransformationInfo, and RenderProperties on the native side.
RenderNode (and its associated properties) are now permanently
attached to a View in SW or HW. The native copy of these properties
are their sole representation.
Alpha to come in a later CL.
Also fixed issue with copying RenderNode's transform, and added
support of deleting RenderNodes in software rendering.
Change-Id: Ideb6e7f32b780e87aa1c32637c368356b3eee3a1
2014-04-02 18:38:25 -07:00
Chris Craik
8c271ca63b
Add private circular reveal API on View/RenderNode
...
Change-Id: I139c8e12b354083149a665f6768f3f6931a8dd15
2014-03-25 16:03:48 -07:00
John Reck
d0a0b2a314
Add stagingProperties
...
Change-Id: Ic7de551f8843fd70a77f738e33028e25c020bb3c
2014-03-24 15:31:34 -07:00
Chris Craik
b49f446c98
Rework Outline API, remove isolatedZVolume remnants
...
Change-Id: I30c2fe832dcb98fa6329b1a595b3d3aafbdcad6b
2014-03-24 11:37:06 -07:00
Chris Craik
34f67f26e3
Remove castsShadow and globalCamera APIs
...
Change-Id: I5c1c375f45946609b1635d952c5adf55e23bdd60
2014-03-17 13:24:08 -07:00
Chris Craik
618236fe88
Revert "Remove castsShadow and globalCamera APIs"
...
This reverts commit 0334c314a5721f49b4d172a9cefe10f157cb28a4.
Change-Id: I64714d17fb877e1b43c65eb44820d1128281c7a2
2014-03-17 19:27:49 +00:00
Chris Craik
0334c314a5
Remove castsShadow and globalCamera APIs
...
Change-Id: I4d81a7849eba60a1a9debce74eedd55d6331842d
2014-03-17 18:13:31 +00:00
John Reck
acb6f07623
Split out RenderProperties
...
Change-Id: Ia9888b4fb2c849d95a8c395cafef2e2294a23aae
2014-03-12 23:32:24 +00:00