75040f8a7727f18bb33da23696a32a0760926ff2 |
|
07-Sep-2012 |
Chris Craik <ccraik@google.com> |
Handle different x, y scales in drawLines AA path bug:7114630 Fixes different x, y scales, and fixes boundaryWidthProportion to be from center, not edge. Also adds drawLine tests that previously drew blurry. Change-Id: I2b648a60361ad3931eac67647b9b27909525ee1e
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java
|
99ecdc480dd4f9b550b2a62ea39f77845a4fec49 |
|
06-May-2011 |
Chet Haase <chet@google.com> |
Fix for scaled AA lines Previously, the translucent boundary of AA lines would be scaled by the line's transform. It should always be exactly one pixel wide in screen space. This fix accounts for scaling for the boundary region, and fixes some AA calculations that make wide/AA lines more correct. Change-Id: I30df2d5d96315bf3e7ff30be9735282fd5439a39
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java
|
5b0200bd47e8a9a4dc8d2e6c3a110d522b30bf82 |
|
14-Apr-2011 |
Chet Haase <chet@google.com> |
Enable anti-aliasing for hw-accelerated lines Draw anti-aliased lines with OpenGL by constructing a quad with a border that fades out (to mimic fragment coverage). Change-Id: Ib81a3e62d663acdf1b46b401ac4aa7ee9855cc7e
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java
|
ed6fcb034b44d9a6ac2fc72fee6030417811f234 |
|
21-Mar-2011 |
Romain Guy <romainguy@google.com> |
Add support for drawPoint() and drawPoints(). Change-Id: I01bef50c08ec3160f8d40dc060b2cf6c2e4d7639
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java
|
7230a74e9a36dfc6c4346c14e325bf07cd05b380 |
|
11-Jan-2011 |
Romain Guy <romainguy@google.com> |
Composite layers as regions. This change detects what area of a layer was drawn into and generates a mesh to match this area exactly. This can be used to avoid blending empty pixels when the layer is composited. This change also adds proper layers support to lines rendering and implements layers composition in a more readable way. Change-Id: I4a5588b98b19bd66891ebdc39631b193c5e31999
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java
|
63fd87113cea6abec97a6cd966e090e9b590fc3b |
|
21-Dec-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Misc rendering fixes. - always set up the stroke. Paint may not have the proper style when drawing lines. stroke should still be setup. - Fixed vertical linear gradient. Old code generated a gradient ratio of NaN - Fixed alpha rendering when using shaders. In that case the alpha channel from the paint color should be used in conjunction with the shader. - Fixed miter limit. Java expects the value to be multiplied by the stroke width - Fixed support for drawing ALPHA_8 bitmaps. Java2D doesn't have bitmaps with only alpha channels, so we keep using ARGB bitmaps but when drawing them into a bitmap we erase the color information. Change-Id: I4f04341fc843e3f7dadd1fdbf709b11a4f1e24b9
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java
|
a957eea78557cb47a91d44d9e6ee641c58cf1c07 |
|
09-Dec-2010 |
Romain Guy <romainguy@google.com> |
New, better line drawing implementation. Bug #3207544 Bug #3225875 Change-Id: Ibdd1dfc64e01625d5c441f39eb0aa3ee647f6ff5
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java
|
469b1dbeaf7d3267d1b43af4e7391b49eac10ee0 |
|
05-Oct-2010 |
Romain Guy <romainguy@google.com> |
Code cleanup and disable display lists for now. Change-Id: I681213036b5279339cb96a016d1dfb15d74dafc8
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java
|
759ea80dca64ad652110a129e0d8bf93fea79f61 |
|
17-Sep-2010 |
Romain Guy <romainguy@google.com> |
Add support for drawLines(), with anti-aliasing Change-Id: I16c0593c5671490909dec13a85df601e1428a1a6
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java
|
f607bdc167f66b3e7003acaa4736ae46d78c1492 |
|
11-Sep-2010 |
Romain Guy <romainguy@google.com> |
Correct implementation of saveLayer(). Change-Id: I5375126636913e0a84f2d6bbd0ebe40d2e4f2763
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java
|