John Reck
bee74c2b47
Merge "Clamp to uint8 for alpha"
2014-05-13 21:59:36 +00:00
John Reck
66f0be65a1
Wire up texture atlas
...
Bug: 14590563
Change-Id: I2dffbc089dc801f5fb2d1c8fd38e1c71d160e110
2014-05-13 14:54:42 -07:00
John Reck
531ee701dd
Clamp to uint8 for alpha
...
Change-Id: Id3e51671297bfb879969ad2fe7a5741dd4cf4c29
2014-05-13 10:06:08 -07:00
John Reck
515396a6b5
Merge "More native interpolators"
2014-05-13 16:17:03 +00:00
John Reck
c8ac775659
More native interpolators
...
Gotta collect 'em all
Change-Id: I3ccc2b5c842b27b906c8a0470fbedc2bf285bc38
2014-05-12 16:42:02 -07:00
John Reck
cae6873161
Merge "Add TimeInterpolator support to RNA"
2014-05-12 22:11:00 +00:00
John Reck
315c329544
Add TimeInterpolator support to RNA
...
Bug: 14678626
Change-Id: I6554e7fcd42c49fac3618ca792083bb68e358f55
2014-05-12 14:41:06 -07:00
Adam Lesinski
f000977620
Merge "Add support for building split APKs"
2014-05-12 18:12:35 +00:00
Adam Lesinski
fab50875b9
Add support for building split APKs
...
Build multiple APKs, each containing a disjoint subset
of configurations. These can then be loaded into the device
AssetManager and should operate as if they were never split.
Use the idea of building multiple sets of files, where each
set represents an APK. An ApkBuilder can place files
in a set based on its configuration, but you can actually
add directly to a set, in the case of the resources.arsc and
generated AndroidManifest.xml for splits.
Change-Id: Ic65d3f0ac1bbd290185695b9971d425c85ab1de3
2014-05-11 18:30:12 -07:00
Jorim Jaggi
ddc52285ca
Revert "Simplify projection matrix management."
...
This reverts commit 0efaa71d5414287ed4beac0a88cf76f7e33a1e74.
2014-05-11 16:16:17 +02:00
Chris Craik
2417f7e08c
Merge "Simplify projection matrix management."
2014-05-09 23:55:25 +00:00
John Reck
c42bfb95c6
Merge "Refactor VirtualLightRefBase & JNI"
2014-05-09 23:18:26 +00:00
Chris Craik
0c0ec26366
Simplify projection matrix management.
...
Store in and use from snapshot, and remove the kFlagOrthoDirty flag,
as it's redundant with kFlagIsFboLayer.
Change-Id: I2bd380192d50117f4ce1fd2058213669a886f406
2014-05-09 16:11:14 -07:00
John Reck
9fa4071c47
Refactor VirtualLightRefBase & JNI
...
Change-Id: I8e244e7109e59d5be96871b23bb9b1201c7f9eaa
2014-05-09 15:28:54 -07:00
Chris Craik
f9075798d7
am 90eaf92e: am 7e13d1d4: am f6c9c420: Merge "Correct stride for drawing to cached glyph bitmap"
...
* commit '90eaf92e325457ccb30286879a2f92b7ba517c7d':
Correct stride for drawing to cached glyph bitmap
2014-05-09 22:00:02 +00:00
Chris Craik
90eaf92e32
am 7e13d1d4: am f6c9c420: Merge "Correct stride for drawing to cached glyph bitmap"
...
* commit '7e13d1d4a46a01ebaa412d622ef76d90bd39d12a':
Correct stride for drawing to cached glyph bitmap
2014-05-09 21:51:49 +00:00
Chris Craik
7e13d1d4a4
am f6c9c420: Merge "Correct stride for drawing to cached glyph bitmap"
...
* commit 'f6c9c4204c2f8f86277d081112c9dd863ddaa778':
Correct stride for drawing to cached glyph bitmap
2014-05-09 21:46:43 +00:00
Chris Craik
e1f788b3e2
Merge "Rename matrices for consistency"
2014-05-09 18:02:53 +00:00
Digish Pandya
b9312a54e4
Correct stride for drawing to cached glyph bitmap
...
fixes the glyph cachebuffer index to account for pixelbuffer
format size.
issue: in launcher home screen create icon group and rename the
group to some text string with emo-icons (smilies). without this
change the drop shadows for emo-icons will look bad.
Change-Id: I525a9219d35f4541363fd64e7fc5fd1053269725
Signed-off-by: Digish Pandya <digishp@codeaurora.org>
2014-05-09 15:05:16 +05:30
Chris Craik
e10e827ed6
Rename matrices for consistency
...
The projection matrix no longer contains viewing transformation, and
has thus been renamed.
Change-Id: I4f85ccdac97f4cb4f987bb05c389816680f1c94f
2014-05-08 14:28:26 -07:00
Chris Craik
e4aa95e362
Add logging utility methods
...
Change-Id: I0f316830dcc0bbf438292a6d0fbe9f8154368500
2014-05-08 13:57:05 -07:00
Derek Sollenberger
5b554f0103
Merge "Avoid caching shadow properties in Java & HWUI."
2014-05-08 14:41:47 +00:00
John Reck
ef27453cf7
Merge "Cleanup attachFunctor"
2014-05-07 21:48:20 +00:00
John Reck
832b151465
Cleanup attachFunctor
...
Bug: 13961296
Change-Id: Id48d11bfcc234afd1fd7e4fdd409a50e7208c81d
2014-05-07 14:39:44 -07:00
John Reck
b6d9211d31
Merge "Implement TODO(romainguy)"
2014-05-07 21:24:25 +00:00
John Reck
63a0667325
Implement TODO(romainguy)
...
Bug: 14277445
Change-Id: Id52d6f7fcc023000adcc440bd4da67d9a673536b
2014-05-07 13:45:54 -07:00
John Reck
368cdd8526
Don't try to draw if there's no canvas or surface
...
Bug: 14616376
doFrame() can happen after the canvas or surface is destroyed,
handle it gracefully
Change-Id: Ibbbbdbfa77fa2134bd2abc215ca1a0886d706969
2014-05-07 13:19:28 -07:00
Derek Sollenberger
c29a0a4664
Avoid caching shadow properties in Java & HWUI.
...
bug: 10650594
Change-Id: I6f57df002710bb0567ed7e53fc0bfe96cfd504b8
2014-05-07 09:36:04 -04:00
John Reck
ebb9e69513
Merge "Implement loadSystemProperties"
2014-05-06 16:17:13 +00:00
John Reck
e4280baaa7
Implement loadSystemProperties
...
Bug: 14087580
Change-Id: I7153f38c70b554a78c56a0e794da929fc401ee7a
2014-05-05 16:39:37 -07:00
Chris Craik
81997fef18
am 3cb74d21: am 5d8343b8: am a85db5ab: Merge "libhwui: Handle the blurImage() implement once RS::init fail"
...
* commit '3cb74d21b2ac2427e805f72a113e8d7a2cc460f3':
libhwui: Handle the blurImage() implement once RS::init fail
2014-05-05 21:53:56 +00:00
Chris Craik
3cb74d21b2
am 5d8343b8: am a85db5ab: Merge "libhwui: Handle the blurImage() implement once RS::init fail"
...
* commit '5d8343b8e27e766b5bfaaed2f9b1952c0d15da8d':
libhwui: Handle the blurImage() implement once RS::init fail
2014-05-05 21:50:34 +00:00
Chris Craik
5d8343b8e2
am a85db5ab: Merge "libhwui: Handle the blurImage() implement once RS::init fail"
...
* commit 'a85db5ab785c59726c3644999801e48f449714f3':
libhwui: Handle the blurImage() implement once RS::init fail
2014-05-05 21:46:48 +00:00
Chris Craik
a85db5ab78
Merge "libhwui: Handle the blurImage() implement once RS::init fail"
2014-05-05 21:44:08 +00:00
John Reck
f9be77940e
Make RenderNodeAnimator and WebView play nice
...
Change-Id: Ifaefcf510b2d377663fc86f60608d6ec9be8329a
2014-05-05 12:35:30 -07:00
John Reck
18f16e6fba
TIME LORD!
...
Bug: 14444180
Change-Id: I68bec3807c4d1c88d5af1aec2fe6907d60b5f2f3
2014-05-05 10:57:04 -07:00
John Reck
52244fff29
Add CanvasProperty for drawCircle
...
Change-Id: Icbcc030f5033d2094e567d7c519b9d672f2aac1c
2014-05-02 13:43:46 -07:00
Chris Craik
64ab917e5e
Merge "Add more shadow control knobs"
2014-05-01 01:31:12 +00:00
Chris Craik
f5be3ca5cc
Add more shadow control knobs
...
Change-Id: I1ff500bf429029a97b681ced9df652f4ee9f1332
2014-04-30 18:20:30 -07:00
John Reck
52622668f9
Use resize, not reserve
...
Reserve ensures the underlying buffer is the correct size, but
iterating across it is not necessarily valid. Use resize() instead
to ensure that the iterator access is valid
Change-Id: I35ff5f4416bb94cf4ce2c6acf72ffd17ab3e523a
2014-04-30 14:19:56 -07:00
Michael Wright
3e320a0cac
am 9feab5f2: am 8a02b20f: Merge "Add TYPE_MAGNIFICATION_OVERLAY to InputWindowInfo::isTrustedOverlay()"
...
* commit '9feab5f278d8c9e030e72989a7f6f3d2f376748d':
Add TYPE_MAGNIFICATION_OVERLAY to InputWindowInfo::isTrustedOverlay()
2014-04-30 01:19:52 +00:00
Bill Yi
293513a59d
Merge commit '0b62467b142b61ee1e449ba958ba37dfd961ef56' into HEAD
2014-04-29 16:07:29 -07:00
John Reck
25ff2c1ec1
Merge "RenderThread animator support"
2014-04-29 17:56:04 +00:00
John Reck
e45b1fd03b
RenderThread animator support
...
Change-Id: Icf29098edfdaf7ed550bbe9d49e9eaefb4167084
2014-04-29 10:42:11 -07:00
ztenghui
0d575b084f
Merge "Make sure the theta is correctly represented and incoming polygon is CW for shadow."
2014-04-29 16:21:51 +00:00
ztenghui
2e023f3827
Make sure the theta is correctly represented and incoming polygon is CW for shadow.
...
Now the theta = 0 should be on +x axis.
And cos(theta) should correctly represent x value.
Without this fix, the poly theta (from atan2) can be wrongly rotated 90 degrees.
Also, make sure the incoming polygon is CW for the shadow system.
This fix visual artifacts in recent regression for spot shadows.
bug:13553955
Change-Id: I9bbf54db094e7f133326da4dae4610962da849c1
2014-04-28 16:43:13 -07:00
Chris Craik
cc39e16cb9
Add elevation, Z properties to View
...
Change-Id: I3dd3b683a66e248a0fdf2ca69d1e962615b0daf9
2014-04-28 14:33:33 -07:00
Lu, Shenghua
ea42e01527
libhwui: Handle the blurImage() implement once RS::init fail
...
Once the RS::init failed, go through the original single thread path,
this will avoid blocking the main thread(ANR), but we also should have
some implement in RenderScript component.
Change-Id: I3a21395ffd5bc144c15254893f425b1dd2643ba4
Signed-off-by: Shenghua Lu <shenghua.lu@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
2014-04-25 16:11:13 +08:00
ztenghui
d2cd53d4e5
Merge "Shoot the rays to the vertices of the incoming polygon."
2014-04-24 18:03:00 +00:00
ztenghui
7940dc57e3
Shoot the rays to the vertices of the incoming polygon.
...
bug:13553955
Change-Id: I4825a49e8eaab969c40f2ee4086f7669c9c6fd29
2014-04-24 09:53:20 -07:00