summaryrefslogtreecommitdiffstats
path: root/skia
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to build a canvas with a target scale factor.pkotwicz@chromium.org2012-06-272-13/+13
| | | | | | | | | | | | | | This allows ExtractBitmap() to return an ImageSkiaRep. This simplifies code around using intermediate bitmaps a lot. BUG=131475 TEST=Compiles R=oshima,sky TBR=sadrul Review URL: https://chromiumcodereview.appspot.com/10562027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144489 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid redefining HAVE_ENDIAN_H and HAVE_OFF64_T on Androidsteveblock@chromium.org2012-06-271-2/+10
| | | | | | | | | | | These are already provided by system/core/include/arch/linux-arm/AndroidConfig.h and cause warnings when redefined. Review URL: https://chromiumcodereview.appspot.com/10696007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144465 0039d316-1c4b-4281-b951-d872f2087c98
* Teach CanvasSkiaPaint about HiDPI contexts.avi@chromium.org2012-06-231-15/+24
| | | | | | | | | | BUG=132937 TEST=download progress indicator is more hidpi (still isn't perfect) Review URL: https://chromiumcodereview.appspot.com/10656006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143760 0039d316-1c4b-4281-b951-d872f2087c98
* Minor skia fixes for Androidsteveblock@chromium.org2012-06-222-3/+4
| | | | | | | | | | | - 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
* control: https://chromiumcodereview.appspot.com/10642021robertphillips@google.com2012-06-221-0/+3
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10634029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143606 0039d316-1c4b-4281-b951-d872f2087c98
* ImageSkia is 1:1 to NSImage. This patch adds conversions between ImageSkia ↵pkotwicz@chromium.org2012-06-142-8/+0
| | | | | | | | | | | | | | and NSImage instead of SkBitmap wherever possible Renamed image_mac to image_skia_util_mac. Moved AppplicationIconAtSize from skia_utils_mac to image_skia_util_mac BUG=132327 TEST=Chromium task manager icon shows up not blurry when chromium is run in High DPI mode on Mac. Review URL: https://chromiumcodereview.appspot.com/10532102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142153 0039d316-1c4b-4281-b951-d872f2087c98
* Removemark@chromium.org2012-06-141-6/+0
| | | | | | | | | | | | | | | | | -F$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks It wasn't ever correct to compile or link with this, and it just encourages people to do stupid things that aren't guaranteed to work at runtime in future OS releases or with future SDKs. Just #include <ApplicationServices/ApplicationServices.h> or link against ApplicationServices.framework by adding $(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework to your 'link_settings': {'libraries': []} section. The WebKit portion was fixed at https://bugs.webkit.org/show_bug.cgi?id=88569 . Review URL: https://chromiumcodereview.appspot.com/10535059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142137 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 141760 - Revert 141741 - Roll Skia DEPS to 4234 (inc changes to skia.gyp)cpu@chromium.org2012-06-121-0/+2
| | | | | | | | | | | | | | https://chromiumcodereview.appspot.com/10548003/ Review URL: https://chromiumcodereview.appspot.com/10533109 TBR=robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/10543126 TBR=cpu@chromium.org Review URL: https://chromiumcodereview.appspot.com/10536133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141788 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 141741 - Roll Skia DEPS to 4234 (inc changes to skia.gyp)cpu@chromium.org2012-06-121-2/+0
| | | | | | | | | | | https://chromiumcodereview.appspot.com/10548003/ Review URL: https://chromiumcodereview.appspot.com/10533109 TBR=robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/10543126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141760 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to 4234 (inc changes to skia.gyp)robertphillips@google.com2012-06-121-0/+2
| | | | | | | | https://chromiumcodereview.appspot.com/10548003/ Review URL: https://chromiumcodereview.appspot.com/10533109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141741 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 4229reed@google.com2012-06-121-0/+6
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10538067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141653 0039d316-1c4b-4281-b951-d872f2087c98
* Roll out http://crrev.com/140760 , because we encountered errors when ↵epoger@google.com2012-06-082-1829/+333
| | | | | | | | rebaselining in webkit. Review URL: https://chromiumcodereview.appspot.com/10542063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141216 0039d316-1c4b-4281-b951-d872f2087c98
* Add two files + deps roll + 2 new expectationsrobertphillips@google.com2012-06-081-0/+2
| | | | | | | | control group: http://codereview.chromium.org/10541032/ Review URL: https://chromiumcodereview.appspot.com/10546027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141202 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Use NSWidth() and friends in a few more places.thakis@chromium.org2012-06-072-9/+6
| | | | | | | | | | | | No intended behavior change. BUG=none TEST=none TBR=owners Review URL: https://chromiumcodereview.appspot.com/10545050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141084 0039d316-1c4b-4281-b951-d872f2087c98
* Correct expectation for SVG test.ojan@chromium.org2012-06-071-1/+1
| | | | | | | | | | | | | It was listed upstream as SLOW, so it needs the same treatment here. TBR=epoger@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10545061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141067 0039d316-1c4b-4281-b951-d872f2087c98
* More layout tests that were broken by http://crrev.com/140760epoger@google.com2012-06-061-4/+12
| | | | | | | BUG=131379 Review URL: https://chromiumcodereview.appspot.com/10540030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140775 0039d316-1c4b-4281-b951-d872f2087c98
* Remove SK_USE_LEGACY_AA_COVERAGE, which will require rebaselinesepoger@google.com2012-06-062-4/+1833
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10458058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140760 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 4156reed@google.com2012-06-052-1/+11
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10541005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140580 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140341 - Revert 140309 - Roll Skia to r4138.bsalomon@google.com2012-06-041-0/+4
| | | | | | | | | | | | | | | | Control your roll: https://chromiumcodereview.appspot.com/9252024 Review URL: https://chromiumcodereview.appspot.com/10466003 Potential perf failure. TBR=bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/10512015 Performance was restored on perf bot before the skia roll revert. The regression appears to have been a flake. TBR=dominich@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140350 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140309 - Roll Skia to r4138.dominich@google.com2012-06-041-4/+0
| | | | | | | | | | | | Control your roll: https://chromiumcodereview.appspot.com/9252024 Review URL: https://chromiumcodereview.appspot.com/10466003 Potential perf failure. TBR=bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/10512015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140341 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia to r4138.bsalomon@google.com2012-06-041-0/+4
| | | | | | | Control your roll: https://chromiumcodereview.appspot.com/9252024 Review URL: https://chromiumcodereview.appspot.com/10466003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140309 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress invalid warning in skia buildscottmg@chromium.org2012-06-011-1/+1
| | | | | | | | | | | | | | | Discussion on skia bug, suppresses: http://code.google.com/p/skia/issues/detail?id=623 c:\src\crninja\src\third_party\skia\src\sfnt\SkOTTable_head.h(120) : warning C4341: 'OnlyStronglyRTL' : signed value is out of range for enum constant c:\src\crninja\src\third_party\skia\src\sfnt\SkOTTable_head.h(120) : warning C4341: 'StronglyRTL' : signed value is out of range for enum constant BUG=126483,skia:623 Review URL: https://chromiumcodereview.appspot.com/10446119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140082 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia to r4102.bsalomon@google.com2012-06-011-2/+4
| | | | | | | Control your roll: https://chromiumcodereview.appspot.com/9252024 Review URL: https://chromiumcodereview.appspot.com/10441122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140050 0039d316-1c4b-4281-b951-d872f2087c98
* Use std floorf() instead of custom version to go faster.reed@google.com2012-05-311-9/+3
| | | | | | | | Previously the custom version was chosen to work around bugs with very large floats, but those have been addressed. Review URL: https://chromiumcodereview.appspot.com/10458059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139829 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 4062reed@google.com2012-05-301-0/+4
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10454057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139538 0039d316-1c4b-4281-b951-d872f2087c98
* Pass the global matrix to CG always.caryclark@google.com2012-05-291-26/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Draw the minimum. For both the cases when the canvas' device is bitmap-backed and when it is not, pass the global matrix to CG. When their was no backing bitmap, set the global matrix to identity (by concatenating the inverse). This allows multipage documents that adjust the global matrix by the height of the page to draw the bitmap that acts as a proxy for the device bits at the correct offset. Parse the built bitmap to find the bounds of the changed pixels, and draw that subset. BUG=121752 BUG=129527 TEST=http://jsfiddle.net/kqxBx/3/show/ (print to PDF) TEST=http://mrdoob.com/lab/javascript/checkbox_painter/ (print to PDF) TEST=SkiaUtilsMacTest.BitLocker_* Review URL: https://chromiumcodereview.appspot.com/10450024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139304 0039d316-1c4b-4281-b951-d872f2087c98
* Remove skia_test_expectations added in http://crrev.com/138307epoger@google.com2012-05-291-6/+0
| | | | | | | | | control group is https://chromiumcodereview.appspot.com/10449050 BUG=129184 Review URL: https://chromiumcodereview.appspot.com/10444056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139302 0039d316-1c4b-4281-b951-d872f2087c98
* SkNWayCanvas is now compiled.keyar@chromium.org2012-05-231-0/+2
| | | | | | | | | | | | This is for Webkit Bug 87156 https://bugs.webkit.org/show_bug.cgi?id=87156 BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10412041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138508 0039d316-1c4b-4281-b951-d872f2087c98
* Disable VectorCanvasTest.PathEffects on Winsteveblock@chromium.org2012-05-231-1/+6
| | | | | | | | | | This is failing conistently on WebKit Win (deps) BUG=129331 Review URL: https://chromiumcodereview.appspot.com/10423004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138459 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to 4015, with skia_test_expectations changeepoger@google.com2012-05-221-0/+5
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10416036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138307 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 4012reed@google.com2012-05-211-2/+7
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10407062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138109 0039d316-1c4b-4281-b951-d872f2087c98
* Add skia_test_expectations file; see ↵epoger@google.com2012-05-181-0/+52
| | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=86749 Review URL: https://chromiumcodereview.appspot.com/10387188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137919 0039d316-1c4b-4281-b951-d872f2087c98
* This patch makes ImageSkia more like SkBitmap. The goal is to make swapping ↵pkotwicz@chromium.org2012-05-163-67/+31
| | | | | | | | | | | | | from SkBitmap to ImageSkia easier. Notable changes: - ImageSkia can be cheaply copied - Added extractSubset, will remove after SkBitmaps have been converted to ImageSkia - Modified API to look more like SkBitmap Review URL: https://chromiumcodereview.appspot.com/10245003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137520 0039d316-1c4b-4281-b951-d872f2087c98
* Add atomics for Skia in preperation for landing ↵bungeman@chromium.org2012-05-161-6/+49
| | | | | | | | http://codereview.appspot.com/5649046/ Review URL: https://chromiumcodereview.appspot.com/10310169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137443 0039d316-1c4b-4281-b951-d872f2087c98
* Note: this change does nothing unless order_profiling=1 is manually set in ↵glotov@google.com2012-05-161-0/+28
| | | | | | | | | | | | | | | | | | | | | GYP defines (or EXTRA_BUILD_ARGS for cros). When enabled, this tool is built into Chrome and makes it log its routine invocations. Every time a routine is called and if it is called for the first time (per each thread), the log is updated with current time and the address of the routine. Later, such logs can be merged (across all threads), symbolized and fed into linker ('order_text_section') so it produces binary with more optimal code layout. This must make code work faster because of better CPU cache utilization. See more technical details in tools/cygprofile/cygprofile.cc header. Cyg prefix is taken after the callback names in gcc that we use to hook the code: __cyg_profile_func_enter and __cyg_profile_func_exit. More info at https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-effort BUG=chromium-os:20187 TEST=units, build cros with declare -x EXTRA_BUILD_ARGS="order_profiling=1 linux_use_tcmalloc=0" run it and check the log at /var/log/chrome/cyglog.*. Review URL: https://chromiumcodereview.appspot.com/8770054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137391 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 136332 - This patch makes ImageSkia more like SkBitmap. The goal is ↵pkotwicz@chromium.org2012-05-143-30/+66
| | | | | | | | | | | | | | | | | | to make swapping from SkBitmap to ImageSkia easier. Notable changes: - ImageSkia can be cheaply copied - Added extractSubset, will remove after SkBitmaps have been converted to ImageSkia - Modified API to look more like SkBitmap Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136304 Review URL: https://chromiumcodereview.appspot.com/10245003 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10389132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136995 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to 3920epoger@google.com2012-05-141-45/+2
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10384151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136916 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 136857 - roll skia to 3912reed@google.com2012-05-141-0/+45
| | | | | | | | | | mirror of https://chromiumcodereview.appspot.com/10310126/ Review URL: https://chromiumcodereview.appspot.com/10391105 TBR=reed@google.com Review URL: https://chromiumcodereview.appspot.com/10356152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136859 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 3912reed@google.com2012-05-141-45/+0
| | | | | | | mirror of https://chromiumcodereview.appspot.com/10310126/ Review URL: https://chromiumcodereview.appspot.com/10391105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136857 0039d316-1c4b-4281-b951-d872f2087c98
* This patch makes ImageSkia more like SkBitmap. The goal is to make swapping ↵pkotwicz@chromium.org2012-05-103-66/+30
| | | | | | | | | | | | | | | from SkBitmap to ImageSkia easier. Notable changes: - ImageSkia can be cheaply copied - Added extractSubset, will remove after SkBitmaps have been converted to ImageSkia - Modified API to look more like SkBitmap Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136304 Review URL: https://chromiumcodereview.appspot.com/10245003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136332 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 136304 - This patch makes ImageSkia more like SkBitmap. The goal is ↵pkotwicz@chromium.org2012-05-103-31/+67
| | | | | | | | | | | | | | | | to make swapping from SkBitmap to ImageSkia easier. Notable changes: - ImageSkia can be cheaply copied - Added extractSubset, will remove after SkBitmaps have been converted to ImageSkia - Modified API to look more like SkBitmap Review URL: https://chromiumcodereview.appspot.com/10245003 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10383110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136313 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 3891reed@google.com2012-05-102-0/+6
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10377084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136308 0039d316-1c4b-4281-b951-d872f2087c98
* This patch makes ImageSkia more like SkBitmap. The goal is to make swapping ↵pkotwicz@chromium.org2012-05-103-67/+31
| | | | | | | | | | | | | from SkBitmap to ImageSkia easier. Notable changes: - ImageSkia can be cheaply copied - Added extractSubset, will remove after SkBitmaps have been converted to ImageSkia - Modified API to look more like SkBitmap Review URL: https://chromiumcodereview.appspot.com/10245003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136304 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 3884reed@google.com2012-05-091-0/+3
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10389042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136087 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia to 3866.bsalomon@google.com2012-05-082-2/+5
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10383063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135872 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 3830 (including fix to ASAN bug from 3828)reed@google.com2012-05-041-1/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10363004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135323 0039d316-1c4b-4281-b951-d872f2087c98
* This patch is to enable x86 android build.james.wei@intel.com2012-05-031-2/+7
| | | | | | | | | | | | | | | | | | | patch includes two parts: 1. gyp files modification to include x86 android build. 2. add android config files for yasm which is copied from linux ones. enable android x86 build This patch is cloned from the issue #10198027 for ownership issue. https://chromiumcodereview.appspot.com/10198027/ BUG=125160 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135087 Review URL: http://codereview.chromium.org/10271039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135110 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135087 - This patch is to enable x86 android build.rsleevi@chromium.org2012-05-031-7/+2
| | | | | | | | | | | | | | | | | | | | patch includes two parts: 1. gyp files modification to include x86 android build. 2. add android config files for yasm which is copied from linux ones. enable android x86 build This patch is cloned from the issue #10198027 for ownership issue. https://chromiumcodereview.appspot.com/10198027/ BUG=125160 TEST= Review URL: http://codereview.chromium.org/10271039 TBR=james.wei@intel.com Review URL: https://chromiumcodereview.appspot.com/10331008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135095 0039d316-1c4b-4281-b951-d872f2087c98
* This patch is to enable x86 android build.james.wei@intel.com2012-05-031-2/+7
| | | | | | | | | | | | | | | | | patch includes two parts: 1. gyp files modification to include x86 android build. 2. add android config files for yasm which is copied from linux ones. enable android x86 build This patch is cloned from the issue #10198027 for ownership issue. https://chromiumcodereview.appspot.com/10198027/ BUG=125160 TEST= Review URL: http://codereview.chromium.org/10271039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135087 0039d316-1c4b-4281-b951-d872f2087c98
* Remove reference to skia file deleted in skia r3780, rolled into Chromium in ↵rsleevi@chromium.org2012-04-301-1/+0
| | | | | | | | | | | | r134550 BUG=119511 TEST=none TBR=reed Review URL: https://chromiumcodereview.appspot.com/10262024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134644 0039d316-1c4b-4281-b951-d872f2087c98