Commit Graph

7851 Commits

Author SHA1 Message Date
bsalomon@google.com
a47347eb9c Add operator delete for SkTArray to match operator new
R=robertphillips@google.com

Review URL: https://codereview.chromium.org/17075002

git-svn-id: http://skia.googlecode.com/svn/trunk@9603 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-14 12:30:50 +00:00
skia.committer@gmail.com
5c493d5b3d Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9602 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-14 07:00:49 +00:00
bensong@google.com
29a159c696 Adds microbench range generation option; renames file appropriately. (SkipBuildbotRuns)
Review URL: https://codereview.chromium.org/16858015

git-svn-id: http://skia.googlecode.com/svn/trunk@9601 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 23:40:05 +00:00
fmalita@google.com
4df1673c13 Build fix after r9598.
Updated include paths for debugger backend classes.

R=bungeman@google.com

Review URL: https://codereview.chromium.org/16866017

git-svn-id: http://skia.googlecode.com/svn/trunk@9600 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 21:25:45 +00:00
fmalita@google.com
86681b37bd Expose debugger backend classes externally.
SkDebugCanvas & friends are useful beyond the Qt debugger app - Chromium's picture inspector (in development) is at the point where it could take advantage of it.

This patch moves SkDrawCommand, SkDebugCanvas & SkObjectParser from trunk/debugger to trunk/src/utils (since several tools already use these, this seems appropriate), and makes SkDrawCommand & SkDebugCanvas' symbols visible externally (SK_API).

R=reed@google.com

Review URL: https://codereview.chromium.org/16638014

git-svn-id: http://skia.googlecode.com/svn/trunk@9598 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 20:59:14 +00:00
reed@google.com
732c5d516a fix warning related to && and || and parens
git-svn-id: http://skia.googlecode.com/svn/trunk@9597 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 20:48:09 +00:00
reed@google.com
a25c94e50a add validate to SkView for debugging
git-svn-id: http://skia.googlecode.com/svn/trunk@9596 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 20:20:17 +00:00
robertphillips@google.com
f09b87dda3 Fix compiler error for r9592
git-svn-id: http://skia.googlecode.com/svn/trunk@9595 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 20:06:44 +00:00
edisonn@google.com
453271199a most pdf dictionary types suported, need enabling now
Review URL: https://codereview.chromium.org/16844017

git-svn-id: http://skia.googlecode.com/svn/trunk@9594 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 20:02:29 +00:00
bsalomon@google.com
2fad5a8da9 Hopefully fix Android warning-as-error about uninit var.
git-svn-id: http://skia.googlecode.com/svn/trunk@9593 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 19:47:23 +00:00
bsalomon@google.com
eb6879f50a Replace fixed-size array of effect stages in GrDrawState with two appendable arrays, one for color, one for coverage.
R=robertphillips@google.com

Review URL: https://codereview.chromium.org/16952006

git-svn-id: http://skia.googlecode.com/svn/trunk@9592 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 19:34:18 +00:00
epoger@google.com
74feb1593a skimage self-tests: confirm correctness of bitmap hash values
R=scroggo@google.com

Review URL: https://codereview.chromium.org/16866010

git-svn-id: http://skia.googlecode.com/svn/trunk@9591 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 19:12:05 +00:00
bsalomon@google.com
21c10c5ff5 Make text context responsible for setting GrPaint on GrDrawState.
R=robertphillips@google.com

Review URL: https://codereview.chromium.org/16928010

git-svn-id: http://skia.googlecode.com/svn/trunk@9588 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 17:44:07 +00:00
edisonn@google.com
07f01471c8 Parse pdf reference manual for 1.4 to extract dictionary definition, initial code. Use spec2def.py <PdfReference-okular-1.txt
Review URL: https://codereview.chromium.org/16838015

git-svn-id: http://skia.googlecode.com/svn/trunk@9587 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 17:24:54 +00:00
bsalomon@google.com
d51041469a Enhancements and a fix to templated containers.
R=robertphillips@google.com

Review URL: https://codereview.chromium.org/16951004

git-svn-id: http://skia.googlecode.com/svn/trunk@9582 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 15:13:46 +00:00
reed@google.com
7fb04bcc31 oops, fix missing change in 9532, setting hashbits to 8
git-svn-id: http://skia.googlecode.com/svn/trunk@9581 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 14:34:51 +00:00
bensong@google.com
741b2e1cf1 Fixes zero division when there are no lines to plot (only one revision in range)
(SkipBuildbotRuns)
Review URL: https://codereview.chromium.org/16907003

git-svn-id: http://skia.googlecode.com/svn/trunk@9578 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 13:53:16 +00:00
commit-bot@chromium.org
5f879755f4 Add benchmark for PremultiplyAlpha and UnpremultiplyAlpha in Skia
BUG=248549
R=tomhudson@chromium.org, bsalomon@chromium.org, reed@google.com, noel@chromium.org, tomhudson@google.com

Author: jun.a.jiang@intel.com

Review URL: https://chromiumcodereview.appspot.com/16654004

git-svn-id: http://skia.googlecode.com/svn/trunk@9569 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 10:18:02 +00:00
skia.committer@gmail.com
a707fd53f7 Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9567 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 07:00:51 +00:00
mike@reedtribe.org
1d32cc67f7 add canvas scale and rotate
git-svn-id: http://skia.googlecode.com/svn/trunk@9564 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-13 01:28:56 +00:00
commit-bot@chromium.org
45672099ea add SkIntToScalar and SkFloatToScalar to stop build errors on Mac10.6
BUG=
R=vandebo@chromium.org

Author: richardlin@chromium.org

Review URL: https://chromiumcodereview.appspot.com/16871004

git-svn-id: http://skia.googlecode.com/svn/trunk@9562 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 23:36:50 +00:00
robertphillips@google.com
4f77c88277 Another warning as error fix for r9554
git-svn-id: http://skia.googlecode.com/svn/trunk@9557 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 22:41:30 +00:00
robertphillips@google.com
dd5d46256d Warnings as errors fix for r9554
git-svn-id: http://skia.googlecode.com/svn/trunk@9556 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 22:34:15 +00:00
senorblanco@chromium.org
b1b3d5122e Disable the unpremultiply/remultiply in SkArithmeticMode, both raster and GPU, since the SVG spec actually defines arithmetic compositing to operate on premul colours directly.
The unpremul/remul code has been placed behind a gUseUnpremul global, which is default false. The non-unpremul path uses a min() to keep the colours to valid premult values.

Note:  This change will require new baselines for the arithmode and xfermodeimagefilter GMs.

R=reed@google.com

Review URL: https://codereview.chromium.org/16034013

git-svn-id: http://skia.googlecode.com/svn/trunk@9555 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 22:15:43 +00:00
commit-bot@chromium.org
1ac1cf695d Added tests for radial gradients with shader matrices
Fixed a bug with linear gradient PDF matrices and added test cases

R=vandebo@chromium.org, reed@google.com

Author: richardlin@chromium.org

Review URL: https://chromiumcodereview.appspot.com/16467002

git-svn-id: http://skia.googlecode.com/svn/trunk@9554 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 21:47:39 +00:00
commit-bot@chromium.org
ace2269edf Fixed a bug with linear gradient PDF matrices and added test cases
R=vandebo@chromium.org, reed@google.com

Author: richardlin@chromium.org

Review URL: https://chromiumcodereview.appspot.com/16094020

git-svn-id: http://skia.googlecode.com/svn/trunk@9553 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 21:33:02 +00:00
reed@google.com
01efe139af remove leftover printf
git-svn-id: http://skia.googlecode.com/svn/trunk@9552 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 21:07:55 +00:00
reed@google.com
b8b3d90284 use ForceLinking to get codecs into lua_picture
BUG=
R=scroggo@google.com

Review URL: https://codereview.chromium.org/16847002

git-svn-id: http://skia.googlecode.com/svn/trunk@9549 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 20:07:10 +00:00
reed@google.com
312e9a2f4c add script to count glyph -vs- char draw calls
git-svn-id: http://skia.googlecode.com/svn/trunk@9548 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 19:53:49 +00:00
edisonn@google.com
e4d11becb5 remove some old code
Review URL: https://codereview.chromium.org/16845002

git-svn-id: http://skia.googlecode.com/svn/trunk@9547 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 19:53:42 +00:00
edisonn@google.com
af3daa01f6 Code generator for dinamic generation of podofo wrappers
Review URL: https://codereview.chromium.org/16838002

git-svn-id: http://skia.googlecode.com/svn/trunk@9544 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 19:07:45 +00:00
epoger@google.com
bd4af3a9a6 rebaseline.py: keep going if we encounter an "INVALID" entry in the JSON file
Review URL: https://codereview.chromium.org/16826003

git-svn-id: http://skia.googlecode.com/svn/trunk@9543 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 19:07:00 +00:00
commit-bot@chromium.org
826ec81dbc Small change that eliminates Parse Errors with encoded skps.
R=reed@google.com, caryclark@google.com, scroggo@google.com

Author: sglez@google.com

Review URL: https://chromiumcodereview.appspot.com/16034015

git-svn-id: http://skia.googlecode.com/svn/trunk@9538 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 18:28:36 +00:00
reed@google.com
7de1e3fe3e test thick stroking of conics
git-svn-id: http://skia.googlecode.com/svn/trunk@9535 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 17:46:41 +00:00
epoger@google.com
e78d20798d rebaseline.py: try to download images from Google Storage before skia-autogen
This will allow us to complete Step 1 of https://goto.google.com/ChecksumTransitionDetail

R=scroggo@google.com

Review URL: https://codereview.chromium.org/16311011

git-svn-id: http://skia.googlecode.com/svn/trunk@9534 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 17:44:14 +00:00
reed@google.com
b8b619a158 use 8 bits for fontcache hash
git-svn-id: http://skia.googlecode.com/svn/trunk@9532 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 17:14:37 +00:00
reed@google.com
c26523067a add cache efficiency test
Review URL: https://codereview.chromium.org/16408021

git-svn-id: http://skia.googlecode.com/svn/trunk@9530 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 15:50:26 +00:00
djsollen@google.com
fbe03bcdec Remove svn:externals and update the README.
git-svn-id: http://skia.googlecode.com/svn/trunk@9529 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 14:57:33 +00:00
bensong@google.com
24ed8d7219 Fixes microbench format change caused by r9417.
r9417 introduced extra line breaks between different configs for a bench. This reverts the outputs to the previous one-line format.
Review URL: https://codereview.chromium.org/16703024

git-svn-id: http://skia.googlecode.com/svn/trunk@9528 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 14:45:03 +00:00
epoger@google.com
dad5310ab6 rebaseline.py: add --add-new option, and only add new expectations if it is set
R=senorblanco@chromium.org

Review URL: https://codereview.chromium.org/16363006

git-svn-id: http://skia.googlecode.com/svn/trunk@9527 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 14:25:30 +00:00
robertphillips@google.com
de69eee322 Nexus 7 performance trigger rebaselines
(SkipBuildbotRuns)



git-svn-id: http://skia.googlecode.com/svn/trunk@9525 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 13:21:49 +00:00
skia.committer@gmail.com
7063c2f701 Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9522 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-12 07:01:54 +00:00
edisonn@google.com
f7dd4918ad generate enums for pdf types
Review URL: https://codereview.chromium.org/16706007

git-svn-id: http://skia.googlecode.com/svn/trunk@9521 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-11 23:06:16 +00:00
edisonn@google.com
1a191c655f generate code for pdf viewer (initial draft)
Review URL: https://codereview.chromium.org/15973008

git-svn-id: http://skia.googlecode.com/svn/trunk@9520 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-11 21:44:08 +00:00
reed@google.com
5872e00033 doh. send byte length, not word count, to measureText
git-svn-id: http://skia.googlecode.com/svn/trunk@9519 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-11 21:42:54 +00:00
reed@google.com
2fef6d2bda move measureText to be the only thing in the inner loop
BUG=

Review URL: https://codereview.chromium.org/15682016

git-svn-id: http://skia.googlecode.com/svn/trunk@9518 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-11 20:25:53 +00:00
djsollen@google.com
5065cbe689 revert DEPS for angle until tools are fixed
R=bsalomon@google.com

Review URL: https://codereview.chromium.org/16788003

git-svn-id: http://skia.googlecode.com/svn/trunk@9517 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-11 20:16:48 +00:00
djsollen@google.com
7815c9efdf update WebP to a dev version of 0.3.1
This is necessary to pick up a NEON fix for the iOS build.

R=borenet@google.com

Review URL: https://codereview.chromium.org/16318003

git-svn-id: http://skia.googlecode.com/svn/trunk@9516 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-11 20:03:50 +00:00
reed@google.com
c9ab48f03b switch array to uint16_t to fix overflows
git-svn-id: http://skia.googlecode.com/svn/trunk@9515 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-11 19:53:19 +00:00
reed@google.com
fad3e5e5ad comment out value > int16_t
git-svn-id: http://skia.googlecode.com/svn/trunk@9514 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-11 19:40:10 +00:00