commit-bot@chromium.org
d08d23b385
Small tweaks to be able to build everything target:
...
- fParsed is unused.
- Quiet down a bogus -Wuninitialized warning in QWeakPointer.
Tested Clang and GCC on Linux.
BUG=
R=bungeman@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/128573002
git-svn-id: http://skia.googlecode.com/svn/trunk@12970 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 21:16:14 +00:00
commit-bot@chromium.org
506ecc24bf
For comparison, add std::vector.
...
Where I've tested, it's second-place to SkTDArray, though the closest API equivalent in our code is SkTArray, which it's significantly faster than. This is probably a good approximation to how fast we can possibly make something like SkTArray that constructs and destroys its values. In fact, it might be worth trying making SkTArray a thin shim over std::vector.
BUG=
R=bsalomon@google.com , caryclark@google.com , mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/127223004
git-svn-id: http://skia.googlecode.com/svn/trunk@12969 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 21:16:04 +00:00
commit-bot@chromium.org
4b5fba5a3c
Use a spinlock in SkOnce.
...
SkOnceFlag is now statically initializable on all platforms.
Also adds sk_atomic_cas, used to implement new SkSpinlock.
Going to punt on making SkOnceFlag any smaller (for now, it's 8 bytes). We could conceivably get it down to two bits, one for done and one for a one-bit spinlock (we'd need atomic-& and atomic-| to make that work, but they appear to be available everywhere).
BUG=skia:1929
R=bungeman@google.com , reed@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/123093002
git-svn-id: http://skia.googlecode.com/svn/trunk@12968 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 21:15:56 +00:00
borenet@google.com
d4ba6e7781
submit_try: create the diff file using git, rather than relying on trychange.py
...
BUG=skia:1862
(SkipBuildbotRuns)
R=epoger@google.com
Review URL: https://codereview.chromium.org/128413004
git-svn-id: http://skia.googlecode.com/svn/trunk@12967 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 21:00:30 +00:00
bungeman@google.com
97a5d5da16
Improve 'stretch' in legacy create typeface for DirectWrite.
...
Previously the stretch (width) property was set to UNDEFINED, since the
legacy create typeface does not have this information. However, a better
default here is NORMAL.
Review URL: https://codereview.chromium.org/127813003
git-svn-id: http://skia.googlecode.com/svn/trunk@12966 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 20:32:07 +00:00
rmistry@google.com
677e815bf2
Buildbot SKPs have been recreated. Triggering rebuilds.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@12965 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 19:21:23 +00:00
commit-bot@chromium.org
711ebb9dfa
fix gm self-test
...
BUG=skia:1971
NOTREECHECKS=True
NOTRY=True
R=caryclark@google.com
TBR=caryclark
Author: epoger@google.com
Review URL: https://codereview.chromium.org/128793002
git-svn-id: http://skia.googlecode.com/svn/trunk@12964 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 17:59:22 +00:00
commit-bot@chromium.org
d9c4dfb170
Move DM from everything to most, to build it by default.
...
BUG=
R=reed@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/127423003
git-svn-id: http://skia.googlecode.com/svn/trunk@12962 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 16:52:42 +00:00
bungeman@google.com
fa8afda250
Work around SkString::gEmptyRec->writable_str() is unwritable.
...
See https://code.google.com/p/skia/issues/detail?id=1989
R=reed@google.com
Review URL: https://codereview.chromium.org/128463002
git-svn-id: http://skia.googlecode.com/svn/trunk@12961 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 15:53:19 +00:00
bsalomon@google.com
a52209f162
one more filterbitmap ASAN ignore
...
BUG=skia:1984
Review URL: https://codereview.chromium.org/126813004
git-svn-id: http://skia.googlecode.com/svn/trunk@12960 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 15:46:19 +00:00
bsalomon@google.com
77bf27ee03
Rebaselines for filterbitmap and downsample GMs on gpu N4
...
BUG=skia:1984
Review URL: https://codereview.chromium.org/128433002
git-svn-id: http://skia.googlecode.com/svn/trunk@12959 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 15:42:53 +00:00
reed@google.com
672588b684
change offset to xy for pixelref subsetting
...
BUG=
R=scroggo@google.com
Review URL: https://codereview.chromium.org/105893012
git-svn-id: http://skia.googlecode.com/svn/trunk@12958 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 15:42:01 +00:00
bsalomon@google.com
c75b25af9e
Mark ASAN filterbitmap images as ignore failure
...
BUG=1984
Review URL: https://codereview.chromium.org/128423002
git-svn-id: http://skia.googlecode.com/svn/trunk@12957 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 15:34:27 +00:00
bsalomon@google.com
aed01c1e05
Mark filterbitmap_* on N4 (persp) as ignore failure because of skia issue 1966
...
BUG=skia:1966
BUG=skia:1984
Review URL: https://codereview.chromium.org/128383003
git-svn-id: http://skia.googlecode.com/svn/trunk@12956 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 15:26:01 +00:00
senorblanco@chromium.org
c62bdc7433
More rebaselines from r12895.
...
BUG=1985
TBR=caryclark
Review URL: https://codereview.chromium.org/128143003
git-svn-id: http://skia.googlecode.com/svn/trunk@12955 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 15:18:20 +00:00
commit-bot@chromium.org
b163984ae7
Move v8 into third_party.
...
BUG=
R=robertphillips@google.com
Author: jcgregorio@google.com
Review URL: https://codereview.chromium.org/116693004
git-svn-id: http://skia.googlecode.com/svn/trunk@12954 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 15:14:09 +00:00
reed@google.com
7bdc759888
suppress on gpu for now
...
BUG=skia:1956
Review URL: https://codereview.chromium.org/128333002
git-svn-id: http://skia.googlecode.com/svn/trunk@12953 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 14:39:34 +00:00
borenet@google.com
d73736618d
Trigger builds after https://skia.googlesource.com/buildbot/+/49f751a735103de70ef7e4a5108ebf13d345633f
...
This will trigger failures on bots who haven't updated their slave-side scripts.
Review URL: https://codereview.chromium.org/128253002
git-svn-id: http://skia.googlecode.com/svn/trunk@12952 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 13:18:48 +00:00
skia.committer@gmail.com
8f7a108bb1
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@12950 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-08 07:01:49 +00:00
commit-bot@chromium.org
91e099e01d
Update utils.gyp to find SkNoSaveLayerCanvas.h in 'src'.
...
R=robertphillips@google.com
Author: bungeman@google.com
Review URL: https://codereview.chromium.org/99393008
git-svn-id: http://skia.googlecode.com/svn/trunk@12947 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-07 20:11:38 +00:00
commit-bot@chromium.org
d7841047e2
Add the gears.js demo and all the code changes needed to get it working, including implementing both fill and stroke style. Also add the HTML and JS files to compare with browser performance.
...
BUG=
R=robertphillips@google.com
Author: jcgregorio@google.com
Review URL: https://codereview.chromium.org/122373003
git-svn-id: http://skia.googlecode.com/svn/trunk@12946 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-07 19:00:27 +00:00
bsalomon@google.com
b6b0cf3215
more PDF filterbitmap ignores
...
Review URL: https://codereview.chromium.org/123933005
git-svn-id: http://skia.googlecode.com/svn/trunk@12944 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-07 17:50:04 +00:00
commit-bot@chromium.org
69ac6defc1
rebaseline_server: allow spaces within test/config names
...
(SkipBuildbotRuns)
BUG=skia:1969
NOTREECHECKS=True
NOTRY=True
R=bsalomon@google.com
TBR=bsalomon
Author: epoger@google.com
Review URL: https://codereview.chromium.org/99373010
git-svn-id: http://skia.googlecode.com/svn/trunk@12943 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-07 17:21:11 +00:00
bsalomon@google.com
a19818a146
Make imagealphathreshold GM skip replay modes until it is fixed.
...
TBR=zork@chromium.org
Review URL: https://codereview.chromium.org/94043005
git-svn-id: http://skia.googlecode.com/svn/trunk@12942 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-07 17:20:33 +00:00
commit-bot@chromium.org
11f156201a
add unittest for render_pictures binary
...
Once committed, this will be run as part of RunToolSelfTests on http://108.170.217.252:10117/builders/Housekeeper-PerCommit .
BUG=skia:1943
R=rmistry@google.com
Author: epoger@google.com
Review URL: https://codereview.chromium.org/124253002
git-svn-id: http://skia.googlecode.com/svn/trunk@12941 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-07 17:03:40 +00:00
commit-bot@chromium.org
85facf71ef
Add StackBench to measure performance on stack-like (fixed element size) work loads.
...
BUG=303282
R=reed@google.com , caryclark@google.com , mtklein@chromium.org
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/110893007
git-svn-id: http://skia.googlecode.com/svn/trunk@12940 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-07 17:03:31 +00:00
robertphillips@google.com
81e8739a10
NoSaveLayerCanvas now its own file
...
https://codereview.chromium.org/120553003/
git-svn-id: http://skia.googlecode.com/svn/trunk@12938 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-07 16:08:04 +00:00
commit-bot@chromium.org
9109e188c7
Fix build warnings in SkAlphaThresholdFilter
...
BUG=None
R=bsalomon@google.com
Author: zork@chromium.org
Review URL: https://codereview.chromium.org/101763010
git-svn-id: http://skia.googlecode.com/svn/trunk@12937 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-07 16:04:01 +00:00
skia.committer@gmail.com
179f6c5e62
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@12936 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-07 07:01:50 +00:00
commit-bot@chromium.org
40eb3c1000
Add AlphaThreshold filter.
...
This is based on the Bitmap Alpha Threshold filter, and will be used by Chromium
to implement the window shape API.
R=bsalomon@chromium.org , wez@chromium.org , bsalomon@google.com , reed@google.com
Author: zork@chromium.org
Review URL: https://codereview.chromium.org/115633002
git-svn-id: http://skia.googlecode.com/svn/trunk@12935 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 23:41:14 +00:00
bsalomon@google.com
f6c8aeb174
Mark pdf filterbitmap images as failure ignored
...
Review URL: https://codereview.chromium.org/121883006
git-svn-id: http://skia.googlecode.com/svn/trunk@12933 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 23:25:38 +00:00
bsalomon@google.com
ec7d9b7880
Rebaseline filterbitmap_image_mandrill N4 GPU images
...
BUG=skia:1879
Review URL: https://codereview.chromium.org/102963011
git-svn-id: http://skia.googlecode.com/svn/trunk@12931 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 22:50:28 +00:00
bsalomon@google.com
4fdf25e6cc
rebaseline downsample_text and downsample_checkerboard GMs on gpu configs
...
BUG=skia:1879
Review URL: https://codereview.chromium.org/125463002
git-svn-id: http://skia.googlecode.com/svn/trunk@12930 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 22:31:14 +00:00
bsalomon@google.com
7b22744ff0
Rebaselines for filterbitmap_text GMs
...
BUG=skia:1879
Review URL: https://codereview.chromium.org/109403007
git-svn-id: http://skia.googlecode.com/svn/trunk@12929 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 22:00:04 +00:00
bsalomon@google.com
79c95324b1
Rebaselines for filterbitmap_checkerboard
...
BUG=skia:1879
Review URL: https://codereview.chromium.org/108653019
git-svn-id: http://skia.googlecode.com/svn/trunk@12928 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 21:48:23 +00:00
commit-bot@chromium.org
69a0d7a335
DM: fix failures when using -r by comparing unpremultiplied.
...
PNGs store unpremultiplied colors, so we have to convert back and forth with
SkBitmap. This is lossy. GM solves this problem by stripping the alpha
channel before writing the PNG.
This flips it around, converting the GM's output to unpremultiplied as needed. This way each pixel goes from premul to unpremul once, never back.
Tested:
out/Release/dm -w /tmp/w --config 565 8888 gpu
out/Release/dm -r /tmp/w --config 565 8888 gpu
BUG=
R=bsalomon@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/122923003
git-svn-id: http://skia.googlecode.com/svn/trunk@12926 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 20:24:21 +00:00
commit-bot@chromium.org
8f88117940
Cap memory usage in path_create bench.
...
Memory usage grows unbounded in path_create without this patch (growing the
paths). This bench also somewhat needlessly cycles through 32 paths, so now
we just work with one.
Peak memory usage drops from ~2-3G to ~150M. This should fix the NexusS crashes,
or at least get us to the next one.
BUG=skia:1687
R=caryclark@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/111283007
git-svn-id: http://skia.googlecode.com/svn/trunk@12925 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 20:19:14 +00:00
bsalomon@google.com
da0f7616e9
Rebaseline mandrill GMs
...
BUG=skia:1879
Review URL: https://codereview.chromium.org/114603008
git-svn-id: http://skia.googlecode.com/svn/trunk@12924 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 20:18:15 +00:00
commit-bot@chromium.org
9ee0e32886
Turn on GL drawing, allow switching via --gpu flag.
...
This CL comes after https://codereview.chromium.org/121303004/ .
BUG=
R=robertphillips@google.com
Author: jcgregorio@google.com
Review URL: https://codereview.chromium.org/122453003
git-svn-id: http://skia.googlecode.com/svn/trunk@12923 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 20:03:55 +00:00
halcanary@google.com
31fdb92995
DEPS roll script
...
This script:
- searches through the last N commits to find out the hash that is
associated with the revision number.
- creates a new branch in the chromium tree, modifies the DEPS
file, commits, and uploads to Rietveld.
- create a whitespace-only commit and uploads that to to Rietveld.
BUG=
R=borenet@google.com
Review URL: https://codereview.chromium.org/123523003
git-svn-id: http://skia.googlecode.com/svn/trunk@12921 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 19:50:22 +00:00
robertphillips@google.com
11e10e340b
Patch for Windows compilation errors from r12916
...
git-svn-id: http://skia.googlecode.com/svn/trunk@12919 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 19:09:29 +00:00
reed@google.com
614cbeef47
remove SK_SUPPORTED_DEPRECATED_FIXEDROUND, no longer needed
...
git-svn-id: http://skia.googlecode.com/svn/trunk@12918 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 18:49:32 +00:00
rmistry@google.com
6ab96733b8
Support mesa config in render_pictures.
...
R=epoger@google.com , robertphillips@google.com
Review URL: https://codereview.chromium.org/125083004
git-svn-id: http://skia.googlecode.com/svn/trunk@12916 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 18:37:24 +00:00
commit-bot@chromium.org
2a78e82f5e
create gm/rebaseline_server/test_all.py
...
Uses proper Python unittest framework to launch all unittests within the directory.
NOTRY=True
R=rmistry@google.com
Author: epoger@google.com
Review URL: https://codereview.chromium.org/125253002
git-svn-id: http://skia.googlecode.com/svn/trunk@12915 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 18:33:19 +00:00
commit-bot@chromium.org
91e3ffded5
These strings are unused.
...
R=reed@google.com , halcanary@google.com
BUG=
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/102393005
git-svn-id: http://skia.googlecode.com/svn/trunk@12914 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 18:29:14 +00:00
commit-bot@chromium.org
c8d732800e
Renamed JsCanvas to JsContext and moved into it's own file.
...
Fleshed out a lot of the Path interface.
BUG=
R=robertphillips@google.com , tfarina@chromium.org , reed@google.com
Author: jcgregorio@google.com
Review URL: https://codereview.chromium.org/121303004
git-svn-id: http://skia.googlecode.com/svn/trunk@12913 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 18:17:24 +00:00
reed@google.com
d0419b1fe7
Revert "Revert "Revert "Revert of https://codereview.chromium.org/110593003/ """
...
This reverts commit aaa89649590323fe40f52439d9a9a3376bb3b8ae.
BUG=
Review URL: https://codereview.chromium.org/123223007
git-svn-id: http://skia.googlecode.com/svn/trunk@12910 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 17:08:27 +00:00
commit-bot@chromium.org
86b39f311e
Avoid some work on SkClipStack equality when the topmost genids match
...
Two clip stacks are defined being equal if the topmost genids match.
R=bsalomon@google.com
Author: kkinnunen@nvidia.com
Review URL: https://codereview.chromium.org/115573005
git-svn-id: http://skia.googlecode.com/svn/trunk@12909 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 16:54:20 +00:00
reed@google.com
7627c657b0
add rowBytes param to setPreLock, in prep for onNewLockPixels change
...
need _win.cc change from https://codereview.chromium.org/124503002/ when this lands in chrome
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/125063002
git-svn-id: http://skia.googlecode.com/svn/trunk@12907 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 15:01:48 +00:00
reed@google.com
ba82bd11e2
Revert "Revert "Revert of https://codereview.chromium.org/110593003/ ""
...
This reverts commit 0fef787f33aa38109a0c8427e0098d997efdd5ff.
failed in chrome: https://codereview.chromium.org/124503002/
Review URL: https://codereview.chromium.org/105523008
git-svn-id: http://skia.googlecode.com/svn/trunk@12906 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-01-06 13:34:39 +00:00