Chris Craik
544e524db6
Fix arc 360 degree sweep rendering
...
bug:15947035
Change-Id: I83715968cb90f4fcf39b25fb283d241d1a1284b5
2014-07-11 18:15:34 +00:00
Chris Craik
73842582fe
Abort on shader link/compile failure
...
b/16207378
Change-Id: I12debb0846214a08459ad25454653a003f034402
2014-07-11 00:32:27 +00:00
ztenghui
83f7ee8d12
Remove the unnessary log
...
We still need to investigate the underlying problem and fix it.
bug:16015708
Change-Id: If38b550d5af990d5aaa6633ee129a61e927d66c1
2014-07-09 23:53:54 +00:00
John Reck
345c3099ae
Merge "Fix layers lifecycle issues"
2014-07-08 17:33:57 +00:00
John Reck
dcba6725e8
Fix layers lifecycle issues
...
Bug: 16118540
Fix an issue where we could have a reference to a Layer after
the GL context was destroyed
Change-Id: I7bfd909d735ca6b942ebe188fc10099422eb6d95
2014-07-08 14:14:55 -07:00
John Reck
8360153891
Revert "Fix destroyHardwareResources"
...
This reverts commit bac48c4d0c6f71f67074a430cd365ea2e15924b8.
Change-Id: Iba8b729d5e91ca31976fc2bdf9c1dd5fdb19de9a
2014-07-08 15:44:41 +00:00
Chris Craik
7f87e8acbb
Merge "Query outline on background size change"
2014-07-05 02:59:43 +00:00
Chris Craik
0f632046dd
Query outline on background size change
...
Background bounds are updated out of sync with View bounds, so query
as they change.
Change-Id: I9c94df17bac42dfcd4bb93b31903b59ebb58204b
2014-07-07 19:52:58 -07:00
Chris Craik
59744b79ec
Add hack for custom re-rasterization buckets
...
bug:14083128
Moves all of the font transform management into
OpenGLRenderer::findBestFontTransform(), and now simply passes down
final rasterization transforms into the FontRenderer.
Change-Id: Ie02752e6af863347b142367c7d628db5f9fc2998
2014-07-07 19:14:55 +00:00
John Reck
3c2b7fa8c5
Add missing requireGlContext
...
Change-Id: I7100e5e9986f502f66a23ecea07a6057522c43ac
2014-07-07 18:05:00 +00:00
John Reck
32fb6307de
Fix VPA.cancel()
...
Bug: 15978905
Need to make sure we re-sync the UI properties on animator cancel, also
don't animate for 1 frame after cancel() is called
Change-Id: Ib660c0fb195b9f02bd795d03d43ea67bffebb499
2014-07-07 18:04:44 +00:00
Mike Reed
1103b32559
SkBitmap::Config is deprecated, use SkColorType
...
Change-Id: Ic953741325607bf85598c097bb3ab648d4a08996
2014-07-08 15:05:38 -04:00
John Reck
ec0c925480
Fix destroyHardwareResources
...
The UI thread needs to know whether or not the display list is
valid, so bring back View.destroyHardwareResources and instead
have the native side assert that View did the right thing
Change-Id: I4f8dee6e9c13ec7ab520becdc5cfe20e92a76f8f
2014-07-07 23:37:40 +00:00
John Reck
8d8af3c1b7
Fixes to startDelay
...
Bug: 15991758
Don't update the UI thread with final value until after
startDelay
Change-Id: Ie8bffb5a3ace353ec1d82943a4efcbd01c42c28f
2014-07-01 15:32:12 -07:00
John Reck
d907e5b1ef
Merge "Fix onTrimMemory for HardwareRenderer"
2014-06-30 22:27:39 +00:00
John Reck
f47a594f52
Fix onTrimMemory for HardwareRenderer
...
Also fixes detachFunctor possibly drawing after return
Bug: 15189843
Bug: 15990672
Change-Id: I64c48cb674c461a8eeaba407b697e09f72c98ce3
2014-06-30 16:36:26 -07:00
John Reck
711ecaf000
Merge "More cleanups"
2014-06-27 15:56:14 +00:00
John Reck
918ad523b2
More cleanups
...
Change-Id: Id5967944b949a2aec57e4fe9fdcdc04c11b8c35a
2014-06-27 22:34:16 +00:00
Chris Craik
f23b25abfb
Remove isRecording() method from renderers
...
DisplayListRenderer is all that's accessed from java, and is entirely
separate from OpenGLRenderer now.
Change-Id: Ie733be71520c13fdb55dfe3522bb445ae2b50ac1
2014-06-27 17:49:52 -07:00
Chris Craik
906d47fd2b
Deep copy SkPath parameter to PathCache task
...
bug:15440706
Change-Id: I2b5b25f620df838cb1155cc8502d86ad3644c212
2014-06-30 18:02:23 +00:00
John Reck
ca1b3b83bb
Cleanup
...
Change-Id: I8a75e6e32a4cb02e3978503305b4cdce1727e89a
2014-06-27 19:25:16 +00:00
John Reck
68bfe0a37a
Animator refactoring & fixes
...
Tweaks animators to have less unnecessary refcounting
Pull animator management out into seperate class
More control to tweak animator lifecycle, such as doing
Java-side handling of start delay by attaching but not
starting the animator
Change-Id: I4ff8207580ca11fb38f45ef0007b406e0097281c
2014-06-26 10:45:43 -07:00
John Reck
3faf67c9b3
Merge "Fix contants; RT-enable WebView pt2"
2014-06-23 21:44:43 +00:00
John Reck
cd028f336e
Fix contants; RT-enable WebView pt2
...
Bug: 15838537
* Fix kSync_UIRedrawRequired constant value (woops)
* Tell CanvasContext that WebView is now rt-safe
Change-Id: Idf15cf21115c2ca24b8ccd00025e8502864cd87c
2014-06-24 08:44:29 -07:00
Derek Sollenberger
07126e12cc
Cleanup unused includes in the hwui library.
...
Change-Id: I94c188403f5fa541e47a03a3bd1c7cf00c29bf4e
2014-06-24 14:37:07 +00:00
John Reck
6b39324d77
Merge "No-fail invokeFunctor"
2014-06-23 21:44:43 +00:00
John Reck
3b20251a35
No-fail invokeFunctor
...
Bug: 15513308
Bug: 15449247
Change-Id: I13a29f9c8d4975cdda6dcb33b6332c2555ff0f7c
2014-06-23 15:26:49 -07:00
Bo Liu
61606cec5c
Merge "Enable asynchronous RenderThread for WebView"
2014-06-20 21:00:34 +00:00
Bo Liu
826b564486
Enable asynchronous RenderThread for WebView
...
BUG: 12179257
Change-Id: Ib7358dc84a0a58020d178d10b324b9631848c06d
2014-06-23 11:26:03 -07:00
Chris Craik
a7090e0cfd
Update 'DisplayList' vs 'RenderNode' naming in several places
...
Change-Id: I635c6627d098b661fb9b0ba1bd42fa6d7277d287
2014-06-23 09:57:07 -07:00
Chris Craik
3281442aa7
Merge "Wrap ViewGroup content in save/restore to protect composited children"
2014-06-20 02:09:17 +00:00
Chris Craik
80d4902196
Wrap ViewGroup content in save/restore to protect composited children
...
bug:15570351
Pos Z composited children are drawn before the primary restore for a
RenderNode. This means that without an additional save/restore (which
wraps the content) they aren't protected from transformations/clips
that happen within the ViewGroup's DisplayList.
Also changes RenderNode to use OpenGLRenderer tag for displaylist
dumping consistency, and simplifies the entry points into RenderNode
drawing, since the distinction between tree root vs tree internal is
no longer important.
Change-Id: I2621eba0592c74d71f85a91a4ab3d0da2d7468d3
2014-06-20 16:18:58 -07:00
John Reck
b127713b58
Merge "Re-enable ViewPropAnimRT"
2014-06-20 02:09:17 +00:00
John Reck
2218472d23
Re-enable ViewPropAnimRT
...
Change-Id: I2f30547c4e2212747c479760dff4f3f901d1eaf3
2014-06-20 14:05:51 -07:00
Mike Reed
402c8f5a07
Merge "stop using (deprecated) SkBitmap::Config"
2014-06-20 00:30:35 +00:00
Mike Reed
b933055cf3
stop using (deprecated) SkBitmap::Config
...
Change-Id: Ic75b5fc6996578e9d95bd3a220439ec1541d7c3b
2014-06-20 10:28:37 -04:00
John Reck
7aab5a1f9f
Add negative guard
...
Bug: 15631600
Change-Id: Idd7740f58876e73694fafb8ef55ebaff511f6dca
2014-06-20 09:59:56 -07:00
Chris Craik
e48df00575
Merge "Clean up tessellation cache in prep for other tesselation types"
2014-06-18 19:24:54 +00:00
Chris Craik
6ac174b972
Clean up tessellation cache in prep for other tesselation types
...
bug:15536396
Also fixes compilation warning, avoids SkPaint deep copy
Change-Id: I74334f08b1d34c6789aabf968ff62db5bacbed1b
2014-06-18 15:31:55 -07:00
John Reck
c25e506f7f
Throw ISE on too-big-views-with-layers
...
Bug: 12971954
Change-Id: I3ef995e91f236014b0a72a90846ef19ce6dc42b1
2014-06-18 14:31:52 -07:00
John Reck
ce9f308063
Fix dirty calculation for layer updates
...
Bug: 15682142
Defer early return of alpha <= 0 for damage accumulation until
popTransform() so that layer updates will be performed regardless
of alpha
Change-Id: Ifb94dd3ed2d96d610e6f2f3071933903016273a5
2014-06-18 07:19:50 -07: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
Chris Craik
c4fc71dec8
Merge "Interrupt canvas before invoke"
2014-06-17 04:56:28 +00:00
Chris Craik
734df4b427
Interrupt canvas before invoke
...
Change-Id: I5b818958f6255c594339bd10d9efa99e9e2c00d4
2014-06-17 10:15:46 -07:00
John Reck
81efa15fad
Merge "Make sure the root node has a type"
2014-06-17 04:56:28 +00:00
John Reck
2dc223d237
Make sure the root node has a type
...
Bug: 15686491
Change-Id: I4bd64a6470dd704740e99d21cfdbe84805961401
2014-06-17 10:47:11 -07:00
John Reck
293e868bfc
Handle Z in DA
...
Bug: 15671775
Change-Id: I33c7a70e78ef523ffd03165fb6c39d8e04d04f1f
2014-06-17 10:56:00 -07:00
Chris Craik
0732ba5756
am 88b1c9ad: am e709d53f: am 0d28bb47: Merge "Fix the texture ID reuse issue in HWUI."
...
* commit '88b1c9ad87ca6d6faaf824bff4ee9d3c799362e5':
Fix the texture ID reuse issue in HWUI.
2014-06-17 01:31:21 +00:00
Chris Craik
11a8d4f8b9
am 678886fd: am b1fc06a4: am 5e7ef948: Merge "hwui: fix possible null pointer de-refrence"
...
* commit '678886fde5cd779de79f8e38479aa6de82f8e755':
hwui: fix possible null pointer de-refrence
2014-06-17 01:31:16 +00:00