summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextSkia.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leak when creating SkBitmapProcShaderBjörn Isaksson2013-03-301-1/+1
| | | | | | | | A SkShader is ref counted, but the first but unref() was never called for the local reference in PlatformGraphicsContextSkia::drawBitmapPattern(). Change-Id: Ia1936d62f052f9440ef0316cc642b0aebd79cfe1
* Remove usages of getCanvasJohn Reck2012-08-061-0/+13
| | | | | | Everything goes through either PlatformGraphicsContext or recordingCanvas() Change-Id: I375a4294d2e8d4b467b70c6b8a7f0b96f402f252
* Build a clipping tree in RecordingContextJohn Reck2012-07-101-12/+14
| | | | Change-Id: I967c8e2ea209c848e6a09b44390ab2228b213ca5
* Don't use setupPaintFill for drawBitmapJohn Reck2012-05-291-2/+4
| | | | | | | | | | | | 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
* Implements a recording GraphicsContextNicolas Roard2012-04-061-0/+606
Change-Id: I41feadb23dce25af321331c459eb159c6141831b