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

Issue 154163002: remove SkCanvas::createCompatibleDevice, and add SkCanvas::newSurface (Closed)

Created:
6 years, 10 months ago by reed1
Modified:
6 years, 10 months ago
Reviewers:
junov1, scroggo, bsalomon
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

remove SkCanvas::createCompatibleDevice, and add SkCanvas::newSurface BUG=skia: R=bsalomon@google.com Committed: https://code.google.com/p/skia/source/detail?r=13319

Patch Set 1 #

Patch Set 2 : update picturerecord #

Patch Set 3 : change gm:extractbitmap to stop exercising deprecated behavior #

Total comments: 4

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -61 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M gm/extractbitmap.cpp View 1 2 2 chunks +2 lines, -19 lines 1 comment Download
M include/core/SkBitmapDevice.h View 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkCanvas.h View 7 chunks +14 lines, -2 lines 1 comment Download
M include/core/SkDevice.h View 2 chunks +4 lines, -0 lines 0 comments Download
M include/gpu/SkGpuDevice.h View 1 chunk +2 lines, -0 lines 0 comments Download
M samplecode/SampleTextureDomain.cpp View 3 chunks +19 lines, -20 lines 0 comments Download
M src/core/SkBitmapDevice.cpp View 2 chunks +5 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 4 chunks +31 lines, -13 lines 0 comments Download
M src/core/SkDevice.cpp View 3 chunks +3 lines, -1 line 0 comments Download
M src/core/SkPictureRecord.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M src/core/SkPictureRecord.cpp View 1 3 chunks +6 lines, -1 line 0 comments Download
M src/gpu/SkGpuDevice.cpp View 2 chunks +5 lines, -0 lines 0 comments Download
M src/utils/SkDeferredCanvas.cpp View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M tests/DeferredCanvasTest.cpp View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
reed1
6 years, 10 months ago (2014-02-04 19:42:30 UTC) #1
reed1
gm:extractbitmap has been changed. It was calling canvas->createCompatibleDevice, and constructing a canvas from that. In ...
6 years, 10 months ago (2014-02-05 15:07:42 UTC) #2
reed1
6 years, 10 months ago (2014-02-05 15:08:00 UTC) #3
bsalomon
lgtm w/ two inline comments https://codereview.chromium.org/154163002/diff/40001/expectations/gm/ignored-tests.txt File expectations/gm/ignored-tests.txt (right): https://codereview.chromium.org/154163002/diff/40001/expectations/gm/ignored-tests.txt#newcode38 expectations/gm/ignored-tests.txt:38: extractbitmap Quit crowding in ...
6 years, 10 months ago (2014-02-05 15:16:02 UTC) #4
reed1
https://codereview.chromium.org/154163002/diff/40001/expectations/gm/ignored-tests.txt File expectations/gm/ignored-tests.txt (right): https://codereview.chromium.org/154163002/diff/40001/expectations/gm/ignored-tests.txt#newcode38 expectations/gm/ignored-tests.txt:38: extractbitmap On 2014/02/05 15:16:02, bsalomon wrote: > Quit crowding ...
6 years, 10 months ago (2014-02-05 15:21:14 UTC) #5
reed1
Committed patchset #4 manually as r13319 (presubmit successful).
6 years, 10 months ago (2014-02-05 15:32:29 UTC) #6
scroggo
6 years, 10 months ago (2014-02-05 16:41:12 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/154163002/diff/130001/gm/extractbitmap.cpp
File gm/extractbitmap.cpp (right):

https://codereview.chromium.org/154163002/diff/130001/gm/extractbitmap.cpp#ne...
gm/extractbitmap.cpp:13: #include "SkSurface.h"
Did you mean to call newSurface in this file? It currently does not appear to
need this include.

https://codereview.chromium.org/154163002/diff/130001/include/core/SkCanvas.h
File include/core/SkCanvas.h (right):

https://codereview.chromium.org/154163002/diff/130001/include/core/SkCanvas.h...
include/core/SkCanvas.h:128: *  be maximally compatible when used with this
canvas.
What does it mean to be used with this canvas? Drawn to this canvas?

Powered by Google App Engine
This is Rietveld 408576698