Chris Craik
52be4cd53d
Merge "Revert "Disable HWUI_NEW_OPS"" into nyc-dev am: 485e41d510
...
am: 831cf5c5b1
* commit '831cf5c5b10ddc18bad90a2546bed5835e1720cf':
Revert "Disable HWUI_NEW_OPS"
2016-03-04 18:11:04 +00:00
Chris Craik
b23c645c50
Merge "Fix clip rect snapping at non-integer scale values" into nyc-dev am: 6f270e062c
...
am: 8823d90fe7
* commit '8823d90fe7204c670e0f85e6b21a6af387dc4c45':
Fix clip rect snapping at non-integer scale values
2016-03-04 18:02:41 +00:00
Chris Craik
485e41d510
Merge "Revert "Disable HWUI_NEW_OPS"" into nyc-dev
2016-03-04 17:58:37 +00:00
Chris Craik
6f270e062c
Merge "Fix clip rect snapping at non-integer scale values" into nyc-dev
2016-03-04 17:54:33 +00:00
The Android Automerger
1ccd57a91c
Merge commit '22e01d5611d14cc04055b8abcbd1e8c114a0853c'
2016-03-04 01:05:11 +00:00
Chris Craik
69aeabe618
Fix clip rect snapping at non-integer scale values
...
bug:26923968
Also removes several reinterprets to ClipRect, since Rect member is in
base class.
Change-Id: If46dbdcea05b1257af185ccb38058735ebe81f79
2016-03-03 16:52:34 -08:00
Chris Craik
4123e53846
Merge "Improve handling of undefined-at-record-time bounds in new ops" into nyc-dev
2016-03-04 00:20:46 +00:00
Roozbeh Pournader
7960898f6f
Fix script-related parts of locale resource matching
...
Previously, a bit was kept to find if the script of a locale was
explicitly "provided" in a resource. This was not backward
compatible, and failed in some edge cases when the package was
created with older versions of AAPT that did not set the bit.
The cases would happen when the old resource had an explicit script
specified in its locale, but since the "provided" bit was not set in
the package, we would assume that the script was computed by us.
This CL replaces the "provided" bit with a "computed" bit, so the
default value of the bit (set to "false" for old packages) would be
correct.
Bug: 27156990
Change-Id: I99e7f1ad8f70c90e25ab3640ed34cc1a6f8d1d64
2016-03-03 15:19:37 -08:00
Chris Craik
a154f47307
Improve handling of undefined-at-record-time bounds in new ops
...
bug:26591194
Change-Id: Ifc695d285d688903e2ef6aa3f0cb9e7ebf1f68d6
2016-03-03 14:16:31 -08:00
Chris Craik
f0a76088f8
Revert "Disable HWUI_NEW_OPS"
...
bug:27366026
This reverts commit 0bed032eb2 .
Change-Id: I4d569a11bb2b8db73b9984c50941c78ec5c91fe9
2016-03-03 21:07:54 +00:00
Chris Craik
a47dc93c63
Merge "Fix merged bitmap mesh generation and reenable merging" into nyc-dev am: 3f445f0eee
...
am: 884d3fbe10
* commit '884d3fbe10dd6ab804dd147352994ef92ea1ff21':
Fix merged bitmap mesh generation and reenable merging
2016-03-03 02:02:44 +00:00
Chris Craik
f6c20e4b42
Fix merged bitmap mesh generation and reenable merging
...
bug:26793764
bug:26569206
Change-Id: I54628e99b61f58f5726a387ea3599c29695c0efc
2016-03-02 15:34:02 -08:00
Chris Craik
05bf3bc840
Merge changes I4f72448f,I74b7233c into nyc-dev am: b67985f337
...
am: eae0325eed
* commit 'eae0325eeda32411d98e9adda93aed275b50cbe1':
Fix ripple positioning within scrolled node
Clip projected ripples to outlines
2016-03-02 20:34:24 +00:00
Adam Lesinski
39b9c86629
Merge "AssetManager: Cache a pre-filtered list of configurations" into nyc-dev am: 1df152284d
...
am: a8ae50b02d
* commit 'a8ae50b02d73d0f2a2375c904e9220423e9f3055':
AssetManager: Cache a pre-filtered list of configurations
2016-03-02 20:27:24 +00:00
Chris Craik
b67985f337
Merge changes I4f72448f,I74b7233c into nyc-dev
...
* changes:
Fix ripple positioning within scrolled node
Clip projected ripples to outlines
2016-03-02 18:52:35 +00:00
Chris Craik
a748c08241
Fix ripple positioning within scrolled node
...
bug:27275799
Skip applying clip/matrix properties from projected node op, since we
don't want to respect the clip, and matrix is already baked into
transformFromCompositedAncestor.
This skips op clips in the new pipeline, and fixed a double application
of scroll on ripple backgrounds.
Change-Id: I4f72448fe0463ab666564ca538d8b6bf525d98de
2016-03-02 10:48:15 -08:00
Adam Lesinski
1df152284d
Merge "AssetManager: Cache a pre-filtered list of configurations" into nyc-dev
2016-03-02 18:32:16 +00:00
Chris Craik
678ff81105
Clip projected ripples to outlines
...
bug:27343928
Also fixes positioning of ripples to a scrolled projection receiver.
Change-Id: I74b7233c46d7c15839ca8bf50e188ba6646d7432
2016-03-02 10:29:15 -08:00
John Reck
27549bb641
Merge "Only copyLayer if valid rendertarget" into nyc-dev am: f571c4728a
...
am: e4fdc7f8c8
* commit 'e4fdc7f8c807b25c215de366f63b1b171d865eb7':
Only copyLayer if valid rendertarget
2016-03-01 00:34:03 +00:00
John Reck
f571c4728a
Merge "Only copyLayer if valid rendertarget" into nyc-dev
2016-03-01 00:15:21 +00:00
John Reck
33c025cbfb
Only copyLayer if valid rendertarget
...
Bug: 27407637
Texture layers will set a GL_NONE rendertarget
until they have managed to get the real rendertarget
from SurfaceTexture. If, however, copyLayer is called
prior to any calls to updateTexImage() (for example, if
no frames have yet been produced), this will
result in trying to use a Texture with a GL_NONE rendertarget
which is bad.
Change-Id: Ib7285d799cb94ebd44f07a89f2ef2075d79ef71f
2016-02-29 15:49:41 -08:00
Chris Craik
4414174ecb
Merge "Fix matrix mapping of negative rects" into nyc-dev am: b878a99f23
...
am: 400a87f6dc
* commit '400a87f6dce514c596d19e54b7b6dd7d01ae40e5':
Fix matrix mapping of negative rects
2016-02-29 22:15:00 +00:00
Chris Craik
b1e797b4fc
Merge "Fix arc positioning" into nyc-dev am: 5005033fa3
...
am: 43fedadea8
* commit '43fedadea8885ef435b0fdba9edaf47e69473373':
Fix arc positioning
2016-02-29 22:10:31 +00:00
Chris Craik
b878a99f23
Merge "Fix matrix mapping of negative rects" into nyc-dev
2016-02-29 22:02:26 +00:00
Chris Craik
5005033fa3
Merge "Fix arc positioning" into nyc-dev
2016-02-29 22:02:23 +00:00
John Reck
7f7693c5b5
Merge "Fix dirtyMask in AnimateFunctor" into nyc-dev am: def048e596
...
am: 2c1df8ae25
* commit '2c1df8ae258658c6bca5252be8018cd91f0a0b06':
Fix dirtyMask in AnimateFunctor
2016-02-29 21:58:54 +00:00
John Reck
9e066cbf59
Fix dirtyMask in AnimateFunctor
...
Bug: 27313379
Change-Id: I0c0cffe7e1940914f0143714643ede539b86216f
2016-02-29 13:40:52 -08:00
Chris Craik
0066a01d7c
Fix arc positioning
...
bug:27389290
Change-Id: I479a34ea079f1fce1c308aa809a57885ffa1d004
2016-02-29 13:34:44 -08:00
Chris Craik
261725fdb2
Fix matrix mapping of negative rects
...
bug:27381362
Also rejects ops with empty clip at record time, and short circuits clip
intersection, when one is empty.
Change-Id: I842612da14ad8fd9f1ba5e9e4fd027ba4e08d365
2016-02-29 13:10:25 -08:00
John Reck
3aa550bce7
Merge "Switch to pbuffer surface sooner" into nyc-dev am: db0fd9dfb2
...
am: 431baf2883
* commit '431baf2883dcc4dff2cdd8a727875276c30d37ae':
Switch to pbuffer surface sooner
2016-02-27 00:17:35 +00:00
John Reck
4d8a053da3
Merge "Always swap buffers if using partial update extension" into nyc-dev am: a24b5d4811
...
am: 89e95934e8
* commit '89e95934e8f1a50adefcd90d42d365605951833e':
Always swap buffers if using partial update extension
2016-02-27 00:15:33 +00:00
Chris Craik
6b7e23bcd3
Merge "Clip buffer damage to viewport bounds" into nyc-dev am: 83b28c0e67
...
am: 4fd97c433b
* commit '4fd97c433bdd50b85fc3ad3a462ce5cb5bce167f':
Clip buffer damage to viewport bounds
2016-02-26 23:59:35 +00:00
John Reck
db0fd9dfb2
Merge "Switch to pbuffer surface sooner" into nyc-dev
2016-02-26 23:53:47 +00:00
John Reck
a24b5d4811
Merge "Always swap buffers if using partial update extension" into nyc-dev
2016-02-26 23:53:23 +00:00
John Reck
fc736869ac
Switch to pbuffer surface sooner
...
Bug: 27286867
If the system/app is slow, it might take too long to
stop drawing. Switch the ordering of destroying stuff so
that we switch to the pbuffer surface first, then do
cleanup
Change-Id: If64a3dbb71bb9fd53567231590436a89b2f1a09e
2016-02-26 15:43:09 -08:00
Chris Craik
83b28c0e67
Merge "Clip buffer damage to viewport bounds" into nyc-dev
2016-02-26 23:43:01 +00:00
Chris Craik
64db2bf111
Clip buffer damage to viewport bounds
...
bug:27287946
Change-Id: Ief3ae9c2dd92196b7d09f1b9fadf009eb228d80a
2016-02-26 15:01:25 -08:00
John Reck
c96955d9bb
Always swap buffers if using partial update extension
...
Bug: 27379093
Change-Id: Ifda18287248e4ae07d4bf2ae9642a9d23039e81f
2016-02-26 14:58:13 -08:00
Doris Liu
12102a3822
Merge "DrawVectorDrawableOp for old rendering pipeline" into nyc-dev am: 77df9cba77
...
am: db883d3136
* commit 'db883d31365f2e5e17eb592a78797fe3ad02b424':
DrawVectorDrawableOp for old rendering pipeline
2016-02-26 20:49:43 +00:00
Doris Liu
14b56a514c
DrawVectorDrawableOp for old rendering pipeline
...
Bug: 27371430
Change-Id: I068d8023812173526ac98d11b903f82e0a66d9c2
2016-02-26 11:39:12 -08:00
Chris Craik
d3e7b3bbcb
Merge "Properly reject empty unclipped savelayers" into nyc-dev am: 2ebe8fee0c
...
am: 8b4bc09ad9
* commit '8b4bc09ad9d3f0209e1bc628861f2d9996b4df65':
Properly reject empty unclipped savelayers
2016-02-26 01:55:44 +00:00
Chris Craik
2ebe8fee0c
Merge "Properly reject empty unclipped savelayers" into nyc-dev
2016-02-26 01:06:50 +00:00
Chris Craik
4876de16e3
Properly reject empty unclipped savelayers
...
bug:27225580
bug:27281241
Empty unclipped savelayers (clipped at defer time, often by dirty rect)
were resulting in invalid layer clear rectangles. Simplify by just
rejecting these unclipped savelayers entirely at defer.
Also, use repaint rect as base clip for constructed ops within
LayerBuilder.
Change-Id: I5c466199e85201a2f68f5cdc60b29187c849961b
2016-02-25 16:59:19 -08:00
John Reck
0bb8d5f95c
Merge "Disable HWUI_NEW_OPS" into nyc-dev am: 4dfd6c0abc
...
am: af367e47f5
* commit 'af367e47f56da35f498a5fb6c7eaef6d8589ba97':
Disable HWUI_NEW_OPS
2016-02-26 00:04:45 +00:00
Adam Lesinski
d4b169173a
AssetManager: Cache a pre-filtered list of configurations
...
When we set the parameters for a ResTable, we can pre-filter which
resources match and only look at that smaller list when getting entries.
This helps A LOT with types that have many configurations, like strings
and all their various locales.
Bug:25499111
Change-Id: Ie6894c44bc67e16a10dbe028c8f3e119e5c29ac7
2016-02-25 15:29:17 -08:00
John Reck
4dfd6c0abc
Merge "Disable HWUI_NEW_OPS" into nyc-dev
2016-02-25 23:28:38 +00:00
John Reck
0bed032eb2
Disable HWUI_NEW_OPS
...
Bug: 27365711
Change-Id: Ife7ecc7c688738df4028f30847a2ff914e433b99
2016-02-25 15:03:48 -08:00
Chris Craik
fe2d47a181
Merge "Cleanup vertex attrib management" into nyc-dev am: dc32185b92
...
am: 623df47294
* commit '623df4729482115d9f8a8729c1c95aab872ac67a':
Cleanup vertex attrib management
2016-02-25 17:43:22 +00:00
Chris Craik
dc32185b92
Merge "Cleanup vertex attrib management" into nyc-dev
2016-02-25 17:31:47 +00:00
Chris Craik
1b7db4000e
Cleanup vertex attrib management
...
bug:27289007
Also removes unused code in MeshState
Change-Id: I46116631111cc82e1cdffb5706344bbb6d4c6600
2016-02-24 18:33:41 -08:00