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
Chris Craik
717f39c7d9
Merge "Clip TouchFeedbackDrawable effect to receiver Outline"
2014-04-24 00:08:09 +00:00
Chris Craik
3f085429fd
Clip TouchFeedbackDrawable effect to receiver Outline
...
Projected RenderNodes are now wrapped with a ClipRect or masked
SaveLayer, so that they are clipped to the outline of the projection
receiver surface.
Change-Id: I1d4afc1bb5d638d650bc0b1dac51a498f216773e
2014-04-23 16:15:11 -07:00
Chris Craik
e0bb87d4bd
Fix translationZ matrix computation
...
bug:14259972
Ensure that translationZ is applied for true3dTransform property
transformations, even if the node doesn't have any other
transformation properties set.
Additionally, use fuzzy compare for translationZ, similar to
rotationX/Y, since they're expenive to leave set in rounding error
cases.
Change-Id: Idafa4423cc7751a8f433237b1f576aa7abb74f6e
2014-04-23 13:23:30 -07:00
Victoria Lease
2c423b22b4
am df64ac68: ask skia to use flat gamma when rendering fonts from hwui
...
* commit 'df64ac688d400c74438db091952d236fffd5f778':
ask skia to use flat gamma when rendering fonts from hwui
2014-04-22 22:57:29 +00:00
Victoria Lease
df64ac688d
ask skia to use flat gamma when rendering fonts from hwui
...
Bug: 13748392
Change-Id: I6930629b8e900628f15354f663b86dfb29a4db78
(cherry picked from commit b66270eac288de53207e55d10879b070a0ec8b6b)
2014-04-22 22:54:10 +00:00
Victoria Lease
b78263d376
Merge "ask skia to use flat gamma when rendering fonts from hwui"
2014-04-22 22:37:36 +00:00
Victoria Lease
b66270eac2
ask skia to use flat gamma when rendering fonts from hwui
...
Bug: 13748392
Change-Id: I6930629b8e900628f15354f663b86dfb29a4db78
2014-04-22 15:00:31 -07:00
Chris Craik
222f33178b
Fix is_zero check
...
Fixes x/y rotations which were incorrectly disabled due to this check.
Change-Id: Ie8a7c8904c729a91b18243323b0be6110e743137
2014-04-22 10:09:03 -07:00
John Reck
dbc9a86d05
Force a full redraw on surface change
...
Bug: 13913604
Change-Id: Ie90c7ee74cf83358e19d8b4f0bae078540a93a8d
2014-04-17 20:27:37 -07:00
John Reck
6f07a0dc87
Add missing resume() call
...
Bug: 14087850
Change-Id: Ic555ca6027e617c7ed6e7e66b5cf713c36ed1c6c
2014-04-16 21:32:25 -07:00
John Reck
e8a866d4a4
Merge "Fix issue with bitmap uploading"
2014-04-14 20:57:38 +00:00
John Reck
860d155f86
Fix issue with bitmap uploading
...
Bug: 13912749
Change-Id: Ic23fa1d280118dc93dc2716a4a24cc0bbbdca595
2014-04-14 13:17:25 -07:00
John Reck
fae904d639
Fence on destruction
...
Bug: 14052927
destroyCanvasAndSurface() needs a fence as when it returns the
underlying BufferQueue is going to be released from under
the render thread.
Change-Id: I0147a1d5ec5adf0239c761ef22f65cd8c8a137df
2014-04-14 12:44:53 -07:00
Chris Craik
286ffe4b28
Merge "Remove use-after-free signal in RenderNode"
2014-04-11 22:46:20 +00:00