summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/context
Commit message (Collapse)AuthorAgeFilesLines
* Don't use setupPaintFill for drawBitmapJohn Reck2012-05-293-2/+15
| | | | | | | | | | | | Bug: 6505013 When drawing a bitmap, don't use setupPaintFill(). The reason is that setupPaintFill will use the fillColor to influence the alpha set on the SkPaint. However, that fillColor does not apply to the bitmap, and can have the result of applying the wrong alpha (as the alpha set is fillColor alpha * graphicsContext's alpha). Instead, set the alpha on the paint directly and use setupPaintCommon Change-Id: Ib8d7ef494593a2896e6e3ed03c00d8d4d4b7232a
* CSS Background image implementationNicolas Roard2012-04-241-2/+2
| | | | | | bug:1352305 Change-Id: Id9caaae9b9442729110b52c75004f634d8284db4
* Fix Gradient & Pattern handlingJohn Reck2012-04-131-28/+43
| | | | | | | | | | | Bug: 6300357 Switch to GradientSkia (fixes the crash) Fix GraphicsContextAndroid to delay setting the fill & stroke shaders until immediately before they are needed, as they can be updated between when they are set and when they are used, which SkShader doesn't support. Change-Id: I85c81ad5764495f45547d2cef08bcf7ed7a885c1
* Reorganize platform/graphics/androidNicolas Roard2012-04-061-0/+42
| | | | Change-Id: Idc67155cfa99784dcd931e705336bfa063ecae46
* Implements a recording GraphicsContextNicolas Roard2012-04-0610-0/+3474
Change-Id: I41feadb23dce25af321331c459eb159c6141831b