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

Issue 1471053002: Don't create a GXPFactory when blend is SrcOver (Closed)

Created:
5 years, 1 month ago by egdaniel
Modified:
5 years, 1 month ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Don't create a GXPFactory when blend is SrcOver BUG=skia: Committed: https://skia.googlesource.com/skia/+/c4b72720e75313079212e69e46a5ef7c474b2305

Patch Set 1 #

Patch Set 2 : Give SrcMode a little improvement #

Patch Set 3 : nit #

Total comments: 9

Patch Set 4 : Review #

Patch Set 5 : nits #

Patch Set 6 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -90 lines) Patch
M gm/beziereffects.cpp View 3 chunks +6 lines, -0 lines 0 comments Download
M gm/bigrrectaaeffect.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M gm/convexpolyeffect.cpp View 2 chunks +4 lines, -0 lines 0 comments Download
M gm/rrects.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M gm/texturedomaineffect.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M gm/yuvtorgbeffect.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkXfermode.h View 1 2 3 4 5 1 chunk +17 lines, -9 lines 0 comments Download
M include/gpu/GrPaint.h View 1 2 3 chunks +3 lines, -6 lines 0 comments Download
M include/gpu/GrXferProcessor.h View 1 chunk +0 lines, -8 lines 0 comments Download
M include/gpu/effects/GrCoverageSetOpXP.h View 1 chunk +0 lines, -5 lines 0 comments Download
M include/gpu/effects/GrPorterDuffXferProcessor.h View 1 2 3 4 1 chunk +27 lines, -4 lines 0 comments Download
M src/core/SkImageFilter.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkXfermode.cpp View 1 2 3 2 chunks +1 line, -20 lines 0 comments Download
M src/effects/SkArithmeticMode_gpu.h View 1 chunk +0 lines, -4 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/effects/SkGpuBlurUtils.cpp View 4 chunks +4 lines, -0 lines 0 comments Download
M src/effects/SkLightingImageFilter.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M src/effects/SkPerlinNoiseShader.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/effects/SkXfermodeImageFilter.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrContext.cpp View 4 chunks +4 lines, -2 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrPaint.cpp View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M src/gpu/GrPipeline.cpp View 1 2 3 3 chunks +26 lines, -6 lines 0 comments Download
M src/gpu/GrPipelineBuilder.h View 2 chunks +2 lines, -5 lines 0 comments Download
M src/gpu/GrPipelineBuilder.cpp View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M src/gpu/GrYUVProvider.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 chunk +2 lines, -7 lines 0 comments Download
M src/gpu/batches/GrDefaultPathRenderer.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/effects/GrConfigConversionEffect.cpp View 3 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/effects/GrCustomXfermode.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M src/gpu/effects/GrDisableColorXP.h View 1 chunk +0 lines, -4 lines 0 comments Download
M src/gpu/effects/GrPorterDuffXferProcessor.cpp View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
M tests/TessellatingPathRendererTests.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (5 generated)
egdaniel
This is an attempt to remove the cost of creating SrcOver XPFactories that we have ...
5 years, 1 month ago (2015-11-23 20:10:15 UTC) #2
bsalomon
https://codereview.chromium.org/1471053002/diff/40001/include/gpu/effects/GrPorterDuffXferProcessor.h File include/gpu/effects/GrPorterDuffXferProcessor.h (right): https://codereview.chromium.org/1471053002/diff/40001/include/gpu/effects/GrPorterDuffXferProcessor.h#newcode29 include/gpu/effects/GrPorterDuffXferProcessor.h:29: if (SkXfermode::kSrc_Mode == mode) { On 2015/11/23 20:10:15, egdaniel ...
5 years, 1 month ago (2015-11-23 20:19:52 UTC) #3
egdaniel
https://codereview.chromium.org/1471053002/diff/40001/include/gpu/effects/GrPorterDuffXferProcessor.h File include/gpu/effects/GrPorterDuffXferProcessor.h (right): https://codereview.chromium.org/1471053002/diff/40001/include/gpu/effects/GrPorterDuffXferProcessor.h#newcode29 include/gpu/effects/GrPorterDuffXferProcessor.h:29: if (SkXfermode::kSrc_Mode == mode) { On 2015/11/23 20:19:51, bsalomon ...
5 years, 1 month ago (2015-11-23 20:49:04 UTC) #4
bsalomon
lgtm
5 years, 1 month ago (2015-11-23 20:58:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471053002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471053002/80001
5 years, 1 month ago (2015-11-23 20:59:53 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/4385)
5 years, 1 month ago (2015-11-23 21:00:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471053002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471053002/100001
5 years, 1 month ago (2015-11-23 21:07:24 UTC) #12
commit-bot: I haz the power
5 years, 1 month ago (2015-11-23 21:20:44 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/c4b72720e75313079212e69e46a5ef7c474b2305

Powered by Google App Engine
This is Rietveld 408576698