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

Issue 586793002: Change GrGLProgramDesc header to have DoPathRendering flag instead of RequiresVertexShader (Closed)

Created:
6 years, 3 months ago by egdaniel
Modified:
6 years, 3 months ago
Reviewers:
bsalomon, joshua.litt
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Change GrGLProgramDesc header to have DoPathRendering flag instead of RequiresVertexShader Also update GLProgramTests to fix bug where it would incorrectly try to PathRendering when we did not want to. BUG=skia: Committed: https://skia.googlesource.com/skia/+/ae444965c43ad16575730ce8e3abdcaded296d94

Patch Set 1 #

Total comments: 3

Patch Set 2 : Change flag to UseFragShaderOnly #

Patch Set 3 : Don't assume fixedfunction for pathrendering in GlProgTest #

Patch Set 4 : Cast to bool #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -40 lines) Patch
M src/gpu/gl/GrGLProgram.cpp View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.h View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 5 chunks +9 lines, -10 lines 0 comments Download
M src/gpu/gl/builders/GrGLFragmentOnlyProgramBuilder.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.cpp View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 7 chunks +22 lines, -19 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
egdaniel
https://codereview.chromium.org/586793002/diff/1/src/gpu/gl/GrGLProgramDesc.cpp File src/gpu/gl/GrGLProgramDesc.cpp (right): https://codereview.chromium.org/586793002/diff/1/src/gpu/gl/GrGLProgramDesc.cpp#newcode139 src/gpu/gl/GrGLProgramDesc.cpp:139: header->fDoPathRendering = gpu->caps()->pathRenderingSupport() && in a future CL I ...
6 years, 3 months ago (2014-09-19 17:18:45 UTC) #2
bsalomon
https://codereview.chromium.org/586793002/diff/1/src/gpu/gl/GrGLProgram.cpp File src/gpu/gl/GrGLProgram.cpp (right): https://codereview.chromium.org/586793002/diff/1/src/gpu/gl/GrGLProgram.cpp#newcode31 src/gpu/gl/GrGLProgram.cpp:31: if (desc.getHeader().fDoPathRendering) { I think this should have a ...
6 years, 3 months ago (2014-09-19 17:29:49 UTC) #3
egdaniel
https://codereview.chromium.org/586793002/diff/1/src/gpu/gl/GrGLProgram.cpp File src/gpu/gl/GrGLProgram.cpp (right): https://codereview.chromium.org/586793002/diff/1/src/gpu/gl/GrGLProgram.cpp#newcode31 src/gpu/gl/GrGLProgram.cpp:31: if (desc.getHeader().fDoPathRendering) { changed to fUseFragShaderOnly On 2014/09/19 17:29:49, ...
6 years, 3 months ago (2014-09-19 17:44:05 UTC) #4
egdaniel
ping
6 years, 3 months ago (2014-09-22 15:23:59 UTC) #5
egdaniel
updated
6 years, 3 months ago (2014-09-22 16:45:16 UTC) #6
bsalomon
lgtm
6 years, 3 months ago (2014-09-22 18:03:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/586793002/40001
6 years, 3 months ago (2014-09-22 18:52:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/586793002/60001
6 years, 3 months ago (2014-09-22 19:18:02 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-22 19:29:56 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as ae444965c43ad16575730ce8e3abdcaded296d94

Powered by Google App Engine
This is Rietveld 408576698