joshualitt
d15e4e4537
GrBatchPrototype
...
BUG=skia:
Review URL: https://codereview.chromium.org/845103005
2015-01-26 13:30:10 -08:00
derekf
b041efe2a8
Remove clear function from SkGPipe
...
Clear no longer exists. (It's now a drawPaint call)
Review URL: https://codereview.chromium.org/881563002
2015-01-26 12:59:06 -08:00
halcanary
b0cce2c1d3
s/sk_tools::DrawCheckerboard/sk_tool_utils::draw_checkerboard/
...
BUG=skia:
Review URL: https://codereview.chromium.org/873333004
2015-01-26 12:49:00 -08:00
halcanary
2445216b7a
site/dev/contrib/revert formatting and details
...
NOTRY=true
Review URL: https://codereview.chromium.org/873483004
2015-01-26 12:38:59 -08:00
reed
96638d1db4
add bench for building mipmaps
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/873293003
2015-01-26 12:28:54 -08:00
cwallez
80a61df691
Fix Morphology effects sourcing outside of the crop rect.
...
BUG=skia:1766
Committed: https://skia.googlesource.com/skia/+/f6be925b5615f07039ce95c3433039694a8d1679
Review URL: https://codereview.chromium.org/781153002
2015-01-26 12:20:14 -08:00
bsalomon
66e09a87d4
discard scratch render targets when they are recycled.
...
Review URL: https://codereview.chromium.org/871373007
2015-01-26 11:46:52 -08:00
robertphillips
98b0315ad6
Alter gpu veto
...
This CL unifies the treatment of the dashed and concave paths.
Before:
TP 28 FP 15 TN 8 FN 3 IND 3
After:
TP 28 FP 18 TN 7 FN 2 IND 2
One of the TrueNegatives that became a FalsePositive was the motivation use case (the Chromium busy spinner).
Committed: https://skia.googlesource.com/skia/+/87a6a8e18c7d5bbc94f478b44c53dc0e0549f927
Review URL: https://codereview.chromium.org/875913002
2015-01-26 11:29:36 -08:00
reed
1d9e80f02b
check effective cache-size for fixed-budget caches
...
BUG=skia:
Review URL: https://codereview.chromium.org/876743002
2015-01-26 11:24:37 -08:00
halcanary
878fa0204b
Factor out checkerboard function in gm and sampleapp into tools.
...
Review URL: https://codereview.chromium.org/834303005
2015-01-26 11:24:32 -08:00
halcanary
4b952751c0
prettify site/user/sample/hello
...
NOTRY=true
TBR=jcgregorio@google.com
Review URL: https://codereview.chromium.org/874303002
2015-01-26 11:19:22 -08:00
bsalomon
356be2ed89
Stop incorrectly setting the clip bit in GrCMM
...
Review URL: https://codereview.chromium.org/866403005
2015-01-26 11:19:16 -08:00
cwallez
c12b74dc41
Collapse consecutive SkTableColorFilters
...
BUG=skia:1366
For the added bench, the collapsing makes the bench take:
- 70% of the time for CPU rendering of 3 consecutive matrix filters
- almost no change in the GPU rendering of the matrix filters
- 50% of the time for CPU and GPU rendering of 3 consecutive table filters
Review URL: https://codereview.chromium.org/776673002
2015-01-26 07:45:53 -08:00
halcanary
9ec0ffb77d
prettify site/dev/design/pdftheory
...
NOTRY=true
TBR=jcgregorio@google.com
Review URL: https://codereview.chromium.org/868473006
2015-01-26 07:45:47 -08:00
jcgregorio
1d124c3142
Add docs on how to get a preview of markdown pages.
...
BUG=skia:
Review URL: https://codereview.chromium.org/878593002
2015-01-26 07:24:02 -08:00
halcanary
c591dcb852
https://fiddle.skia.org/
...
NOTRY=true
Review URL: https://codereview.chromium.org/868473005
2015-01-26 07:19:07 -08:00
mtklein
8d029a4ebe
Don't do a pointless << 0.
...
It's very common (universal?) that alpha is the top byte.
You'd hope the compiler would remove the left shift then,
but I've seen Clang just do a dumb left shift of zero. :(
BUG=skia:
Review URL: https://codereview.chromium.org/872243003
2015-01-26 07:07:03 -08:00
robertphillips
65327efb5b
Revert of Alter gpu veto (patchset #1 id:1 of https://codereview.chromium.org/875913002/ )
...
Reason for revert:
Failing tests
Original issue's description:
> Alter gpu veto
>
> This CL unifies the treatment of the dashed and concave paths.
>
> Before:
> TP 28 FP 15 TN 8 FN 3 IND 3
>
> After:
> TP 28 FP 18 TN 7 FN 2 IND 2
>
> One of the TrueNegatives that became a FalsePositive was the motivation use case (the Chromium busy spinner).
>
> Committed: https://skia.googlesource.com/skia/+/87a6a8e18c7d5bbc94f478b44c53dc0e0549f927
TBR=egdaniel@google.com ,bsalomon@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/879483003
2015-01-26 07:05:04 -08:00
robertphillips
0a482f4414
Fix Chrome build
...
Switch SkShader's toString method to not be pure virtual due to derived classes in Chromium
TBR=bsalomon@google.com
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/875043002
2015-01-26 07:00:05 -08:00
robertphillips
87a6a8e18c
Alter gpu veto
...
This CL unifies the treatment of the dashed and concave paths.
Before:
TP 28 FP 15 TN 8 FN 3 IND 3
After:
TP 28 FP 18 TN 7 FN 2 IND 2
One of the TrueNegatives that became a FalsePositive was the motivation use case (the Chromium busy spinner).
Review URL: https://codereview.chromium.org/875913002
2015-01-26 06:53:05 -08:00
tfarina
0004e7db42
Update references to skiaperf.com.
...
The new server is being run in perf.skia.org.
BUG=None
R=jcgregorio@google.com
Review URL: https://codereview.chromium.org/866943003
2015-01-26 06:47:55 -08:00
robertphillips
42dbfa8651
Add patheffects to debugger printout
...
TBR=bsalomon@google.com
Review URL: https://codereview.chromium.org/872043002
2015-01-26 06:08:52 -08:00
robertphillips
b644e9afde
Fix Windows build
...
TBR=jvanverth@google.com
NOTRY=true
NOTREECHECKS=true
Review URL: https://codereview.chromium.org/876643002
2015-01-26 05:39:26 -08:00
kkinnunen
dc0f408a96
Fold alpha to the inner savelayer in savelayer-savelayer-restore patterns
...
Fold alpha to the inner savelayer in savelayer-savelayer-restore
patterns such as this:
SaveLayer (non-opaque)
Save
ClipRect
SaveLayer
Restore
Restore
Restore
Current blink generates these for example for SVG content such as this:
<path style="opacity:0.5 filter:url(#blur_filter)"/>
The outer save layer is due to the opacity and the inner one is due to
blur filter being implemented with picture image filter.
Reduces layers in desk_carsvg.skp testcase from 115 to 78.
BUG=skia:3119
Review URL: https://codereview.chromium.org/835973005
2015-01-26 00:14:26 -08:00
skia.buildbots
5c1dad7c75
Update SKP version
...
Automatic commit by the RecreateSKPs bot.
TBR=
Review URL: https://codereview.chromium.org/873163002
2015-01-25 22:29:44 -08:00
reed
96a857ef5a
initial preroll api
...
BUG=skia:
Review URL: https://codereview.chromium.org/855473002
2015-01-25 10:33:58 -08:00
skia.buildbots
dadbb357c8
Update SKP version
...
Automatic commit by the RecreateSKPs bot.
TBR=
Review URL: https://codereview.chromium.org/870353002
2015-01-24 22:26:51 -08:00
halcanary
a9e84767e4
experimental/skp_to_pdf_md5 optionally also outputs pdf files
...
TBR=mtklein@google.com
Review URL: https://codereview.chromium.org/868333002
2015-01-24 13:04:57 -08:00
mtklein
31ff29829e
Don't leak image in Surface test.
...
==7023== 5,056 (896 direct, 4,160 indirect) bytes in 8 blocks are definitely lost in loss record 947 of 2,656
==7023== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==7023== by 0x82CB99: SkNewImageFromBitmapTexture(SkBitmap const&, int, SkSurface::Budgeted) (SkImage_Gpu.cpp:64)
==7023== by 0x81A1CF: SkSurface_Gpu::onNewImageSnapshot(SkSurface::Budgeted) (SkSurface_Gpu.cpp:50)
==7023== by 0x694F9D: SkSurface::newImageSnapshot(SkSurface::Budgeted) (SkSurface_Base.h:92)
==7023== by 0x55EA7C: test_Surface(skiatest::Reporter*, GrContextFactory*) (SurfaceTest.cpp:485)
==7023== by 0x407CB2: run_test(skiatest::Test*) (DM.cpp:399)
==7023== by 0x408382: run_enclave_and_gpu_tests(SkTArray<Task, false>*) (DM.cpp:411)
==7023== by 0x68B71E: SkTaskGroup::wait() (SkTaskGroup.cpp:67)
==7023== by 0x40934E: dm_main() (DM.cpp:455)
==7023== by 0x409483: main (DM.cpp:477)
http://build.chromium.org/p/client.skia/builders/Test-Ubuntu12-ShuttleA-GTX550Ti-x86_64-Release-Valgrind/builds/276/steps/dm/logs/stdio
TBR=bsalomon@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/872183002
2015-01-24 11:27:27 -08:00
skia.buildbots
070eaeec03
Update SKP version
...
Automatic commit by the RecreateSKPs bot.
TBR=
Review URL: https://codereview.chromium.org/871143002
2015-01-23 23:00:15 -08:00
yunchao.he
90acb8e97c
a typo in SkResourceCacheTest
...
BUG=skia:
Review URL: https://codereview.chromium.org/868613002
2015-01-23 17:06:21 -08:00
mtklein
1eea9fcb24
Revert of Fix Morphology effects sourcing outside of the crop rect. (patchset #6 id:100001 of https://codereview.chromium.org/781153002/ )
...
Reason for revert:
Looks like this is causing memory leaks:
http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-ASAN/builds/1155/steps/dm/logs/stdio
And causing crashes on Mac 10.6:
http://build.chromium.org/p/client.skia/builders/Test-Mac10.6-MacMini4.1-GeForce320M-x86_64-Debug/builds/1417/steps/dm/logs/stdio
Original issue's description:
> Fix Morphology effects sourcing outside of the crop rect.
>
> BUG=skia:1766
>
> Committed: https://skia.googlesource.com/skia/+/f6be925b5615f07039ce95c3433039694a8d1679
TBR=junov@google.com ,junov@chromium.org,bsalomon@google.com,reed@google.com,cwallez@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:1766
Review URL: https://codereview.chromium.org/868973005
2015-01-23 16:09:32 -08:00
tfarina
d47d013b44
Cleanup: Delete buildbot_globals.py script.
...
rebaseline_server was the only user of this code but it was removed in
https://chromium.googlesource.com/skia/+/3886046f008f0542de36cbeb35e220404e7c88a9
So there aren't more users of this script and we can remove it now.
BUG=skia:3200
R=borenet@google.com
Review URL: https://codereview.chromium.org/873593005
2015-01-23 14:48:53 -08:00
cwallez
f6be925b56
Fix Morphology effects sourcing outside of the crop rect.
...
BUG=skia:1766
Review URL: https://codereview.chromium.org/781153002
2015-01-23 13:35:10 -08:00
bsalomon
db558dde22
Zap the scratch key on non-RT textures when scratch textures are disabled.
...
Review URL: https://codereview.chromium.org/870103002
2015-01-23 13:19:00 -08:00
bsalomon
63c992f6c0
Fix the speeling of "purgeable" in Gr code
...
TBR=robertphillips@google.com
Review URL: https://codereview.chromium.org/874693002
2015-01-23 12:47:59 -08:00
halcanary
6a144345d7
Cleanup SkPDFObject::emit*
...
Review URL: https://codereview.chromium.org/869783003
2015-01-23 11:45:10 -08:00
mtklein
1c4029296f
remove unused GM flags
...
Depends on https://codereview.chromium.org/873753002/
Thumbs up to CLion for refactoring this for me.
BUG=skia:
Review URL: https://codereview.chromium.org/867963004
2015-01-23 11:07:08 -08:00
bsalomon
a3ca15c314
Remove deprecated SkSurface::NewRenderTarget factories
...
Review URL: https://codereview.chromium.org/837723008
2015-01-23 11:02:50 -08:00
mtklein
205de46789
run clean branch baseline only once
...
BUG=skia:
Review URL: https://codereview.chromium.org/874643002
2015-01-23 10:39:55 -08:00
mtklein
cf5d9c993d
Spin off GM::runAsBench() from flags.
...
This will let us kill flags.
BUG=skia:
Review URL: https://codereview.chromium.org/873753002
2015-01-23 10:31:45 -08:00
fmalita
7a2c8f3f28
Fix SampleApp picture-mode transform.
...
The multi-picture-draw path should not ignore the inherited transform.
R=reed@google.com ,robertphillips@google.com
Review URL: https://codereview.chromium.org/867303002
2015-01-23 10:03:15 -08:00
bsalomon
eaaaf0b16c
Take budgeted param when snapping new image.
...
Review URL: https://codereview.chromium.org/872543002
2015-01-23 08:08:04 -08:00
tfarina
528eadceab
Fix 'Revert' instructions.
...
In the not so new pure Git world, 'svn fetch' and 'svn rebase' are not
needed anymore.
BUG=None
R=borenet@google.com
Review URL: https://codereview.chromium.org/872433004
2015-01-23 08:06:13 -08:00
halcanary
68b60c3d5a
Collect everything Skia into one document.
...
http://skiadocs.com:8000/dev/contrib/directory?cl=866133002
Review URL: https://codereview.chromium.org/866133002
2015-01-23 07:52:58 -08:00
reed
2ff257bd95
check for too-large rowBytes
...
BUG=446164
Review URL: https://codereview.chromium.org/871993003
2015-01-23 07:51:14 -08:00
halcanary
fb35940de7
In Correctness Testing Doc, render --option correctly
...
TBR=mtklein@google.com
NOTRY=true
Review URL: https://codereview.chromium.org/871993004
2015-01-23 07:47:55 -08:00
halcanary
8de56326e3
minor changes left out of http://crrev.com/873543002
...
TBR=mtklein@google.com
Review URL: https://codereview.chromium.org/872643005
2015-01-23 07:22:58 -08:00
bsalomon
c2f35b750a
Allow unbudgeted resources to be recycled by the cache as scratch.
...
Review URL: https://codereview.chromium.org/870743002
2015-01-23 07:19:22 -08:00
bsalomon
4dffede04a
Fix self assigment in GrResourceKey
...
TBR=robertphillips@google.com
BUG=skia:3340
Review URL: https://codereview.chromium.org/866263007
2015-01-23 07:17:55 -08:00