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

Issue 739673002: Create GrOptDrawState before recording draw in GrInOrderDrawBuffer (Closed)

Created:
6 years, 1 month ago by bsalomon
Modified:
6 years, 1 month ago
Reviewers:
joshualitt, egdaniel
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Create GrOptDrawState before recording draw in GrInOrderDrawBuffer Committed: https://skia.googlesource.com/skia/+/ae59b77612c42ff6b793dc33e3d115e6a5db34cc

Patch Set 1 #

Patch Set 2 : more #

Patch Set 3 : more #

Patch Set 4 : more #

Patch Set 5 : more #

Patch Set 6 : more #

Patch Set 7 : more #

Patch Set 8 : more #

Total comments: 21

Patch Set 9 : Address comments #

Patch Set 10 : Address Greg's comments #

Patch Set 11 : rebase #

Patch Set 12 : remove unused function in pendingprogramelement #

Unified diffs Side-by-side diffs Delta from patch set Stats (+405 lines, -749 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
A + include/gpu/GrFragmentStage.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +12 lines, -40 lines 0 comments Download
M include/gpu/GrPaint.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
D include/gpu/GrProcessorStage.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -161 lines 0 comments Download
M include/gpu/GrProgramElement.h View 4 chunks +30 lines, -5 lines 0 comments Download
M include/gpu/GrProgramElementRef.h View 1 2 3 4 5 6 1 chunk +0 lines, -93 lines 0 comments Download
M include/gpu/SkGr.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrDrawState.h View 1 2 3 4 5 6 4 chunks +19 lines, -56 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 5 chunks +3 lines, -64 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -5 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +64 lines, -65 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 3 4 5 6 7 8 9 10 10 chunks +28 lines, -59 lines 0 comments Download
M src/gpu/GrOptDrawState.h View 1 2 3 4 5 6 10 chunks +46 lines, -90 lines 0 comments Download
M src/gpu/GrOptDrawState.cpp View 1 2 3 4 5 6 7 8 4 chunks +18 lines, -26 lines 0 comments Download
A src/gpu/GrPendingFragmentStage.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +66 lines, -0 lines 0 comments Download
A src/gpu/GrPendingProgramElement.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +56 lines, -0 lines 0 comments Download
M src/gpu/GrProcOptInfo.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrProgramElement.cpp View 1 chunk +9 lines, -31 lines 0 comments Download
M src/gpu/effects/GrConfigConversionEffect.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLProcessor.h View 1 2 3 4 5 6 1 chunk +3 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 1 2 3 4 5 6 7 4 chunks +6 lines, -4 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 2 3 4 5 6 7 8 5 chunks +11 lines, -9 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 3 4 5 6 7 2 chunks +6 lines, -6 lines 0 comments Download
M src/gpu/gl/builders/GrGLLegacyNvprProgramBuilder.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/gl/builders/GrGLLegacyNvprProgramBuilder.cpp View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/gl/builders/GrGLNvprProgramBuilder.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/builders/GrGLNvprProgramBuilder.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.h View 1 2 3 4 5 6 3 chunks +3 lines, -2 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.cpp View 1 2 3 4 5 6 7 8 9 10 4 chunks +9 lines, -12 lines 0 comments Download
M tests/GLProgramsTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
bsalomon
6 years, 1 month ago (2014-11-18 22:23:09 UTC) #2
joshualitt
Just some nits, this looks good to me but someone else should definitely take a ...
6 years, 1 month ago (2014-11-19 14:22:40 UTC) #3
joshualitt
one more nit https://codereview.chromium.org/739673002/diff/140001/src/gpu/GrInOrderDrawBuffer.cpp File src/gpu/GrInOrderDrawBuffer.cpp (right): https://codereview.chromium.org/739673002/diff/140001/src/gpu/GrInOrderDrawBuffer.cpp#newcode517 src/gpu/GrInOrderDrawBuffer.cpp:517: } Are these checks still necessary?
6 years, 1 month ago (2014-11-19 14:55:35 UTC) #4
joshualitt
one more nit
6 years, 1 month ago (2014-11-19 14:55:36 UTC) #5
egdaniel
lgtm with nits https://codereview.chromium.org/739673002/diff/140001/src/gpu/GrInOrderDrawBuffer.cpp File src/gpu/GrInOrderDrawBuffer.cpp (right): https://codereview.chromium.org/739673002/diff/140001/src/gpu/GrInOrderDrawBuffer.cpp#newcode265 src/gpu/GrInOrderDrawBuffer.cpp:265: GrGpu::PrimTypeToDrawType(info.primitiveType()), align https://codereview.chromium.org/739673002/diff/140001/src/gpu/gl/builders/GrGLProgramBuilder.cpp File src/gpu/gl/builders/GrGLProgramBuilder.cpp (right): ...
6 years, 1 month ago (2014-11-19 15:00:36 UTC) #6
bsalomon
https://codereview.chromium.org/739673002/diff/140001/include/gpu/GrProgramElement.h File include/gpu/GrProgramElement.h (right): https://codereview.chromium.org/739673002/diff/140001/include/gpu/GrProgramElement.h#newcode107 include/gpu/GrProgramElement.h:107: this->validate(); On 2014/11/19 14:22:39, joshualitt wrote: > Is there ...
6 years, 1 month ago (2014-11-19 15:04:43 UTC) #7
bsalomon
https://codereview.chromium.org/739673002/diff/140001/src/gpu/GrInOrderDrawBuffer.cpp File src/gpu/GrInOrderDrawBuffer.cpp (right): https://codereview.chromium.org/739673002/diff/140001/src/gpu/GrInOrderDrawBuffer.cpp#newcode265 src/gpu/GrInOrderDrawBuffer.cpp:265: GrGpu::PrimTypeToDrawType(info.primitiveType()), On 2014/11/19 15:00:36, egdaniel wrote: > align Done. ...
6 years, 1 month ago (2014-11-19 15:09:38 UTC) #8
joshualitt
On 2014/11/19 15:04:43, bsalomon wrote: > https://codereview.chromium.org/739673002/diff/140001/include/gpu/GrProgramElement.h > File include/gpu/GrProgramElement.h (right): > > https://codereview.chromium.org/739673002/diff/140001/include/gpu/GrProgramElement.h#newcode107 > ...
6 years, 1 month ago (2014-11-19 15:12:54 UTC) #9
bsalomon
https://codereview.chromium.org/739673002/diff/140001/include/gpu/GrProgramElement.h File include/gpu/GrProgramElement.h (right): https://codereview.chromium.org/739673002/diff/140001/include/gpu/GrProgramElement.h#newcode107 include/gpu/GrProgramElement.h:107: this->validate(); On 2014/11/19 15:04:43, bsalomon wrote: > On 2014/11/19 ...
6 years, 1 month ago (2014-11-19 15:20:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/739673002/180001
6 years, 1 month ago (2014-11-19 15:20:16 UTC) #12
commit-bot: I haz the power
Failed to apply patch for include/gpu/GrFragmentStage.h: While running git apply --index -3 -p1; error: patch ...
6 years, 1 month ago (2014-11-19 15:20:26 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/739673002/200001
6 years, 1 month ago (2014-11-19 16:08:00 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot/builds/736)
6 years, 1 month ago (2014-11-19 16:10:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/739673002/220001
6 years, 1 month ago (2014-11-19 16:12:59 UTC) #20
commit-bot: I haz the power
6 years, 1 month ago (2014-11-19 16:23:58 UTC) #21
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://skia.googlesource.com/skia/+/ae59b77612c42ff6b793dc33e3d115e6a5db34cc

Powered by Google App Engine
This is Rietveld 408576698