5965 Commits

Author SHA1 Message Date
Chris Craik
213bcd196d am 88db90e8: am 808583ff: am 1918d884: am a0d0798a: am 737dfe57: Merge "Reject transparent draws more conservatively" into lmp-dev
* commit '88db90e899b26551bd9963f20dad637f6e76d954':
  Reject transparent draws more conservatively
2014-09-23 16:22:10 +00:00
Chris Craik
3bf8c64d78 am 808583ff: am 1918d884: am a0d0798a: am 737dfe57: Merge "Reject transparent draws more conservatively" into lmp-dev
* commit '808583ffbbb461c429a8308034dba632d167f2c6':
  Reject transparent draws more conservatively
2014-09-23 15:51:57 +00:00
Chris Craik
bc341912b1 Reject transparent draws more conservatively
bug:17600162

Transparent draws are not safe to reject for all xfermodes other than
clear. Now, to be safe, only perform the rejection for SrcOver draws
since other modes are fairly uncommon.

We could specifically determine whether the xfermode could change the
output given a transparent input, but there's little to be gained from
the additional complexity.

Change-Id: Ia699ac4bdc4da3353955840b53f1922d3cb1d85d
2014-09-23 01:22:00 +00:00
Chris Craik
57b2d6b4ca am 1ee0dace: am 30dca470: am f0a80b68: am ea74883e: am fe01ab10: Merge "Account for alpha in hasShadow()" into lmp-dev
* commit '1ee0dacea8f6373915c241dba9aaa0e14f732e12':
  Account for alpha in hasShadow()
2014-09-20 00:30:23 +00:00
Chris Craik
f1c91fec09 am 30dca470: am f0a80b68: am ea74883e: am fe01ab10: Merge "Account for alpha in hasShadow()" into lmp-dev
* commit '30dca470d6b261433f0ad11117e5dff7d9124d9e':
  Account for alpha in hasShadow()
2014-09-20 00:19:38 +00:00
Chris Craik
9e7c919191 Merge "Account for alpha in hasShadow()" into lmp-dev 2014-09-19 23:36:22 +00:00
Dan Albert
f9974e9aaa am 6746b74d: resolved conflicts for merge of 1a4527ce to lmp-mr1-dev-plus-aosp
* commit '6746b74de540f2899f886cd25827f3ca9901de32':
  Clean up makefile cruft.
2014-09-19 23:31:21 +00:00
Dan Albert
1e6b474bfa am cd29983b: resolved conflicts for merge of 8791ebf0 to lmp-mr1-dev-plus-aosp
* commit 'cd29983b31c1da70289fa3589770933333389921':
  Clean up test makefiles.
2014-09-19 23:30:57 +00:00
Adam Lesinski
3ae4ac218c am 60040044: am 9ee3ba23: am e7e9ad6d: am 863b1a90: am 19f9d54f: Merge "Fix backwards compat problem with AAPT public attrs" into lmp-dev
* commit '6004004428a93a03657b513d62eeaab660db0896':
  Fix backwards compat problem with AAPT public attrs
2014-09-19 23:28:24 +00:00
Dan Albert
8ab25d82b5 resolved conflicts for merge of 1a4527ce to lmp-mr1-dev-plus-aosp
Change-Id: If649bd9ef98181a1e1e341cc5b73d237586fb72c
2014-09-19 16:13:49 -07:00
Chris Craik
9fa364dc72 Account for alpha in hasShadow()
bug:17587220
Change-Id: Ic7f2dea95302b713dc93edb4a0193a7be77fb2eb
2014-09-19 16:04:45 -07:00
Dan Albert
5648b12da1 resolved conflicts for merge of 8791ebf0 to lmp-mr1-dev-plus-aosp
Change-Id: Ifedb15de5a4db6cb0238fec93aaa2d95f1844694
2014-09-19 15:50:13 -07:00
Adam Lesinski
0fa7511db2 am 9ee3ba23: am e7e9ad6d: am 863b1a90: am 19f9d54f: Merge "Fix backwards compat problem with AAPT public attrs" into lmp-dev
* commit '9ee3ba23395bd1a13bbfd3fe523ee611a5ca001b':
  Fix backwards compat problem with AAPT public attrs
2014-09-19 19:08:50 +00:00
Adam Lesinski
b6812b64c4 Merge "Fix backwards compat problem with AAPT public attrs" into lmp-dev 2014-09-19 18:19:58 +00:00
John Reck
8f33b4e972 am 87cfb3f2: am 6fcaf93f: am 40d2705e: am a154d76e: am 340ccfe0: Merge "glFinish to flush deletes" into lmp-dev
* commit '87cfb3f2cffa909314a4cc37be6f01f5e847840a':
  glFinish to flush deletes
2014-09-19 18:17:58 +00:00
John Reck
367e4c5f80 am 6fcaf93f: am 40d2705e: am a154d76e: am 340ccfe0: Merge "glFinish to flush deletes" into lmp-dev
* commit '6fcaf93f3ad73780bfe4392cd4d60e05cb463b8a':
  glFinish to flush deletes
2014-09-19 18:05:14 +00:00
John Reck
6cc6219f6f Merge "glFinish to flush deletes" into lmp-dev 2014-09-19 17:22:17 +00:00
John Reck
4ced2620b7 glFinish to flush deletes
Bug: 17479800
Change-Id: I4d4a3eeda510e037f806052025184f3cde18c847
2014-09-19 10:10:19 -07:00
Chris Craik
021f91db5a am f5783e2b: am f9166c19: am 6975554d: am 5db573c7: am 969b5ff4: Merge "Fix garbage showing up beneath dialogs" into lmp-dev
* commit 'f5783e2ba68c5931bfef2ee4f21a4b681ac97501':
  Fix garbage showing up beneath dialogs
2014-09-19 16:31:48 +00:00
Chris Craik
5e5668de71 am f9166c19: am 6975554d: am 5db573c7: am 969b5ff4: Merge "Fix garbage showing up beneath dialogs" into lmp-dev
* commit 'f9166c19773bbde04e1837327b85d5935530cfee':
  Fix garbage showing up beneath dialogs
2014-09-19 16:15:25 +00:00
Chris Craik
651486d018 Merge "Fix garbage showing up beneath dialogs" into lmp-dev 2014-09-19 15:31:18 +00:00
Chris Craik
284b243584 Fix garbage showing up beneath dialogs
bug:17463894

Fixes the setViewport method to immediately affect the return values
of getViewportWidth/Height methods.

Also works around tiling extension issues observed on first frame
after window resize by disabling tiling for that frame.

Change-Id: Ie172d572d20d74a1be9cc58ad389af2cffa0e4b6
2014-09-18 16:05:35 -07:00
Adam Lesinski
82a2dd8efe Fix backwards compat problem with AAPT public attrs
AAPT has traditionally assigned resource IDs to public attributes,
and then followed those public definitions with private attributes.

--- PUBLIC ---
| 0x01010234 | attr/color
| 0x01010235 | attr/background

--- PRIVATE ---
| 0x01010236 | attr/secret
| 0x01010237 | attr/shhh

Each release, when attributes are added, they take the place of the private
attributes and the private attributes are shifted down again.

--- PUBLIC ---
| 0x01010234 | attr/color
| 0x01010235 | attr/background
| 0x01010236 | attr/shinyNewAttr
| 0x01010237 | attr/highlyValuedFeature

--- PRIVATE ---
| 0x01010238 | attr/secret
| 0x01010239 | attr/shhh

Platform code may look for private attributes set in a theme. If an app
compiled against a newer version of the platform uses a new public
attribute that happens to have the same ID as the private attribute
the older platform is expecting, then the behavior is undefined.

We get around this by detecting any newly defined attributes (in L),
copy the resource into a -v21 qualified resource, and delete the
attribute from the original resource. This ensures that older platforms
don't see the new attribute, but when running on L+ platforms, the
attribute will be respected.

We still need to address this problem in the platform moving forward,
as this will only help us in the transition from pre L to L.

Bug:17520380
Change-Id: Ia2a985798b50006c21c7c3431d30d9598f27cd91
2014-09-18 14:05:24 -07:00
John Reck
b2ccc61820 am c619b9d2: am 1d935afd: am e905b4ff: am fd340229: Merge "Special case EGL_BAD_SURFACE" into lmp-dev
* commit 'c619b9d2315b28f6cebe68adbf18f4453ce1cd7d':
  Special case EGL_BAD_SURFACE
2014-09-18 00:17:26 +00:00
John Reck
571b35696b am cee24231: am a19867e1: am fd340229: Merge "Special case EGL_BAD_SURFACE" into lmp-dev
* commit 'cee2423171e1a396f1736868a72622233213dd19':
  Special case EGL_BAD_SURFACE
2014-09-18 00:04:41 +00:00
John Reck
623d798c24 am a19867e1: am fd340229: Merge "Special case EGL_BAD_SURFACE" into lmp-dev
* commit 'a19867e1b279239579a88002c86b63cdb2ad8a58':
  Special case EGL_BAD_SURFACE
2014-09-17 23:53:02 +00:00
John Reck
f16b4940e6 Merge "Special case EGL_BAD_SURFACE" into lmp-dev 2014-09-17 23:30:44 +00:00
John Reck
2cdbc7d228 Special case EGL_BAD_SURFACE
Bug: 17516789

Change-Id: I3dcb10360c2aef6326f7dbbff6815866d4c143b6
2014-09-17 16:09:57 -07:00
John Reck
2135d189e3 am 39647161: am 0eda5660: am 5c19146f: am 8523ad90: Merge "Change default fbo cache size to 0" into lmp-dev
* commit '39647161e1ec5521afd159054c1237a80300e0e4':
  Change default fbo cache size to 0
2014-09-17 22:18:23 +00:00
John Reck
5c32dc50d1 am 687550e8: am d0738f9c: am 8523ad90: Merge "Change default fbo cache size to 0" into lmp-dev
* commit '687550e84101259cce5ef8996dc23a934cfa12c1':
  Change default fbo cache size to 0
2014-09-17 22:07:02 +00:00
John Reck
6101f8bcfc am d0738f9c: am 8523ad90: Merge "Change default fbo cache size to 0" into lmp-dev
* commit 'd0738f9c1e049ebd881ea9c5fb93076e0aeb81cc':
  Change default fbo cache size to 0
2014-09-17 21:54:54 +00:00
John Reck
5083943ff8 Merge "Change default fbo cache size to 0" into lmp-dev 2014-09-17 21:35:02 +00:00
John Reck
e9cd97ee88 Change default fbo cache size to 0
Bug: 17479800

 FBO cache is very expensive and no longer necessary, disable
 it by just setting size to 0.

Change-Id: I664616f262c8339919e1d20baaafa5de2b628d7e
2014-09-17 14:09:26 -07:00
Chris Craik
6dda2381a5 am da9a0122: am 43572931: am c7f97b61: am b5a27aee: Merge "Handle premultiplication correctly for ColorMatrixColorFilters" into lmp-dev
* commit 'da9a01228cb490a3da545dc2af75f8d3a15e002f':
  Handle premultiplication correctly for ColorMatrixColorFilters
2014-09-17 18:29:33 +00:00
Chris Craik
73c74b1126 am 1524b117: am befbdaba: am b5a27aee: Merge "Handle premultiplication correctly for ColorMatrixColorFilters" into lmp-dev
* commit '1524b117925755694b7a79a8047d18ce0dc40d0d':
  Handle premultiplication correctly for ColorMatrixColorFilters
2014-09-17 17:45:19 +00:00
Chris Craik
cd4f28e999 am befbdaba: am b5a27aee: Merge "Handle premultiplication correctly for ColorMatrixColorFilters" into lmp-dev
* commit 'befbdaba72a2c1502ff6135a8214f7434a6b2ea7':
  Handle premultiplication correctly for ColorMatrixColorFilters
2014-09-17 17:27:02 +00:00
Chris Craik
73821c8d2b Handle premultiplication correctly for ColorMatrixColorFilters
bug:17405627

Previously, the input content to the color matrix computation was left
premultiplied. Since the color matrix could reduce the alpha channel,
the alpha was re-multiplied, but this was incomplete, and incorrect.

Instead, apply the color matrix in unpremultiplied space.

Change-Id: I87b8e03d2e228e6ded81f7bbfea952605d7a095c
2014-09-17 10:00:34 -07:00
Jorim Jaggi
027eb7c874 am fb2fa955: am 185055cb: am dc29e524: am ac980443: Merge "Use RenderThread for navigation bar ripples" into lmp-dev
* commit 'fb2fa955e92e6066e21badebf16259acdcebae12':
  Use RenderThread for navigation bar ripples
2014-09-17 05:14:49 +00:00
Chris Craik
34d5990ec9 am f1455d71: am beb48ea3: am cd61f045: am e27790db: Merge "Force isolation of clip and matrix within layer" into lmp-dev
* commit 'f1455d71f51869e6412d74a33f4690c15b791de0':
  Force isolation of clip and matrix within layer
2014-09-16 21:03:39 +00:00
Jorim Jaggi
34ef9ec8d2 am 99e9b12f: am d2420d39: am ac980443: Merge "Use RenderThread for navigation bar ripples" into lmp-dev
* commit '99e9b12fbe444414f7e4fd9a18aa40fee7bf2f1f':
  Use RenderThread for navigation bar ripples
2014-09-16 18:30:32 +00:00
Jorim Jaggi
0768029b74 am d2420d39: am ac980443: Merge "Use RenderThread for navigation bar ripples" into lmp-dev
* commit 'd2420d39c03c17ec62b283e5a99c33ff1360926f':
  Use RenderThread for navigation bar ripples
2014-09-16 18:13:46 +00:00
Jorim Jaggi
072707dfad Use RenderThread for navigation bar ripples
Bug: 17506181
Change-Id: Icf3b80f8c4bc29fe85313381d4019dda3ef85ea9
2014-09-16 17:51:55 +00:00
Chris Craik
835b5c9599 am f23132b9: am 4dae506c: am e27790db: Merge "Force isolation of clip and matrix within layer" into lmp-dev
* commit 'f23132b917f5f9f5dffae189c0be1e06cfcdb9ef':
  Force isolation of clip and matrix within layer
2014-09-16 08:40:20 +00:00
Chris Craik
1f8eb8caac am 4dae506c: am e27790db: Merge "Force isolation of clip and matrix within layer" into lmp-dev
* commit '4dae506c27327a3ddced29fc15880c86abe3a3a5':
  Force isolation of clip and matrix within layer
2014-09-15 22:04:10 +00:00
Chris Craik
025207b3cf Merge "Force isolation of clip and matrix within layer" into lmp-dev 2014-09-15 15:59:57 +00:00
Chris Craik
4ace730560 Force isolation of clip and matrix within layer
bug:17379260

Unclipped save layers need to isolate their clips and matrices
so that the save time readout of background content matches clip and
position with the restore/compose step.

Change-Id: I2de474cda76e960d080852f1716d6ddfa8a512d4
2014-09-14 15:49:54 -07:00
Chris Craik
63af94c575 am 68386a68: am b5f00ba9: am cceffe72: Merge "Correctly initialize animator asynchronousity" into lmp-dev
* commit '68386a68c8e617831ea583a2e7170065c5160cc3':
  Correctly initialize animator asynchronousity
2014-09-13 03:29:40 +00:00
Chris Craik
2fea335b3e am b5f00ba9: am cceffe72: Merge "Correctly initialize animator asynchronousity" into lmp-dev
* commit 'b5f00ba90ff201153de8386a3ebcd4eb5c06cb9e':
  Correctly initialize animator asynchronousity
2014-09-13 03:13:01 +00:00
ztenghui
f864258242 am f37c3c18: am 35e78a38: am 84a7c1cc: Merge "Update the shadow strength" into lmp-dev
* commit 'f37c3c185f222263648f24cee16ca37d4a588762':
  Update the shadow strength
2014-09-13 03:05:47 +00:00
ztenghui
0099def245 am 35e78a38: am 84a7c1cc: Merge "Update the shadow strength" into lmp-dev
* commit '35e78a38dc3a1080ef215b385dc96e67f6388791':
  Update the shadow strength
2014-09-13 02:32:16 +00:00