summaryrefslogtreecommitdiffstats
path: root/skia/ext/bitmap_platform_device.h
Commit message (Collapse)AuthorAgeFilesLines
* ozone: Support building without cairospang@chromium.org2013-11-191-4/+4
| | | | | | | | | | | | | | | | | | This adds a use_cairo gyp variable that removes cairo from the build. To build skia without cairo, we need the code in bitmap_platform_device_android.cc. To make all platforms build the correct files, rename bitmap_platform_device_linux to bitmap_platform_device_cairo and rename bitmap_platform_device_android to bitmap_platform_device_skia. We'll use bitmap_platform_device_skia for Android and for embedded content shell. BUG=318315, 318413 Review URL: https://codereview.chromium.org/59133008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236037 0039d316-1c4b-4281-b951-d872f2087c98
* repeat http://codereview.chromium.org/10908266/ but w/o the android change,reed@google.com2012-09-171-0/+15
| | | | | | | which broke a build. Review URL: https://codereview.chromium.org/10915300 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157105 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 156969 - Add define to limit recommended offscreen allocations. This ↵ilevy@chromium.org2012-09-151-15/+0
| | | | | | | | | | | | | | | | | avoids some failures where our out-of-memory handlers do not kick in properly. This broke the Android Builder here: http://build.chromium.org/p/chromium.linux/builders/Android%20Builder%20%28dbg%29/builds/15448 BUG=134626 Review URL: https://codereview.chromium.org/10908266 TBR=reed@google.com Review URL: https://codereview.chromium.org/10928219 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156974 0039d316-1c4b-4281-b951-d872f2087c98
* Add define to limit recommended offscreen allocations. This avoids some failuresreed@google.com2012-09-151-0/+15
| | | | | | | | | where our out-of-memory handlers do not kick in properly. BUG=134626 Review URL: https://codereview.chromium.org/10908266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156969 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-111-1/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* Minor skia fixes for Androidsteveblock@chromium.org2012-06-221-3/+3
| | | | | | | | | | | - Pick up the correct BitmapPlatformDevice header when __linux__ is defined - Exclude SkPDFFont.cpp as Android does not provide a valid value for SK_SFNTLY_SUBSETTER Review URL: https://chromiumcodereview.appspot.com/10636009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143695 0039d316-1c4b-4281-b951-d872f2087c98
* Build skia for Android.zhenghao@google.com2011-09-171-1/+2
| | | | | | | | | | | | Add some files and fix some code to make skia build on Android. BUG=none TEST=none Review URL: http://codereview.chromium.org/7920020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101644 0039d316-1c4b-4281-b951-d872f2087c98
* Patch for Solaris support, mostly ifdefs and header files, plus adds ↵chromium@hybridsource.org2011-06-251-2/+2
| | | | | | | | | | | libevent configuration. BUG=30101 TEST=compiles Review URL: http://codereview.chromium.org/7238021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90494 0039d316-1c4b-4281-b951-d872f2087c98
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-261-0/+1
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* FreeBSD/OpenBSD ifdefs for skiapvalchev@google.com2010-02-041-1/+1
| | | | | | Review URL: http://codereview.chromium.org/569036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38080 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the PlatformContext layer to have only one class.brettw@chromium.org2009-06-141-14/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Previously we had three classes of PlatformCanvas*, one for each platform. Then we had a typedef of PlatformContext to PlatformCanvas[Mac|Win|Linux] for the specific platform. This means that it was almost impossible to forward-declare PlatformCanvas and there were a bunch of unnecessary includes of platform_canvas.h in header files. This change makes there be only one platform_canvas.h header with ifdefs, which removes a decent amount of duplicated code. There is a platform-independent file, and one platform-dependent file of platform_canvas for each platform. I also renamed PlatformDevice[Mac|Win|Linux] to PlatformDevice, althouth in this case I kept the separate headers since there was much less overlap. I also broke out CanvasPaint into separate headers so this template doesn't need to be included all over the project (only a couple of files actually need it). Review URL: http://codereview.chromium.org/125109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18363 0039d316-1c4b-4281-b951-d872f2087c98
* Move the "platform" wrappers in skia/ext to the skia namespace.brettw@google.com2008-12-171-13/+10
| | | | | | Review URL: http://codereview.chromium.org/14110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7182 0039d316-1c4b-4281-b951-d872f2087c98
* Move port/.../skia/public to skia/ext for Linux. Windows & Mac already moved ↵brettw@google.com2008-11-221-0/+30
there. This leaves forwarding headers in base/gfx, which I'll clean up in a future pass. Review URL: http://codereview.chromium.org/11808 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5873 0039d316-1c4b-4281-b951-d872f2087c98