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

Issue 354663002: Make GrGLShaderBuilder::fragmentPosition() return a vec4, with 1.0 as the zw components when in the… (Closed)

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

Description

Make GrGLShaderBuilder::fragmentPosition() return a vec4, with 1.0 as the zw components when in the y-flip case. This works around an Adreno driver bug. Revert "Stop referencing gl_FragCoord z and w components." This reverts commit 160a52ba217012ed73c240f6d67b3bbf2b4879d6. Committed: https://skia.googlesource.com/skia/+/22900008fb89afe4687a40db8737553ee0e55621

Patch Set 1 #

Patch Set 2 : line wraps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -14 lines) Patch
M src/effects/SkBlurMaskFilter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrDitherEffect.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrOvalEffect.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/effects/GrRRectEffect.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.cpp View 1 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
bsalomon
The previous workaround did not actually work. This reverts it, going back to returning a ...
6 years, 6 months ago (2014-06-24 17:56:39 UTC) #1
jvanverth1
lgtm
6 years, 6 months ago (2014-06-24 17:59:58 UTC) #2
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 6 months ago (2014-06-24 18:00:12 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/354663002/20001
6 years, 6 months ago (2014-06-24 18:01:21 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-24 18:16:56 UTC) #5
Message was sent while issue was closed.
Change committed as 22900008fb89afe4687a40db8737553ee0e55621

Powered by Google App Engine
This is Rietveld 408576698