Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(999)

Issue 513983002: Try out scalar picture sizes (Closed)

Created:
6 years, 3 months ago by robertphillips
Modified:
6 years, 3 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Try out scalar picture sizes This paves the way for removing the 'fTile' parameter from SkPictureShader (although that should be a different CL). If we like this we could also move to providing an entire cull SkRect. Committed: https://skia.googlesource.com/skia/+/a8d7f0b13cd4c6d773fcf055fe17db75d260fa05

Patch Set 1 #

Patch Set 2 : Clean up #

Patch Set 3 : More clean up #

Patch Set 4 : More cleanup #

Patch Set 5 : More clean up #

Patch Set 6 : Address code review issues #

Patch Set 7 : Clean up #

Total comments: 1

Patch Set 8 : update to ToT #

Patch Set 9 : Update to ToT again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+413 lines, -308 lines) Patch
M bench/nanobench.cpp View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M debugger/QT/SkGLWidget.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M debugger/QT/SkRasterWidget.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M debugger/SkDebugger.h View 1 2 3 4 5 3 chunks +3 lines, -11 lines 0 comments Download
M debugger/SkDebugger.cpp View 1 2 3 4 5 3 chunks +15 lines, -15 lines 0 comments Download
M dm/DMPDFTask.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M dm/DMSKPTask.cpp View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M dm/DMUtil.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M experimental/nanomsg/picture_demo.cpp View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -3 lines 0 comments Download
M gm/distantclip.cpp View 1 2 3 4 5 1 chunk +10 lines, -14 lines 0 comments Download
M gm/gmmain.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M gm/multipicturedraw.cpp View 1 2 6 chunks +9 lines, -7 lines 0 comments Download
M gm/optimizations.cpp View 1 2 3 4 5 4 chunks +11 lines, -9 lines 0 comments Download
M gm/pictureshader.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M gm/pictureshadertile.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M gyp/skia_for_android_framework_defines.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M gyp/skia_for_chromium_defines.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkPicture.h View 1 2 3 4 5 6 7 5 chunks +16 lines, -17 lines 0 comments Download
M include/core/SkPictureRecorder.h View 1 2 3 4 5 3 chunks +16 lines, -10 lines 0 comments Download
M samplecode/SampleFilterFuzz.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M samplecode/SamplePictFile.cpp View 1 2 3 4 5 3 chunks +11 lines, -4 lines 0 comments Download
M src/core/SkBBoxRecord.cpp View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -5 lines 0 comments Download
M src/core/SkCanvasPriv.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPicture.cpp View 1 2 3 4 5 6 7 13 chunks +77 lines, -25 lines 0 comments Download
M src/core/SkPictureData.h View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M src/core/SkPictureRecorder.cpp View 1 2 3 5 chunks +13 lines, -10 lines 0 comments Download
M src/core/SkPictureShader.cpp View 1 2 3 4 5 4 chunks +8 lines, -8 lines 0 comments Download
M src/core/SkRecordDraw.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkPictureImageFilter.cpp View 1 2 1 chunk +6 lines, -9 lines 0 comments Download
M src/gpu/GrPictureUtils.cpp View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M src/utils/SkDumpCanvas.cpp View 1 2 3 4 5 1 chunk +6 lines, -4 lines 0 comments Download
M src/utils/SkGatherPixelRefsAndRects.cpp View 1 2 3 4 5 1 chunk +5 lines, -5 lines 0 comments Download
M src/utils/SkPictureUtils.cpp View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M src/utils/debugger/SkDebugCanvas.h View 1 2 chunks +2 lines, -6 lines 0 comments Download
M src/utils/debugger/SkDebugCanvas.cpp View 1 5 chunks +12 lines, -22 lines 0 comments Download
M src/utils/debugger/SkDrawCommand.cpp View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M tests/CanvasTest.cpp View 2 chunks +8 lines, -3 lines 0 comments Download
M tests/ImageFilterTest.cpp View 6 chunks +19 lines, -12 lines 0 comments Download
M tests/PathOpsSkpClipTest.cpp View 1 2 3 4 5 3 chunks +13 lines, -14 lines 0 comments Download
M tests/PictureTest.cpp View 1 2 3 4 5 6 7 4 chunks +7 lines, -4 lines 0 comments Download
M tests/SerializationTest.cpp View 1 2 3 4 5 4 chunks +9 lines, -4 lines 0 comments Download
M tools/PictureRenderer.cpp View 1 2 3 4 5 10 chunks +18 lines, -12 lines 0 comments Download
M tools/bench_pictures_main.cpp View 1 2 3 4 5 1 chunk +6 lines, -2 lines 0 comments Download
M tools/bench_playback.cpp View 1 2 3 4 5 2 chunks +18 lines, -9 lines 0 comments Download
M tools/bench_record.cpp View 1 2 3 4 5 1 chunk +6 lines, -2 lines 0 comments Download
M tools/dump_record.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M tools/filtermain.cpp View 1 2 3 4 5 2 chunks +5 lines, -3 lines 0 comments Download
M tools/gpuveto.cpp View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M tools/lua/lua_pictures.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M tools/pinspect.cpp View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M tools/render_pdfs_main.cpp View 1 2 3 4 5 2 chunks +6 lines, -5 lines 0 comments Download
M tools/render_pictures_main.cpp View 1 2 3 4 5 1 chunk +9 lines, -3 lines 0 comments Download
M tools/skpinfo.cpp View 1 2 3 4 5 2 chunks +5 lines, -7 lines 0 comments Download
M tools/skpmaker.cpp View 2 chunks +11 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
robertphillips
robertphillips@google.com changed reviewers: + fmalita@chromium.org, fmalita@google.com, mtklein@google.com, reed@google.com
6 years, 3 months ago (2014-08-28 14:31:07 UTC) #1
robertphillips
6 years, 3 months ago (2014-08-28 14:31:30 UTC) #2
reed1
I wonder, just for staging, if you'll need to have #ifdef SK_SUPPORT_LEGACY_INT_PICT_WIDTH int width() const; ...
6 years, 3 months ago (2014-08-28 14:36:48 UTC) #3
f(malita)
On 2014/08/28 14:36:48, reed1 wrote: > I wonder, just for staging, if you'll need to ...
6 years, 3 months ago (2014-08-28 15:02:58 UTC) #4
robertphillips
PTAL this adds Chromium & Android staging and removes Skia's usage of the SkPicture width() ...
6 years, 3 months ago (2014-08-28 20:47:17 UTC) #5
reed1
lgtm https://codereview.chromium.org/513983002/diff/120001/include/core/SkPicture.h File include/core/SkPicture.h (right): https://codereview.chromium.org/513983002/diff/120001/include/core/SkPicture.h#newcode180 include/core/SkPicture.h:180: static bool InternalOnly_BufferIsSKP(SkReadBuffer*, SkPictInfo*); funny that this change ...
6 years, 3 months ago (2014-08-28 20:54:18 UTC) #6
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 3 months ago (2014-08-28 21:02:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/513983002/120001
6 years, 3 months ago (2014-08-28 21:02:51 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-28 21:03:06 UTC) #9
commit-bot: I haz the power
Failed to apply patch for gyp/skia_for_chromium_defines.gypi: While running git apply --index -p1; error: patch failed: ...
6 years, 3 months ago (2014-08-28 21:03:07 UTC) #10
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 3 months ago (2014-08-28 21:51:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/513983002/140001
6 years, 3 months ago (2014-08-28 21:52:15 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Mac10.8-Clang-x86_64-Release-Trybot on tryserver.skia ...
6 years, 3 months ago (2014-08-28 22:09:44 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-28 22:11:44 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on tryserver.skia (http://108.170.220.120:10117/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot/builds/476)
6 years, 3 months ago (2014-08-28 22:11:45 UTC) #15
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 3 months ago (2014-08-29 14:36:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/513983002/160001
6 years, 3 months ago (2014-08-29 14:37:23 UTC) #17
commit-bot: I haz the power
6 years, 3 months ago (2014-08-29 15:04:03 UTC) #18
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as a8d7f0b13cd4c6d773fcf055fe17db75d260fa05

Powered by Google App Engine
This is Rietveld 408576698