summaryrefslogtreecommitdiffstats
path: root/skia/ext/bitmap_platform_device_win.cc
Commit message (Collapse)AuthorAgeFilesLines
* setConfig is deprecated, use setInfo or allocPixels instead.reed@google.com2014-07-021-1/+1
| | | | | | | | | | | kPNColor_SkColorType is now kN32_SkColorType TBR= BUG=skia:2706 Review URL: https://codereview.chromium.org/363933002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281044 0039d316-1c4b-4281-b951-d872f2087c98
* use non-deprecated version of installPixel() that takes colortablereed@google.com2014-06-031-2/+3
| | | | | | | | | NOTRY=True only failing/retrying bot is android, and this change is explicitly only for windows. Review URL: https://codereview.chromium.org/316663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274651 0039d316-1c4b-4281-b951-d872f2087c98
* SkDevice virtual changed from onCreateCompatibleDevice to onCreateDevicereed@google.com2014-02-221-4/+5
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/174513004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252712 0039d316-1c4b-4281-b951-d872f2087c98
* call clear() instead of using deprecated API accessBitmap()reed@chromium.org2014-02-181-1/+1
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/168833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251778 0039d316-1c4b-4281-b951-d872f2087c98
* More instrumentation for GDI allocation failurescpu@chromium.org2014-02-111-54/+6
| | | | | | | | | | | | | | | | The problem is that ::CreateDIBSection fails and we don't know why the current instrumentation tells us that everything is nice in the current process, so we are adding code to check on the child processes of the current process. Its a big crasher in dev soon to be beta so I am rushing this. TBR=brettw,jamesr,thakis BUG=341593 Review URL: https://codereview.chromium.org/159523003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250357 0039d316-1c4b-4281-b951-d872f2087c98
* remove custom pixelref, using new installPixels() instead.reed@google.com2014-02-041-66/+17
| | | | | | | | NOTRY=true Review URL: https://codereview.chromium.org/151723002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248796 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r12910robertphillips@google.com2014-01-061-1/+1
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/110353006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243135 0039d316-1c4b-4281-b951-d872f2087c98
* remove SK_SUPPORT_LEGACY_PIXELREF_CONSTRUCTOR now that call-sites have been ↵reed@google.com2013-12-201-9/+24
| | | | | | | | | | updated BUG= Review URL: https://codereview.chromium.org/115503003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242150 0039d316-1c4b-4281-b951-d872f2087c98
* In order to respect Win32 semantics (and appease Dr.Memory), stash the ↵senorblanco@chromium.org2013-12-041-5/+4
| | | | | | | | | | initial GDI bitmap created with the DC in BitmapPlatformDevice(win), and select it back into the DC just before destruction. BUG=110783 Review URL: https://codereview.chromium.org/100393007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238610 0039d316-1c4b-4281-b951-d872f2087c98
* Remove BitmapPlatformDeviceData, and merge its functionality into the ↵senorblanco@chromium.org2013-12-021-43/+33
| | | | | | | | | | | | appropriate BitmapPlatformDevice. It was a little twisty maze of #ifdefs, ostensibly created to allow successful assignment and copy construction of the device. However, I could not find any such use, and the BitmapPlatformDevices are all marked DISALLOW_COPY_AND_ASSIGN! Instead, we use a subclass of SkPixelRef to handle ownership of the platform-specific bitmaps. This allows correct Skia semantics: the SkBitmap used for device drawing can safely outlive the device, since it is refcounted. Such a subclass already existed for Windows; this simply implements it for Cairo as well, and uses it in all cases. TBR=brettw Review URL: https://codereview.chromium.org/95773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238213 0039d316-1c4b-4281-b951-d872f2087c98
* Add diagnostic information for CreateDIBSection failuresjamesr@chromium.org2013-11-181-0/+58
| | | | | | | | | | | | | | | | | | This tries to grab useful diagnostic information from the system when CreateDIBSection fails since we're about to crash anyway. This tries to categorize the failure as being out of GDI handles, out of memory generally, or unknown and puts more information on the stack. Based on code from cpu@ in r116646 and from vangelis@ in https://codereview.chromium.org/57053002/ R=cpu TBR=reed NOTRY=true since nacl_integration is being stupid BUG=275046 Review URL: https://codereview.chromium.org/70193011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235667 0039d316-1c4b-4281-b951-d872f2087c98
* replace setIsOpaque (deprecated) with explicit SkAlphaTypereed@google.com2013-10-241-4/+4
| | | | | | | | | BUG= R=enne@chromium.org, jam@chromium.org, jamesr@chromium.org, thakis@chromium.org Review URL: https://codereview.chromium.org/37233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230799 0039d316-1c4b-4281-b951-d872f2087c98
* Skia r10995 landed the SkDevice refactoring in Skia. This CL rolls up to ↵robertphillips@google.com2013-08-291-2/+2
| | | | | | | | | | | | | | that point (from 10991) and updates some of Chromium that either changed since the original Chromium-side changes (cc & skia/ext) or was known to need changing at this point (printing) cc: danakj printing: vandebo skia: bsalomon, reed, or rmistry R=danakj@chromium.org, reed@google.com, vandebo@chromium.org Review URL: https://codereview.chromium.org/23636005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220321 0039d316-1c4b-4281-b951-d872f2087c98
* Skia is going to Split the SkDevice class into SkBaseDevice and ↵robertphillips@google.com2013-08-261-4/+4
| | | | | | | | | | SkBitmapDevice. Right now Skia has typedefs redirecting SkBaseDevice and SkBitmapDevice to SkDevice. This CL begins the Chromium-side renaming process in preparation for the real change (https://codereview.chromium.org/22978012/) BUG=278148 Review URL: https://chromiumcodereview.appspot.com/22796028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219568 0039d316-1c4b-4281-b951-d872f2087c98
* Change PlatformBitmap memory ownership story. Fix CopyFromBackingStore ↵nick@chromium.org2013-02-021-24/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | threading issues. PlatformBitmap: restructure this class so that, on all platforms, it is safe to use an SkBitmap derived from the PlatformBitmap even after the PlatformBitmap is destroyed. In practice this means changes to Linux (use a different cairo creation routine that allows us to allocate the memory) and Windows (the HDC is owned by PlatformBitmap, the HBITMAP by the SkPixelRef). CopyFromBackingStore: instead of requiring the caller to provide a PlatformBitmap, modify the signature so that the completion callback accepts an SkBitmap. Sometimes, the backing store copiers will allocate a PlatformBitmap and pass its SkBitmap to the completion callback, but this becomes merely an implementation detail. Meanwhile, in the accelerated case, it is not at all necessary to allocate a PlatformBitmap, so don't. This fixes a bug on Linux where the cairo surface context was being freed on a thread other than the UI thread. PlatformBitmap is basically not thread safe on Linux, and this change fixes that. Also fixed is a Dr. Memory GDI usage warning -- we are sure to de-select the HBITMAP before deleting the memory DC. Lastly, moving CopyFromBackingStore's interface to use a callee-managed SkBitmap conditions the architecture for doing RGBA->YUV on the GPU, prior to readback. BUG=109963,159234,161537 Review URL: https://codereview.chromium.org/12087016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180271 0039d316-1c4b-4281-b951-d872f2087c98
* Add skia::RefPtr class to wrap ref counted classes from Skia.danakj@chromium.org2012-12-041-8/+5
| | | | | | | | | | | | | | | | | | | This class behaves like scoped_refptr and wraps the raw SkRefCnt subclass so that we don't have to call ref() and unref() directly on the pointers. Tested by: unit_tests:RefPtrTest.ReferenceCounting unit_tests:RefPtrTest.Construct unit_tests:RefPtrTest.DeclareAndAssign unit_tests:RefPtrTest.Assign unit_tests:RefPtrTest.Upcast BUG=163454 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11418217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170851 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify platform_canvas.h by recognizing that PlatformCanvas does not ↵reed@google.com2012-11-141-5/+16
| | | | | | | | | | | | | | | | | | | | | actually extend SkCanvas in any way, other than provide a host of constructors (and delayed constructors in the form of 'initialize' methods). These late initializers are a problem, as SkCanvas is deprecating its setDevice() call, moving to model where the backingstore/device for the canvas must be created before the canvas is created. This is necessary to allow skia to continue to extend SkCanvas for its backends (e.g. GPU, PDF, Picture, Pipe, etc.). The practical change in this CL is to make PlatformCanvas just a typedef for SkCanvas, and change the call-sites that want to call initialize() to instead create the canvas using one of the provided Factory functions (e.g. CreatePlatformCanvas). The modifier Platform is maintained, to document that this canvas may be backed by platform-specific pixels (e.g. allocated by GDI or cairo). Review URL: https://codereview.chromium.org/11138024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167669 0039d316-1c4b-4281-b951-d872f2087c98
* Free the dibsection (HBITMAP) in PlatformBitmap's destructor, so we don't leak!reed@google.com2012-11-011-0/+6
| | | | | | | | | | | This adds an extra slot to PlatformBitmap, which is implemented for all platforms. To do this simply, an intptr_t field is added (platform_extra_) which is initialized to 0. At the moment, only the windows port uses this, but there is no cost to the other ports. BUG=158931 Review URL: https://codereview.chromium.org/11293036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165424 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce PlatformBitmap, which is a minimal helper class that wraps an SkBitmapreed@google.com2012-10-101-30/+58
| | | | | | | | | | | | | | | | | and a PlatformSurface. This is used to replace the PlatformCanvas that was being passed to BackingStore to return pixels. The problem to solve is that PlatformCanvas is an extension of SkCanvas, and SkCanvas is losing the ability to have its backend specified after its constructor (for performance reasons). The BackingStore interface only needs to return a copy of its pixels, and offer a platform-specific way to draw into it (i.e. BitBlt). The PlatformSurface is sufficient for this, so the larger infrastructure of PlatformCanvas/PlatformDevice is not required. Review URL: https://codereview.chromium.org/11031055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161163 0039d316-1c4b-4281-b951-d872f2087c98
* check for valid device before usingreed@google.com2012-09-241-1/+1
| | | | | | | BUG=151611 Review URL: https://codereview.chromium.org/10972009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158266 0039d316-1c4b-4281-b951-d872f2087c98
* Now that we can handle NULL from BitmapPlatformDevice::Create, remove thereed@google.com2012-09-181-66/+1
| | | | | | | | | | crashers that were used to try to diagnose... before crashing. With this change we can safely run over-allocating sites like http://ie.microsoft.com/testdrive/Performance/Chalkboard/ BUG=134626 Review URL: https://codereview.chromium.org/10918270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157363 0039d316-1c4b-4281-b951-d872f2087c98
* Fix win32 error checking in platform_canvas_skia.cc by moving code into ↵reveman@chromium.org2012-04-171-0/+64
| | | | | | | | | | | bitmap_platform_device_win.cc. BUG=119555 TEST=manual Review URL: http://codereview.chromium.org/10093006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132550 0039d316-1c4b-4281-b951-d872f2087c98
* Don't get screen dc when creating BitmapPlatformDevicejbauman@chromium.org2012-04-101-14/+1
| | | | | | | | | | | | We were only using the screen dc for CreateDIBSection, which is unnecessary, and it was grabbing a lock preventing us from creating a BitmapPlatformDevice while something else was presenting to the screen. BUG=122103 TEST= Review URL: http://codereview.chromium.org/10009022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131574 0039d316-1c4b-4281-b951-d872f2087c98
* Remove redundant memory clears when constructing BitmapPlatformDevice ↵twiz@chromium.org2012-03-161-14/+28
| | | | | | | | | | | | | | | instances on Mac and Windows. PlatformCanvas construction is showing up as a performance bottleneck due to unnecessary initialization. The change moves the clear to the call sites where it is necessary. Note: On Linux, cairo always allocates an initialized surface, so there is no way to bypass the performance penalty. BUG=112009 TEST=All of them Review URL: http://codereview.chromium.org/9416017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127196 0039d316-1c4b-4281-b951-d872f2087c98
* Skia DEPS roll to 3147epoger@chromium.org2012-02-101-1/+2
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9346023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121451 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Coverity defects in skia/ext:vandebo@chromium.org2012-01-031-4/+3
| | | | | | | | | | | | | - Three uninit ctors, two dead codes, and a misuse of var args. CID=100083, 101537, 17746, 9369, 9279, 9278 BUG=none TEST=none Review URL: http://codereview.chromium.org/8965060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116189 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 109461 - twiz@chromium.org2011-11-141-57/+0
| | | | | | | | | | | | | | | | | | | Re-introduction of release mode checks to determine the cause of CreateDIBSection failures. The crash is happening outside of the expected conditions in which CreateDIBSection would fail (large bitmap size, GDI and virtual memory pressure). To track the cause, this CL attempts to capture the last system error on bitmap allocation failure. See previous checks here: http://codereview.chromium.org/8341090 BUG=101934, 104063 TEST=NONE Review URL: http://codereview.chromium.org/8509030 TBR=twiz@chromium.org Review URL: http://codereview.chromium.org/8565027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109978 0039d316-1c4b-4281-b951-d872f2087c98
* Re-introduction of release mode checks to determine the cause of ↵twiz@chromium.org2011-11-101-0/+57
| | | | | | | | | | | | | | | CreateDIBSection failures. The crash is happening outside of the expected conditions in which CreateDIBSection would fail (large bitmap size, GDI and virtual memory pressure). To track the cause, this CL attempts to capture the last system error on bitmap allocation failure. See previous checks here: http://codereview.chromium.org/8341090 BUG=101934 TEST=NONE Review URL: http://codereview.chromium.org/8509030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109461 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 108023 - Debug checks to make it easier to find reason for ↵groby@chromium.org2011-11-031-34/+0
| | | | | | | | | | | | | | | CanvasT<>::initialize crash BUG=101934,102740 TEST=none Review URL: http://codereview.chromium.org/8341090 TBR=groby@chromium.org, vandebo@chromium.org Review URL: http://codereview.chromium.org/8437105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108557 0039d316-1c4b-4281-b951-d872f2087c98
* Debug checks to make it easier to find reason for CanvasT<>::initialize crashgroby@chromium.org2011-10-311-0/+34
| | | | | | | | | | BUG=101934 TEST=none Review URL: http://codereview.chromium.org/8341090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108023 0039d316-1c4b-4281-b951-d872f2087c98
* CL removing inheritance of SkDevice from PlatformDevice. twiz@google.com2011-08-281-2/+2
| | | | | | | | | | | | | PlatformDevice is now a base interface, which is implemented by the various flavours of BitmapPlatformDevice, and VectorPlatformDevice. The BitmapPlatformDevice and VectorPlatformDevice classes now inherit directly from SkDevice, or SkPDFDevice, as appropriate. PlatformDevice helper functions access the PlatformDevice interface attached to a SkDevice via meta-data on the SkDevice. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98230 Review URL: http://codereview.chromium.org/7633040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98585 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98230 - CL removing inheritance of SkDevice from PlatformDevice. twiz@chromium.org2011-08-251-2/+2
| | | | | | | | | | | | | | | PlatformDevice is now a base interface, which is implemented by the various flavours of BitmapPlatformDevice, and VectorPlatformDevice. The BitmapPlatformDevice and VectorPlatformDevice classes now inherit directly from SkDevice, or SkPDFDevice, as appropriate. PlatformDevice helper functions access the PlatformDevice interface attached to a SkDevice via meta-data on the SkDevice. BUG=none TEST=none Review URL: http://codereview.chromium.org/7633040 TBR=twiz@chromium.org,jbates@chromium.org, dpolukhin@chromium.org, sanjeevr@chromium.org Review URL: http://codereview.chromium.org/7754001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98233 0039d316-1c4b-4281-b951-d872f2087c98
* CL removing inheritance of SkDevice from PlatformDevice. twiz@chromium.org2011-08-251-2/+2
| | | | | | | | | | | | PlatformDevice is now a base interface, which is implemented by the various flavours of BitmapPlatformDevice, and VectorPlatformDevice. The BitmapPlatformDevice and VectorPlatformDevice classes now inherit directly from SkDevice, or SkPDFDevice, as appropriate. PlatformDevice helper functions access the PlatformDevice interface attached to a SkDevice via meta-data on the SkDevice. BUG=none TEST=none Review URL: http://codereview.chromium.org/7633040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98230 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using deprecated factory API for SkDevicereed@google.com2011-07-051-11/+5
| | | | | | | Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91504 Review URL: http://codereview.chromium.org/7273013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91508 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 91504 - Stop using deprecated factory API for SkDevicereed@google.com2011-07-051-5/+11
| | | | | | | | | Review URL: http://codereview.chromium.org/7273013 TBR=reed@google.com Review URL: http://codereview.chromium.org/7193040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91505 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using deprecated factory API for SkDevicereed@google.com2011-07-051-11/+5
| | | | | | Review URL: http://codereview.chromium.org/7273013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91504 0039d316-1c4b-4281-b951-d872f2087c98
* CL removing unused copy constructor and assignment operators on ↵twiz@chromium.org2011-06-171-19/+0
| | | | | | | | | | | BitmapPlatformDevice. These classes should not have value semantics. BUG=None TEST=None Review URL: http://codereview.chromium.org/7204005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89534 0039d316-1c4b-4281-b951-d872f2087c98
* This change implements a first pass in the effort to remove the dependency ↵twiz@chromium.org2011-05-261-10/+2
| | | | | | | | | | | | | | of PlatformDevice within Chrome. The Skia library now provides multiple back-ends for the SkDevice class, so PlatformDevice's inheritance of SkDevice, and the assumption of instances of PlatformDevice limits the use of these new back-ends. A new set of helper functions is provided for the PlatformDevice entry points. Upon construction of a PlatformDevice, a pointer to the interface is cached in the parent SkDevice's SkMetaData. The new helper functions forward calls to the interface cached in the metadata. BUG=NONE TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86625 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=86625 Review URL: http://codereview.chromium.org/7019013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86823 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 86625 - This change implements a first pass in the effort to remove ↵vandebo@chromium.org2011-05-251-2/+10
| | | | | | | | | | | | | | | the dependency of PlatformDevice within Chrome. The Skia library now provides multiple back-ends for the SkDevice class, so PlatformDevice's inheritance of SkDevice, and the assumption of instances of PlatformDevice limits the use of these new back-ends. A new set of helper functions is provided for the PlatformDevice entry points. Upon construction of a PlatformDevice, a pointer to the interface is cached in the parent SkDevice's SkMetaData. The new helper functions forward calls to the interface cached in the metadata. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7019013 TBR=twiz@chromium.org Review URL: http://codereview.chromium.org/6987019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86629 0039d316-1c4b-4281-b951-d872f2087c98
* This change implements a first pass in the effort to remove the dependency ↵twiz@chromium.org2011-05-251-10/+2
| | | | | | | | | | | | of PlatformDevice within Chrome. The Skia library now provides multiple back-ends for the SkDevice class, so PlatformDevice's inheritance of SkDevice, and the assumption of instances of PlatformDevice limits the use of these new back-ends. A new set of helper functions is provided for the PlatformDevice entry points. Upon construction of a PlatformDevice, a pointer to the interface is cached in the parent SkDevice's SkMetaData. The new helper functions forward calls to the interface cached in the metadata. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7019013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86625 0039d316-1c4b-4281-b951-d872f2087c98
* Assert on BeginPlatformPaint/EndPlatformPaint mismatch.ctguil@chromium.org2011-05-111-0/+9
| | | | | | | | | BUG=80616 TEST=none Review URL: http://codereview.chromium.org/6949012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85019 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chrome's Skia Device to use the new device factory interface ↵vandebo@chromium.org2011-04-291-0/+4
| | | | | | | | | | | | | (http://code.google.com/p/skia/source/detail?r=1180). Remove valgrind suppression. BUG=80836 TEST=NONE Review URL: http://codereview.chromium.org/6883255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83555 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a few styles issues in skia::PlatformDevice. Made function names ↵alokp@chromium.org2011-04-061-3/+3
| | | | | | | | consistent. Added Begin/EndPlatformPaint on Mac. Review URL: http://codereview.chromium.org/6691067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80707 0039d316-1c4b-4281-b951-d872f2087c98
* rename getBitmapDC to beginPlatformPaint and add calls to endPlatformPaintvandebo@chromium.org2011-04-051-3/+4
| | | | | | | | | | | This takes a step toward unifying the platform device interface between Windows and Linux and helps to make VectorPlatformDeviceSkia have less ifdefs. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6677142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80474 0039d316-1c4b-4281-b951-d872f2087c98
* roll skiareed@google.com2011-02-281-1/+2
| | | | | | Review URL: http://codereview.chromium.org/6588012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76216 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76069 - roll to rev. 846, includes change to SkDevice setMatrixClip() ↵reed@google.com2011-02-251-2/+1
| | | | | | | | | | | interface Review URL: http://codereview.chromium.org/6549029 TBR=reed@google.com Review URL: http://codereview.chromium.org/6596014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76070 0039d316-1c4b-4281-b951-d872f2087c98
* roll to rev. 846, includes change to SkDevice setMatrixClip() interfacereed@google.com2011-02-251-1/+2
| | | | | | Review URL: http://codereview.chromium.org/6549029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76069 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia 636:673thakis@chromium.org2011-01-081-1/+2
| | | | | | | | | | | | | | | | | I need r666 (r667 and r668 are build fixes for r666. r673 fixes a regression that was introduced in r637 – found by the chromium trybots). Some code changes required due to r637, which changed the signature of a pure virtual method and the signatures of several non-virtual methods. I added OVERRIDEs on windows to let this be a compile error in the future. I also added SkBitmapCache.h/cpp to the gyp file which was added in r655. SkGradientShader depends on this. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70693 Review URL: http://codereview.chromium.org/6081006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70835 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "roll skia 636:673"thakis@chromium.org2011-01-071-2/+1
| | | | | | | | This reverts "roll skia 636:673", it broke webkit tests. I will re-checkin with suppressions later, and then update baselines after that. TBR=jar git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70700 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia 636:673thakis@chromium.org2011-01-071-1/+2
| | | | | | | | | | | | | | | I need r666 (r667 and r668 are build fixes for r666. r673 fixes a regression that was introduced in r637 – found by the chromium trybots). Some code changes required due to r637, which changed the signature of a pure virtual method and the signatures of several non-virtual methods. I added OVERRIDEs on windows to let this be a compile error in the future. I also added SkBitmapCache.h/cpp to the gyp file which was added in r655. SkGradientShader depends on this. BUG=none TEST=none Review URL: http://codereview.chromium.org/6081006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70693 0039d316-1c4b-4281-b951-d872f2087c98