b7c26562d08bf72882eeca268a1bb51ea579653d |
|
04-Nov-2014 |
Rob Tsuk <robtsuk@google.com> |
Make points drawn with default paint visible When no stroke width is set, use 0.5 instead of 0.25 to make sure the resulting rectangle spans at least one pixel. Bug: 15455111 Change-Id: Id0a4b6d014c542ffc98b13a032f88ae0ce69b3a1
/frameworks/base/libs/hwui/PathTessellator.cpp
|
21bcfc4ff8642771bf42b264e1524ef47b00ae22 |
|
09-Sep-2014 |
Chris Craik <ccraik@google.com> |
Fix tessellation bounds computation bug:17401066 Now correctly accounts for scale, both in hairline case (where scale needs to be accounted for), and in standard case (where scale shouldn't be applied, since bounds are in local space) Change-Id: I597a20834dce42ddb741b46e4c1a4f3169a48ccc
/frameworks/base/libs/hwui/PathTessellator.cpp
|
74cf7e6a25c6d7b331c231b7bc2512044f9d2950 |
|
07-Aug-2014 |
Chris Craik <ccraik@google.com> |
Cap scales used for tessellation with minimum and maximum bug:15615144 Change-Id: I3e833864af3a7b34e444bd13db34b6c90496a8b6
/frameworks/base/libs/hwui/PathTessellator.cpp
|
1aa5d2d7068147ff781cfe911a93f01593a68c79 |
|
24-Jul-2014 |
John Reck <jreck@google.com> |
Fix ALL compile warnings All warnings/errors fixed for GCC & Clang Change-Id: I2ece3a136a5ae97a9acc3069537ed986238b5fd3
/frameworks/base/libs/hwui/PathTessellator.cpp
|
c93e45cf045f41aea95f856173e4043d988a5a5c |
|
16-Jul-2014 |
Chris Craik <ccraik@google.com> |
Build layer damage bounds for shadows bug:15538815 Change-Id: I703afeb7e31c28002bd1aff9ce448ec8cdc4e70d
/frameworks/base/libs/hwui/PathTessellator.cpp
|
fe02b4b344c37200486d8afc972560fb550cb17e |
|
17-Jun-2014 |
Chris Craik <ccraik@google.com> |
Add abort logging for huge scales and tessellation recursion depth bug:15615144 Change-Id: I275732eb97f9d5179beed23eecd2ee3cc7112e10
/frameworks/base/libs/hwui/PathTessellator.cpp
|
9c3dd62d0fbec40ea15b0a56a01bcfefa3ceabdd |
|
12-Jun-2014 |
Chris Craik <ccraik@google.com> |
Limit path approximation recursion depth bug:15369119 Change-Id: I6f009f5e8790129e1aa8a51e1fc6cdd1415dd617
/frameworks/base/libs/hwui/PathTessellator.cpp
|
05f3d6e5111fd08df5cd9aae2c3d28399dc0e7f5 |
|
03-Jun-2014 |
Chris Craik <ccraik@google.com> |
Tessellate on worker threads Tessellate and cache (where possible) shadow and round rect tessellation tasks. Change-Id: I2cfda8e11d83d51ea74af871235cf26e8f831d40
/frameworks/base/libs/hwui/PathTessellator.cpp
|
87f9df880e4a5bfba65d2ed413b3ead649595129 |
|
07-Mar-2014 |
Chris Craik <ccraik@google.com> |
Update tessellation tracing Change-Id: I6c73f2467817412d9936dde217df9938a6884003
/frameworks/base/libs/hwui/PathTessellator.cpp
|
15a07a21eb33e8ca1c7444944fe0541a53380c0c |
|
26-Jan-2014 |
Chris Craik <ccraik@google.com> |
Use path outlines to define shadow shapes Fixes the simplifying assumption that shadow casters were always rectangular. Java side APIs + plumbing to pass down correct shapes still need to be added. Change-Id: Ic4fee90af15679951a44bb5cc6ae454b98c4c194
/frameworks/base/libs/hwui/PathTessellator.cpp
|
d218a92c0afb8c0d98135b20b52ac87236e1c935 |
|
03-Jan-2014 |
Chris Craik <ccraik@google.com> |
Use const where possible for drawing parameters They should never be modified by a Renderer, only read and copied. Change-Id: I9d8d55dca19115ee9dfeb2bb3f092ba2fb327cd4
/frameworks/base/libs/hwui/PathTessellator.cpp
|
564acf7c9bff822f608cda0d5df0a64a9f9aaefd |
|
03-Jan-2014 |
Chris Craik <ccraik@google.com> |
Fix Clang warnings/errors Fix several build warnings (struct != class, int != size_t) and errors (variable leng non-POD arrays). Change-Id: I70b4e784365514303d8954bfcb1f39d7c22c1321
/frameworks/base/libs/hwui/PathTessellator.cpp
|
d6b65f67717025b1162f86f04e2caa5723566cac |
|
01-Jan-2014 |
Chris Craik <ccraik@google.com> |
Use const access to snapshot from OpenGLRenderer Additionally, move clipping methods to StatefulBaseRenderer Change-Id: Iff232bf16fc1ad3b7d89493da6d8915db7bc5e4f
/frameworks/base/libs/hwui/PathTessellator.cpp
|
11a7567d6f0e797d7053c338b55c499bee3d1e42 |
|
17-Dec-2013 |
Chris Craik <ccraik@google.com> |
Use vertex assignment instead of manual copy Change-Id: I36c806e3370abca61e5bf5064f0f1a776a9ce487
/frameworks/base/libs/hwui/PathTessellator.cpp
|
f0a590781b2c3e34132b2011d3956135add73ae0 |
|
20-Nov-2013 |
Chris Craik <ccraik@google.com> |
Clean up quick rejection, especially surrounding points + lines. bug:4351353 quickReject and quickRejectNoScissor have been renamed and refactored: - to make the scissor side effect clear and explicit - dangerous methods no longer public - to make the simple quick reject check logic const - simple quick reject is now conservative This CL also fixes several issues with line and point quickRejection - sub-pixel and hairline lines are much less likely to be incorrectly rejected, especially at small canvas scale. Additionally, alpha modulation for AA points < 1px in size is now correct, dumplicating SW behavior (similar to lines and stroked shapes work). Change-Id: Ibb0710c721b9fb415d05acf54dd3d2b4d602156a
/frameworks/base/libs/hwui/PathTessellator.cpp
|
3380cfdc77100e87aa8390386ccf390834dea171 |
|
16-Aug-2013 |
Romain Guy <romainguy@google.com> |
Replace float arrays with readable names Change-Id: I32a8be560b60a4ac5cbee2fec4574b2c5df9f825
/frameworks/base/libs/hwui/PathTessellator.cpp
|
6d29c8d5218cac0fb35f3b7c253f2bdebd44f15a |
|
09-May-2013 |
Chris Craik <ccraik@google.com> |
Add tessellation path for points bug:4351353 bug:8185479 Point tessellation is similar to line special case, except that we only tessellate one point (as a circle or rect) and duplicate it across other instances. Additionally: Fixes square caps for AA=false lines Cleanup in CanvasCompare, disabling interpolation on zoomed-in comparison view Change-Id: I0756fcc4b20f77878fed0d8057297c80e82ed9dc
/frameworks/base/libs/hwui/PathTessellator.cpp
|
e7c69c6fe3eac1fb01126ede550e5dc32979804a |
|
03-Apr-2013 |
Chris Craik <ccraik@google.com> |
Account for hairlines in quick rejection logic bug:8531373 Change-Id: I35444014f23fc61da687694fccc0d13bce718793
/frameworks/base/libs/hwui/PathTessellator.cpp
|
19a390bff348cd379caba1265faec77fcff29200 |
|
28-Feb-2013 |
Chris Craik <ccraik@google.com> |
Correct sub-hairline tessellation threshold Change-Id: Id868d41a36db5b4daa762d84b6329f9c31916bce
/frameworks/base/libs/hwui/PathTessellator.cpp
|
65cd612face362d054a85d0f7e5881c59cd523be |
|
11-Dec-2012 |
Chris Craik <ccraik@google.com> |
Add cap tessellation support bug:7117155 bug:8114304 Currently used for lines (with and without AA) and arcs with useCenter=false Also removes 0.375, 0.375 offset for AA lines Change-Id: Ic8ace418739344db1e2814edf65253fe7448b0b0
/frameworks/base/libs/hwui/PathTessellator.cpp
|