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

Issue 23591030: start to remove lockPixels from bitmapshader (Closed)

Created:
7 years, 3 months ago by reed1
Modified:
7 years, 3 months ago
Reviewers:
scroggo
CC:
skia-review_googlegroups.com, ernstm1, scroggo
Visibility:
Public.

Description

start to remove lockPixels from bitmapshader BUG= R=scroggo@google.com Committed: https://code.google.com/p/skia/source/detail?r=11258

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 16

Patch Set 4 : patch into SkLazyPixelRef #

Patch Set 5 : address review suggestions #

Total comments: 4

Patch Set 6 : #

Patch Set 7 : add special check to see if we should skip checking the cache" #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -41 lines) Patch
M include/core/SkPixelRef.h View 1 2 3 4 5 6 2 chunks +36 lines, -0 lines 0 comments Download
M src/core/SkBitmapProcShader.cpp View 1 2 3 4 2 chunks +21 lines, -9 lines 0 comments Download
M src/core/SkBitmapProcState.h View 1 2 3 4 2 chunks +8 lines, -1 line 0 comments Download
M src/core/SkBitmapProcState.cpp View 1 2 3 4 5 6 10 chunks +67 lines, -31 lines 0 comments Download
M src/core/SkPixelRef.cpp View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M src/lazy/SkLazyPixelRef.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/lazy/SkLazyPixelRef.cpp View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
reed1
This is my place-holder CL for trying to wean Skia off of lockPixels, and to ...
7 years, 3 months ago (2013-09-09 13:53:21 UTC) #1
reed1
7 years, 3 months ago (2013-09-10 17:20:16 UTC) #2
scroggo
https://codereview.chromium.org/23591030/diff/7001/src/core/SkBitmapProcShader.cpp File src/core/SkBitmapProcShader.cpp (right): https://codereview.chromium.org/23591030/diff/7001/src/core/SkBitmapProcShader.cpp#newcode83 src/core/SkBitmapProcShader.cpp:83: static bool validForDrawing(const SkBitmap& bm) { Style nit: valid_for_drawing ...
7 years, 3 months ago (2013-09-10 18:08:31 UTC) #3
reed1
https://codereview.chromium.org/23591030/diff/7001/src/core/SkBitmapProcShader.cpp File src/core/SkBitmapProcShader.cpp (right): https://codereview.chromium.org/23591030/diff/7001/src/core/SkBitmapProcShader.cpp#newcode83 src/core/SkBitmapProcShader.cpp:83: static bool validForDrawing(const SkBitmap& bm) { On 2013/09/10 18:08:31, ...
7 years, 3 months ago (2013-09-10 20:28:11 UTC) #4
scroggo
lgtm https://codereview.chromium.org/23591030/diff/17001/src/core/SkBitmapProcState.cpp File src/core/SkBitmapProcState.cpp (right): https://codereview.chromium.org/23591030/diff/17001/src/core/SkBitmapProcState.cpp#newcode259 src/core/SkBitmapProcState.cpp:259: * If decodeInto() fails, the possibly we just ...
7 years, 3 months ago (2013-09-10 21:51:41 UTC) #5
reed1
https://codereview.chromium.org/23591030/diff/17001/src/core/SkBitmapProcState.cpp File src/core/SkBitmapProcState.cpp (right): https://codereview.chromium.org/23591030/diff/17001/src/core/SkBitmapProcState.cpp#newcode259 src/core/SkBitmapProcState.cpp:259: * If decodeInto() fails, the possibly we just have ...
7 years, 3 months ago (2013-09-11 14:16:36 UTC) #6
reed1
Before I try to land, I want to address at least the TODO related to ...
7 years, 3 months ago (2013-09-11 14:17:31 UTC) #7
reed1
latest should handle the fast-path. ptal
7 years, 3 months ago (2013-09-11 16:50:01 UTC) #8
scroggo
lgtm at patchset 7
7 years, 3 months ago (2013-09-11 20:18:55 UTC) #9
reed1
7 years, 3 months ago (2013-09-13 16:05:05 UTC) #10
Message was sent while issue was closed.
Committed patchset #8 manually as r11258 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698