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

Issue 1288923005: Use stencil ops that don't issue writes whenever possible (Closed)

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

Description

Use stencil ops that don't issue writes whenever possible Minimize the number of stencil writes by using GL_KEEP whenever possible. This can positively affect the HW performance of the stencil test. BUG=skia:3952 Committed: https://skia.googlesource.com/skia/+/c5d58f07aa6f4c47337d769e0e2e69c79669f91a

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M src/gpu/GrStencilAndCoverPathRenderer.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/GrStencilAndCoverTextContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 chunk +2 lines, -2 lines 2 comments Download

Messages

Total messages: 10 (3 generated)
vbuzinov
Hey Chris and Brian, As discussed in the issue, this change does away with stencil ...
5 years, 4 months ago (2015-08-18 10:25:09 UTC) #2
bsalomon
lgtm
5 years, 4 months ago (2015-08-18 13:15:25 UTC) #3
Mark Kilgard
LGTM Some additional comments... This change leads to multiple "good" outcomes, though all pretty marginal ...
5 years, 4 months ago (2015-08-18 14:51:47 UTC) #5
Chris Dalton
Nice to recover this missing nvpr perf. There still are a few non-nvpr places throughout ...
5 years, 4 months ago (2015-08-18 19:33:11 UTC) #6
vbuzinov
Answered to Chris inline. I am going to submit this as is to keep things ...
5 years, 4 months ago (2015-08-21 12:16:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288923005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288923005/1
5 years, 4 months ago (2015-08-21 12:17:26 UTC) #9
commit-bot: I haz the power
5 years, 4 months ago (2015-08-21 12:24:28 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/c5d58f07aa6f4c47337d769e0e2e69c79669f91a

Powered by Google App Engine
This is Rietveld 408576698