John Reck
842bb5be58
am 0f6c29dc: am ef908af6: Merge "Have destroy call freePrefetchedLayers" into lmp-dev
...
* commit '0f6c29dc47d4a9607e79480460a67837c527fd56':
Have destroy call freePrefetchedLayers
2014-09-03 18:33:24 +00:00
John Reck
17035b0211
Have destroy call freePrefetchedLayers
...
Bug: 17208461
There's a potential race condition between HardwareRenderer.destroy()
being called (which calls destroyCanvasAndSurface()) and the renderer
being finalized (which is what calls freePrefetchedLayers), during which
time it's possible we get a TRIM_MEMORY_COMPLETE and destroy the EGL
context.
Fix this race condition by moving stopDrawing() and freePrefetchedLayers()
into destroyCanvasAndSurface() where they should have been in the first
place.
Also, if we hit the assertion failure, dump the current state of
Caches to try and provide more context for the failure.
Change-Id: Ife0ba3562041e8b08e87e3e13640472b3004eed6
2014-09-03 11:13:53 -07:00
John Reck
89cff0fde7
am 1c33dc49: am efb75031: Merge "Implement TODO" into lmp-dev
...
* commit '1c33dc49d8ab4ecac90794090bba191e42bd6c04':
Implement TODO
2014-09-03 05:49:53 +00:00
John Reck
3d3f5f8c68
Merge "Implement TODO" into lmp-dev
2014-09-02 22:58:51 +00:00
John Reck
1661715d40
Implement TODO
...
Change-Id: I551ad0dab6356baa4c7787718b54d5b7337a3f26
2014-09-02 15:44:14 -07:00
Chris Craik
de33841317
am 0d1a3fd3: am f9b26725: Merge "Fix precision issues for roundrect clipping" into lmp-dev
...
* commit '0d1a3fd3b846d858c321c634b605fd9fc63b57cd':
Fix precision issues for roundrect clipping
2014-09-02 19:54:24 +00:00
Chris Craik
0fd79c955b
Merge "Fix precision issues for roundrect clipping" into lmp-dev
2014-09-02 19:25:09 +00:00
ztenghui
e358dd6ac0
am f431aeab: am bb63ef12: Merge "Fix the (0,0) vector case for extra vertices computation" into lmp-dev
...
* commit 'f431aeab0db82bc7fdd0c50446990c4b7496609b':
Fix the (0,0) vector case for extra vertices computation
2014-09-02 16:38:12 +00:00
ztenghui
26131368ec
Fix the (0,0) vector case for extra vertices computation
...
TODO: Figure out why we have collided vertices from input polygon.
b/17340792
Change-Id: I6636ff957ef17514bd11cf290ccc0a2c302aca0b
2014-09-01 17:23:27 -07:00
Chris Craik
68a73e8700
Fix precision issues for roundrect clipping
...
bug:16984008
Change-Id: I941232d569293717f6bcd249d9e01f72a7409d2e
2014-08-29 17:06:27 -07:00
Adam Lesinski
d299fef90c
am a7e85db1: am fe622efc: Merge "Add test to ensure themes get copied from separate resource tables" into lmp-dev
...
* commit 'a7e85db12557c0480e3836c414519b28331d502c':
Add test to ensure themes get copied from separate resource tables
2014-08-29 23:53:37 +00:00
ztenghui
28b4a5d058
am 04834f4d: am b379a6e9: Merge "Ambient shadow tessellation improvement." into lmp-dev
...
* commit '04834f4d8f6d2a4d803b59a22f5b6d3b8dd97369':
Ambient shadow tessellation improvement.
2014-08-29 23:53:32 +00:00
Adam Lesinski
9d75e95f9b
Merge "Add test to ensure themes get copied from separate resource tables" into lmp-dev
2014-08-29 21:38:02 +00:00
ztenghui
cbf4c08796
Merge "Ambient shadow tessellation improvement." into lmp-dev
2014-08-29 21:36:03 +00:00
Adam Lesinski
9d9cc6233c
Add test to ensure themes get copied from separate resource tables
...
Change-Id: I94e9966cf1e9d0e7e6c7daa0606a87bb0f67705e
2014-08-29 14:34:54 -07:00
ztenghui
d5e8ade498
Ambient shadow tessellation improvement.
...
Using the vertices, instead of ray casting for the triangulation.
This request a dynamic index buffer associated with vertex buffer,
so we update the VertexBuffer to support it.
The ambient shadow could be 3x-6x times faster for circle and rect now.
b/16712006
b/14257173
Change-Id: I2f22a8fe19bc59acee5c18e4a3a395acd5042a66
2014-08-29 13:40:42 -07:00
Adam Lesinski
1ff88036da
am 0f885328: am b9095bac: Merge "Clean up test allocations so real memory leaks are more visible" into lmp-dev
...
* commit '0f885328bc54e896d0f3cdf2faf25abaab95bece':
Clean up test allocations so real memory leaks are more visible
2014-08-29 20:05:19 +00:00
Adam Lesinski
d79e33379d
Clean up test allocations so real memory leaks are more visible
...
Change-Id: Ic405f08c8d8e3e7fc4e4a991671e980752c19899
2014-08-29 12:29:31 -07:00
John Reck
b46c52209f
am 724fff20: am ff6feade: Merge "Listener callbacks ordering fixups" into lmp-dev
...
* commit '724fff2034e17c601a3787792f8fb73172862c18':
Listener callbacks ordering fixups
2014-08-29 19:06:53 +00:00
John Reck
ecb8785efc
am 1099d64b: am 09a0c7c8: Merge "Free prefetched layers on TRIM_MEMORY" into lmp-dev
...
* commit '1099d64b40f555da92a7aee56c55a20a6f5c24f8':
Free prefetched layers on TRIM_MEMORY
2014-08-29 18:52:48 +00:00
Adam Lesinski
ec187b726b
am 1ec1f85d: am 995c771f: Merge "Fix memory leak in ResTable" into lmp-dev
...
* commit '1ec1f85d6ebab39f3aad6f426e0fe0aeca2b04bb':
Fix memory leak in ResTable
2014-08-29 18:49:14 +00:00
Adam Lesinski
343cabb316
am 60f193fb: am e0cfbb61: Merge "Stamp platform version code into app Apks" into lmp-dev
...
* commit '60f193fbe905f65750503cdaf8616d31c85016d6':
Stamp platform version code into app Apks
2014-08-29 18:48:33 +00:00
John Reck
7da70ed6a5
Merge "Listener callbacks ordering fixups" into lmp-dev
2014-08-29 17:59:24 +00:00
John Reck
4d2c47206a
Listener callbacks ordering fixups
...
Bug: 17228458
Bug: 17317816
Ensure that onStart is called prior to onCancel/onFinished if those
happen prior to the UI-thread handled start delay.
Ensure that onFinished is called if cancel/end is called
Change-Id: I23c16ea1c4f925d59d41ec5281d62dfc0c38595b
2014-08-29 10:40:56 -07:00
John Reck
dff9957cc2
Free prefetched layers on TRIM_MEMORY
...
Bug: 17208461
Change-Id: I831c10d29d5920274b90e11a67d6cd106972a058
2014-08-29 09:59:43 -07:00
Adam Lesinski
a9aa9f0458
Merge "Fix memory leak in ResTable" into lmp-dev
2014-08-29 05:27:49 +00:00
Adam Lesinski
b32063822b
Merge "Stamp platform version code into app Apks" into lmp-dev
2014-08-29 01:54:15 +00:00
Adam Lesinski
7f668d03ce
Fix memory leak in ResTable
...
We were basically never cleaning any of the
cached bags... oops :S
Bug:16683269
Change-Id: Ic0a44218f660e16fbaac8df1d61ce6f1fdb0018b
2014-08-28 18:32:32 -07:00
John Reck
3296b922da
am cfa308dc: am f26df60e: Merge "Track buildLayer calls, destroy if unused" into lmp-dev
...
* commit 'cfa308dc1e42320d31414fa7050db3ffb778cdc2':
Track buildLayer calls, destroy if unused
2014-08-28 23:26:30 +00:00
John Reck
80068b735e
Merge "Track buildLayer calls, destroy if unused" into lmp-dev
2014-08-28 23:04:32 +00:00
John Reck
998a6d8189
Track buildLayer calls, destroy if unused
...
Bug: 17208461
Change-Id: Ibdb104a493285d77a6891c5e74e38a52c7014da9
2014-08-28 15:55:26 -07:00
Chris Craik
cdf4813881
am c00a7298: am 19b7a03f: Merge "Update transform isolation to handle command chunks" into lmp-dev
...
* commit 'c00a7298d10781ee009f4f240e761bf84eccbe1b':
Update transform isolation to handle command chunks
2014-08-28 17:51:53 +00:00
John Reck
1e1d8a5e15
am d4e0267a: am f29b2624: Merge "Fix log line" into lmp-dev
...
* commit 'd4e0267a61d2af8d275f59faea74a3e68945b1fd':
Fix log line
2014-08-28 17:36:44 +00:00
Chris Craik
bf939b2671
Merge "Update transform isolation to handle command chunks" into lmp-dev
2014-08-28 17:27:24 +00:00
John Reck
778cef5b30
am 16c66174: am 2b21f462: Merge "Actually end animators on tree destruction" into lmp-dev
...
* commit '16c661747022d0861d98a1d3145780912f5b809c':
Actually end animators on tree destruction
2014-08-28 17:09:34 +00:00
John Reck
c7e2993628
Fix log line
...
Change-Id: I290491f559281c7b3d1d132495ea2fffcfaf4725
2014-08-28 09:56:20 -07:00
John Reck
d0cd9db316
Actually end animators on tree destruction
...
Bug: 17313962
Change-Id: I66b86d50b415f9aa33da23297f22e2cf7f96f565
2014-08-28 08:43:39 -07:00
John Reck
59f71093fe
am 969f3860: am ad0faa70: Merge "Animator stuff" into lmp-dev
...
* commit '969f3860d940bdcaa66441d561448cca92ebd8ea':
Animator stuff
2014-08-28 03:39:21 +00:00
John Reck
4c5a27b5f6
Merge "Animator stuff" into lmp-dev
2014-08-28 01:38:58 +00:00
Adam Lesinski
ad2d07d2d9
Stamp platform version code into app Apks
...
The versionCode of theframework resources that an app is built against
gets stamped inside an app's AndroidManifest.xml in the <manifest>
tag as "platformBuildVersionCode" and "platformBuildVersionName"
attributes.
Bug:17207635
Change-Id: Id573c3dffcbca38eec9c0eb3e89f4a547e3361d3
2014-08-27 18:28:49 -07:00
John Reck
119907cd25
Animator stuff
...
Bug: 17228458
Change-Id: Id884a429a512f9cd2be0ed16dbd0f10e92b4440d
2014-08-27 17:44:25 -07:00
Chris Craik
c3e75f9d54
Update transform isolation to handle command chunks
...
bug:15570351
Prevent drawing transformations on a ViewGroup's canvas from directly
affecting the transformation of the children through the renderer,
since it's already baked into mTransformFromParent at record time.
Change-Id: I6310a2260dfe4def0bde1fd2c5b93791a645d586
2014-08-27 15:43:42 -07:00
Chris Craik
287d2314da
am f55719bc: am 7d3073a4: Merge "Crash instead of leaking layers/textures between GL contexts" into lmp-dev
...
* commit 'f55719bcbaeb3b5b57759211e3ea0c99d21c27aa':
Crash instead of leaking layers/textures between GL contexts
2014-08-27 04:20:30 +00:00
Chris Craik
1d47742333
Crash instead of leaking layers/textures between GL contexts
...
bug:17208461
Change-Id: I4d58f301cf0f5e8145e808a5d6ade4de7801970b
2014-08-26 17:30:15 -07:00
ztenghui
a0b6f1c236
am acd21c96: am fadaa2cb: Merge "Correctly detect the wrong Z value for the light" into lmp-dev
...
* commit 'acd21c96a5c7734d3fd949b0ccbba3b910e48d95':
Correctly detect the wrong Z value for the light
2014-08-26 18:31:37 +00:00
ztenghui
bed17d21b0
Merge "Correctly detect the wrong Z value for the light" into lmp-dev
2014-08-26 18:18:31 +00:00
ztenghui
3bd3fa1f1d
Correctly detect the wrong Z value for the light
...
b/17221975
Change-Id: I2b46da95ad12ca5260d7fe9514a75558b6b6393b
2014-08-26 10:45:27 -07:00
Adam Lesinski
6d41a45679
am 1d3ecf16: am 1c959e92: Merge "Introduce anydpi density resource qualifier" into lmp-dev
...
* commit '1d3ecf16766d92ef3d847f1420b9a622e871f6cd':
Introduce anydpi density resource qualifier
2014-08-26 17:23:35 +00:00
Adam Lesinski
d691f31e51
Merge "Introduce anydpi density resource qualifier" into lmp-dev
2014-08-26 17:03:44 +00:00
John Reck
7dd9776fa8
am d73a1aa3: am fec7508b: Merge "DO NOT MERGE Copy shaders" into lmp-dev
...
* commit 'd73a1aa3b97d9cd9792dec4a58ab6150b76afb31':
DO NOT MERGE Copy shaders
2014-08-26 15:13:50 +00:00