Commit Graph

8975 Commits

Author SHA1 Message Date
robertphillips@google.com
91ce35fc29 Second round of GPU hairline rebaselines
https://codereview.chromium.org/24243002/



git-svn-id: http://skia.googlecode.com/svn/trunk@11368 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-19 00:32:30 +00:00
robertphillips@google.com
9a7f407bde First round of GPU hairline capping image rebaselines
https://codereview.chromium.org/24238002/



git-svn-id: http://skia.googlecode.com/svn/trunk@11367 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-19 00:02:06 +00:00
robertphillips@google.com
9528bdb0dc Don't reuse scratch textures update
https://codereview.chromium.org/23609026/



git-svn-id: http://skia.googlecode.com/svn/trunk@11366 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 22:33:57 +00:00
robertphillips@google.com
ada90dac10 "Fix" for hairline corner bugs
https://codereview.chromium.org/23708036/



git-svn-id: http://skia.googlecode.com/svn/trunk@11365 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 22:14:49 +00:00
reed@google.com
d44d988127 fix fontconfig backend to only cache new fonts if their outName was unique
BUG=
R=bungeman@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11364 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 20:32:25 +00:00
commit-bot@chromium.org
07f6cf372d fix printing of error messages in canvasstatetest.
R=scroggo@google.com, caryclark@google.com

Author: djsollen@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11363 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 20:15:12 +00:00
bsalomon@google.com
44d3dafc87 Rebaseline tilemode GMs after min rescaled NPOT texture size removed.
R=epoger@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11362 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 20:14:46 +00:00
edisonn@google.com
26d2e046cd pdf: write only ToUnicode mappings needed by the font, trimming anything out of [firstChar, lastChar] interval.
R=vandebo@chromium.org

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11360 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 19:29:08 +00:00
senorblanco@chromium.org
e3289d39f8 Mark morphology test as ignore-failure for poppler.
R=epoger@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11359 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 19:20:48 +00:00
senorblanco@chromium.org
bfc0d6bd5f Add an option to rebaseline.py to mark tests as ignore-failure.
R=epoger@google.com, epoger

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11358 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 19:14:43 +00:00
djsollen@google.com
286a8830f5 cleanup XML_Parser after reading android config files.
This CL is based on one submitted for AOSP review...
 Fix memory leak in parseConfigFile()
 Need to call XML_ParserFree() on parsers created by XML_ParserCreate()
 Signed-off-by: Carton He <carton.he@marvell.com>
 https://android-review.googlesource.com/#/c/65690/1

R=mtklein@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11357 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 18:59:29 +00:00
commit-bot@chromium.org
5898dce287 Attempt to remove 64 bit min size for NPOT resized texture.
R=robertphillips@google.com

Author: bsalomon@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11356 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 18:52:16 +00:00
commit-bot@chromium.org
e2419cc5ed Add getFloat/setFloat funcs to SkMatrix44
These match the existing getDouble/setDouble functions.

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

Author: enne@chromium.org

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11355 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 18:52:09 +00:00
fmalita@google.com
d5a1639098 You get a rebaseline, and *you* get a rebaseline - everybody gets a lumamode rebaseline!
TBR=epoger

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11354 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 18:36:28 +00:00
edisonn@google.com
b58cf8c0ba whitespace change to trigger bots.
Review URL: https://codereview.chromium.org/23902041

git-svn-id: http://skia.googlecode.com/svn/trunk@11353 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 17:52:56 +00:00
bsalomon@google.com
12ea03a0da Rebaseline msaa4 images for scaled_tilemodes_npot on Galaxy Nexus. Images are known to be bad.
R=epoger@google.com
BUG=sk1656

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11352 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 16:39:46 +00:00
bsalomon@google.com
37af77c3e6 Rebaseline N10 hairmodes with bug note
BUG=1655

R=epoger@google.com,jvanverth@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11351 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 16:31:37 +00:00
bsalomon@google.com
b0ec970fda Rebaseline N7 images. This bot was down for a long time. Many GM tests themselves changed and all 2 and 3 color gradients on the GPU changed while it was down.
R=epoger@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11350 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 16:24:58 +00:00
edisonn@google.com
c9e30e1acc rebaseline: perspective gradients in pdf
BUG=

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11349 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 16:10:54 +00:00
edisonn@google.com
3fa91be020 rebaseline: gradients in pdf
BUG=

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11348 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 15:51:47 +00:00
epoger@google.com
6d28e8d6ad rebaseline.py: make builder names copy-pastable from --help output
BUG=skia:1653
(SkipBuildbotRuns)

R=bsalomon@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11347 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 14:58:47 +00:00
bsalomon@google.com
1f6f0a8a7e Rebaseline tilemode npot images on SGX GPUs
R=epoger@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11346 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 13:55:34 +00:00
bsalomon@google.com
fa4a999241 Rebaseline these tests: radial_gradient2 lumamode morphology imageblur imagemagnifier gradients
on all Mac 10.6 builders

R=epoger@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11345 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 13:42:34 +00:00
fmalita@google.com
c8a768cbca Even more GM:lumamode rebaselines.
TBR=epoger

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11344 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 13:33:08 +00:00
robertphillips@google.com
35349d80b3 Revert r11342 (Add infrastructure for testing the debugger code) due to build breakages
git-svn-id: http://skia.googlecode.com/svn/trunk@11343 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 13:28:10 +00:00
commit-bot@chromium.org
15ec2ea617 Add infrastructure for testing the debugger code.
This creates the necessarily files and GYP targets to start adding tests
for the debugger code. There is currently one test added, more will be added
once the infrastructure is in place.

BUG=
R=mtklein@google.com

Author: dsinclair@chromium.org

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11342 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 13:01:17 +00:00
commit-bot@chromium.org
a0b40280a4 Replace uses of GrNoncopyable by SkNoncopyable.
BUG=None
TEST=None, no functional changes.
R=bsalomon@google.com, robertphillips@google.com

Author: tfarina@chromium.org

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11341 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 13:00:55 +00:00
commit-bot@chromium.org
0694ea7f6a Fix to allow ovals GM to finish on N7
R=jvanverth@google.com, robertphillips@google.com

Author: bsalomon@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11340 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 13:00:28 +00:00
commit-bot@chromium.org
688d362b45 ARM Skia NEON patches - 23 - S32_D565_Opaque_Dither cleanup/bugfix/speed
BlitRow565: S32_D565_Opaque_Dither: cleaning / bugfix

This patch brings a little code cleaning (spaces/comments) and a little
speed improvement (by using post-incrementation in the asm) but more
importantly it fixes a bug on Linux. The new code now supports ARGB
as well as ABGR.

I removed the comment as I have confirmed with benchmarks that this
code bring a *massive* (3x-7x) speedup compared to the C code.

Signed-off-by: Kévin PETIT <kevin.petit@arm.com>

BUG=
R=djsollen@google.com, mtklein@google.com

Author: kevin.petit.arm@gmail.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11339 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 13:00:21 +00:00
robertphillips@google.com
8c960bf965 Fix Mac 10.6 DeviceLooperTest build error (this time with feeling)
git-svn-id: http://skia.googlecode.com/svn/trunk@11338 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 12:51:50 +00:00
robertphillips@google.com
697b2121a3 Fix for Mac10.6 compiler error on tests\DeviceLooperTest.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@11337 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 12:06:02 +00:00
skia.committer@gmail.com
2291e72b99 Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@11336 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-18 07:01:33 +00:00
fmalita@google.com
05c393b28f More GM:lumamode rebaselines.
TBR=epoger

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11334 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 20:33:52 +00:00
senorblanco@chromium.org
1e41c7f873 Yet more morphology rebaselines.
TBR=epoger

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11333 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 20:22:27 +00:00
reed@google.com
a513efba95 add missing file
git-svn-id: http://skia.googlecode.com/svn/trunk@11332 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 20:14:52 +00:00
reed@google.com
636d87a3f4 update devicelooper to skip internal tiles that are empty, and unittests
BUG=

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11331 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 20:03:43 +00:00
jvanverth@google.com
dcd36f3c9d Add Clock Sample.
There are two possible rendering methods: paths (default) or primitives.
At the moment the rrect primitive only supports axis-aligned rrects for
GPU acceleration, so that will not be a win on GPU.

R=reed@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11330 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 19:52:05 +00:00
mtklein@google.com
b352627436 1) Don't allocate 100,000 ints when we only need 1,000.
2) Don't sort past the end of the array when using SkTQSort.
3) Don't allocate any arrays until we need them (in onDraw).

Also, propagate the constant N everywhere through the bench.

BUG=
R=bungeman@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11329 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 19:37:34 +00:00
mtklein@google.com
93d2f559b8 also limit loops-per-canvas in picture_record_dictionaries, which has the same problem as unique_paint
BUG=
R=robertphillips@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11327 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 18:58:53 +00:00
senorblanco@chromium.org
59cd5ca7cd More morphology GM rebaselines.
TBR=epoger

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11325 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 18:07:47 +00:00
bensong@google.com
1dd9194fc2 Splits bench_expectations into per-bot files in preparation for growth.
Next steps are switching bots to using per-bot expectations, and deleting the existing bench_expectations.txt.
Review URL: https://codereview.chromium.org/24075008

git-svn-id: http://skia.googlecode.com/svn/trunk@11323 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 17:21:02 +00:00
edisonn@google.com
8135323f70 pdf: ifgnore shader colors applied for 0 range.
R=vandebo@chromium.org

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11322 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 17:17:47 +00:00
mtklein@google.com
5e5239ed35 switch to a new canvas every once in a while in picture_record_unique
BUG=
R=robertphillips@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11321 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 17:14:25 +00:00
djsollen@google.com
d8807976e7 fix broken build due to coloremoji gm.
- fix SkIntToScalar warnings on windows
 - disable the test on Android until freetype changes are submitted

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11319 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 16:17:52 +00:00
djsollen@google.com
6def2a2dc7 Add a test for color bitmap fonts.
This CL also includes a sample font from https://code.google.com/p/color-emoji/

R=reed@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11317 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 15:30:21 +00:00
senorblanco@chromium.org
e1e084f102 Rebaseline morphology GM after https://skia.googlesource.com/skia.git/+/3b64f20423a2bfc454cd569594d78f4169756764
TBR=epoger

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11315 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 15:14:46 +00:00
fmalita@google.com
257b8c2646 Rebaseline lumamode GM after dce12a8a79f6094bc17eab15ce4d05ba9c99b814
TBR=robertphillips@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11314 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 14:38:04 +00:00
senorblanco@chromium.org
8fcad98791 Implement crop rect for the dilate and erode (morphology) filters. This provoked some cleanup on the GPU side: apply_morphology() now deals with SkBitmaps, rather than GrTextures. There's still a clear opportunity for more refactoring between the two filters.
Note: this adds some test cases to the morphology GM, so it will require a rebaseline.

R=bsalomon@google.com, reed@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11313 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 13:41:43 +00:00
fmalita@google.com
ef45a646a7 [External patch] Source-over support for SkLumaXfermode.
This is a patch by Andrei Parvu <parvu@adobe.com> (Adobe CLA signer).

Original CL/review: https://codereview.chromium.org/24078006/

GM:lumamode will need rebaselining after landing this.

---

  In order to use CSS luminance masking, we need to be able to create an
  instance of SkLumaXfermode which can receive a kSrcOver mode, and applies
  that mode after converting the source using the luminance-to-alpha
  coefficients.

BUG=289420
R=reed@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11312 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 13:09:16 +00:00
robertphillips@google.com
07f81a57ba Baby step in making SkGpuDevice no longer derive from SkBitmapDevice
https://codereview.chromium.org/23641008/



git-svn-id: http://skia.googlecode.com/svn/trunk@11311 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-17 12:26:23 +00:00