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

Issue 196473010: bitmapshader with A8 bitmap should be colorized by the paint's color (Closed)

Created:
6 years, 9 months ago by yunchao
Modified:
4 years, 3 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

bitmapshader with A8 bitmap should be colorized by the paint's color BUG=skia:2293

Patch Set 1 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M expectations/gm/ignored-tests.txt View 1 chunk +5 lines, -0 lines 0 comments Download
M include/core/SkPaint.h View 1 chunk +4 lines, -0 lines 0 comments Download
M include/core/SkShader.h View 1 chunk +2 lines, -0 lines 3 comments Download
M src/core/SkBitmapProcShader.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
yunchao
6 years, 9 months ago (2014-03-13 10:41:07 UTC) #1
bsalomon
https://codereview.chromium.org/196473010/diff/60001/include/core/SkShader.h File include/core/SkShader.h (right): https://codereview.chromium.org/196473010/diff/60001/include/core/SkShader.h#newcode348 include/core/SkShader.h:348: virtual SkBitmap* getBitmap() { return NULL;} I don't think ...
6 years, 9 months ago (2014-03-13 14:59:04 UTC) #2
yunchao
https://codereview.chromium.org/196473010/diff/60001/include/core/SkShader.h File include/core/SkShader.h (right): https://codereview.chromium.org/196473010/diff/60001/include/core/SkShader.h#newcode348 include/core/SkShader.h:348: virtual SkBitmap* getBitmap() { return NULL;} On 2014/03/13 14:59:04, ...
6 years, 9 months ago (2014-03-13 15:05:11 UTC) #3
yunchao
https://codereview.chromium.org/196473010/diff/60001/include/core/SkShader.h File include/core/SkShader.h (right): https://codereview.chromium.org/196473010/diff/60001/include/core/SkShader.h#newcode348 include/core/SkShader.h:348: virtual SkBitmap* getBitmap() { return NULL;} On 2014/03/13 14:59:04, ...
6 years, 9 months ago (2014-03-13 15:32:27 UTC) #4
bsalomon
On 2014/03/13 15:32:27, Richard Ho wrote: > https://codereview.chromium.org/196473010/diff/60001/include/core/SkShader.h > File include/core/SkShader.h (right): > > https://codereview.chromium.org/196473010/diff/60001/include/core/SkShader.h#newcode348 ...
6 years, 9 months ago (2014-03-17 14:01:03 UTC) #5
yunchao
On 2014/03/17 14:01:03, bsalomon wrote: > On 2014/03/13 15:32:27, Richard Ho wrote: > > https://codereview.chromium.org/196473010/diff/60001/include/core/SkShader.h ...
6 years, 9 months ago (2014-03-18 10:47:35 UTC) #6
reed1
6 years, 9 months ago (2014-03-18 14:30:20 UTC) #7
I do not want to add more virtuals to shader if possible. I think we will tackle
this particular bug in-house, as fixing it may involve related considerations as
to how GrEffects interact with the rest of the glsl pipeline.

I have an alternate CL that does incorporate your documentation in SkPaint.h

Powered by Google App Engine
This is Rietveld 408576698