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

Issue 1415503008: Fix setColocatedSampleLocations on ES and GL < 4.5 (Closed)

Created:
5 years, 1 month ago by Chris Dalton
Modified:
5 years, 1 month ago
CC:
reviews_skia.org, nv_mark
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix setColocatedSampleLocations on ES and GL < 4.5 Updates setColocatedSampleLocations to use glFramebufferParameteri when the DSA version glNamedFramebufferParameteri is not present. BUG=skia: Committed: https://skia.googlesource.com/skia/+/98cad6219b430eddf5528473311279f21dbd2e10

Patch Set 1 #

Total comments: 7

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -6 lines) Patch
M include/gpu/gl/GrGLFunctions.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/gpu/gl/GrGLInterface.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/GrGLAssembleInterface.cpp View 2 chunks +9 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 1 chunk +11 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 chunk +11 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLInterface.cpp View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Chris Dalton
https://codereview.chromium.org/1415503008/diff/1/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1415503008/diff/1/src/gpu/gl/GrGLGpu.cpp#newcode2038 src/gpu/gl/GrGLGpu.cpp:2038: if (kGL_GrGLStandard == this->glStandard() && this->glVersion() >= GR_GL_VER(4,5)) { ...
5 years, 1 month ago (2015-11-03 07:21:31 UTC) #2
bsalomon
https://codereview.chromium.org/1415503008/diff/1/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1415503008/diff/1/src/gpu/gl/GrGLGpu.cpp#newcode2038 src/gpu/gl/GrGLGpu.cpp:2038: if (kGL_GrGLStandard == this->glStandard() && this->glVersion() >= GR_GL_VER(4,5)) { ...
5 years, 1 month ago (2015-11-03 15:21:12 UTC) #3
Chris Dalton
https://codereview.chromium.org/1415503008/diff/1/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1415503008/diff/1/src/gpu/gl/GrGLGpu.cpp#newcode2038 src/gpu/gl/GrGLGpu.cpp:2038: if (kGL_GrGLStandard == this->glStandard() && this->glVersion() >= GR_GL_VER(4,5)) { ...
5 years, 1 month ago (2015-11-03 15:49:16 UTC) #4
bsalomon
lgtm https://codereview.chromium.org/1415503008/diff/1/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1415503008/diff/1/src/gpu/gl/GrGLGpu.cpp#newcode2038 src/gpu/gl/GrGLGpu.cpp:2038: if (kGL_GrGLStandard == this->glStandard() && this->glVersion() >= GR_GL_VER(4,5)) ...
5 years, 1 month ago (2015-11-03 15:54:22 UTC) #5
Mark Kilgard
LGTM (as far as the OpenGL usage; I'm not sure about the Skia conventions involved)
5 years, 1 month ago (2015-11-03 15:55:22 UTC) #7
bsalomon
lgtm
5 years, 1 month ago (2015-11-03 17:21:32 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415503008/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415503008/20001
5 years, 1 month ago (2015-11-03 17:22:04 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/98cad6219b430eddf5528473311279f21dbd2e10
5 years, 1 month ago (2015-11-03 17:33:26 UTC) #12
Chris Dalton
5 years, 1 month ago (2015-11-10 17:59:45 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1431943005/ by cdalton@nvidia.com.

The reason for reverting is: Co-centered sample locations are not needed to do
stencil clip with mixed samples..

Powered by Google App Engine
This is Rietveld 408576698