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

Issue 648863002: Devirtualize read/write pixels on surface. (Closed)

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

Description

Devirtualize read/write pixels on surface. Consolidate read/write funcs in context. Remove support for reading pixels from a surface that's not a target. It's currently broken and neither used nor tested. Committed: https://skia.googlesource.com/skia/+/81beccc4fb1396fe94af15bfce26e68b82b93809

Patch Set 1 #

Patch Set 2 : fixed #

Patch Set 3 : cleanup #

Patch Set 4 : fix #

Total comments: 2

Patch Set 5 : Add helper for sw premul #

Patch Set 6 : simplify return #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -363 lines) Patch
M include/gpu/GrContext.h View 1 2 2 chunks +4 lines, -49 lines 0 comments Download
M include/gpu/GrRenderTarget.h View 1 chunk +0 lines, -12 lines 0 comments Download
M include/gpu/GrSurface.h View 2 chunks +10 lines, -10 lines 0 comments Download
M include/gpu/GrTexture.h View 1 chunk +0 lines, -13 lines 0 comments Download
M src/gpu/GrAtlas.cpp View 1 2 3 chunks +5 lines, -12 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 4 chunks +121 lines, -191 lines 0 comments Download
M src/gpu/GrDistanceFieldTextContext.cpp View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M src/gpu/GrRenderTarget.cpp View 1 chunk +0 lines, -32 lines 0 comments Download
M src/gpu/GrSurface.cpp View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M src/gpu/GrTexture.cpp View 1 chunk +0 lines, -27 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M src/gpu/effects/GrTextureStripAtlas.cpp View 1 chunk +6 lines, -7 lines 0 comments Download
M tests/FloatingPointTextureTest.cpp View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
bsalomon
6 years, 2 months ago (2014-10-13 13:15:15 UTC) #2
robertphillips
lgtm lgtm https://codereview.chromium.org/648863002/diff/240001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): https://codereview.chromium.org/648863002/diff/240001/src/gpu/GrContext.cpp#newcode1310 src/gpu/GrContext.cpp:1310: if (NULL == fp) { sw_convert_to_premul ? ...
6 years, 2 months ago (2014-10-13 13:37:33 UTC) #3
bsalomon
https://codereview.chromium.org/648863002/diff/240001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): https://codereview.chromium.org/648863002/diff/240001/src/gpu/GrContext.cpp#newcode1310 src/gpu/GrContext.cpp:1310: if (NULL == fp) { On 2014/10/13 13:37:33, robertphillips ...
6 years, 2 months ago (2014-10-13 14:56:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/648863002/370001
6 years, 2 months ago (2014-10-13 14:57:46 UTC) #6
commit-bot: I haz the power
6 years, 2 months ago (2014-10-13 19:33:00 UTC) #7
Message was sent while issue was closed.
Committed patchset #6 (id:370001) as 81beccc4fb1396fe94af15bfce26e68b82b93809

Powered by Google App Engine
This is Rietveld 408576698