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

Issue 1039693004: Add tokens and entry points for KHR_blend_equation_advanced (Closed)

Created:
5 years, 8 months ago by Chris Dalton
Modified:
5 years, 8 months ago
Reviewers:
Mark Kilgard, bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add tokens and entry points for KHR_blend_equation_advanced Also adds glBlendEquation, which the extension interacts with, to the core of GrGLInterface. Validation of this function is temporarily disabled until Chrome hooks it up. BUG=skia: Committed: https://skia.googlesource.com/skia/+/bae6f6c3ec927bc1f87cd4c13fec0b52e5677c23

Patch Set 1 #

Total comments: 5

Patch Set 2 : rebase #

Patch Set 3 : remove EXT_blend_color/subtract from no-op context extensions #

Patch Set 4 : Disable fBlendEquation validation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -12 lines) Patch
M include/gpu/gl/GrGLFunctions.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M include/gpu/gl/GrGLInterface.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLAssembleInterface.cpp View 1 2 chunks +25 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLCreateNullInterface.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/GrGLDefines.h View 1 chunk +22 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLInterface.cpp View 1 2 3 2 chunks +12 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLNoOpInterface.h View 1 1 chunk +5 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLNoOpInterface.cpp View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M src/gpu/gl/SkNullGLContext.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/gl/debug/GrGLCreateDebugInterface.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
Mark Kilgard
LGTM my only comment is probably not worth the EXT_blend_subtract because it would have a ...
5 years, 8 months ago (2015-04-02 22:41:43 UTC) #2
Chris Dalton
https://codereview.chromium.org/1039693004/diff/1/src/gpu/gl/GrGLAssembleInterface.cpp File src/gpu/gl/GrGLAssembleInterface.cpp (right): https://codereview.chromium.org/1039693004/diff/1/src/gpu/gl/GrGLAssembleInterface.cpp#newcode87 src/gpu/gl/GrGLAssembleInterface.cpp:87: GET_PROC(BlendEquation); On 2015/04/02 22:41:43, Mark Kilgard wrote: > technically, ...
5 years, 8 months ago (2015-04-17 07:53:42 UTC) #3
bsalomon
lgtm https://codereview.chromium.org/1039693004/diff/1/src/gpu/gl/GrGLNoOpInterface.cpp File src/gpu/gl/GrGLNoOpInterface.cpp (right): https://codereview.chromium.org/1039693004/diff/1/src/gpu/gl/GrGLNoOpInterface.cpp#newcode31 src/gpu/gl/GrGLNoOpInterface.cpp:31: "GL_EXT_blend_subtract", On 2015/04/17 07:53:42, Chris Dalton wrote: > ...
5 years, 8 months ago (2015-04-21 15:21:51 UTC) #5
Chris Dalton
On 2015/04/21 15:21:51, bsalomon wrote: > lgtm > > https://codereview.chromium.org/1039693004/diff/1/src/gpu/gl/GrGLNoOpInterface.cpp > File src/gpu/gl/GrGLNoOpInterface.cpp (right): > ...
5 years, 8 months ago (2015-04-21 19:21:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1039693004/40001
5 years, 8 months ago (2015-04-21 19:28:54 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/8e578859f80b46a63144add215955221017d3609
5 years, 8 months ago (2015-04-21 19:34:12 UTC) #10
tomhudson
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1101593002/ by tomhudson@google.com. ...
5 years, 8 months ago (2015-04-21 21:16:29 UTC) #11
bsalomon
I think the problem is that Chrome is exposing the extension, we're not grabbing the ...
5 years, 8 months ago (2015-04-22 13:31:03 UTC) #12
Chris Dalton
On 2015/04/22 13:31:03, bsalomon wrote: > I think the problem is that Chrome is exposing ...
5 years, 8 months ago (2015-04-22 17:02:37 UTC) #13
bsalomon
On 2015/04/22 17:02:37, Chris Dalton wrote: > On 2015/04/22 13:31:03, bsalomon wrote: > > I ...
5 years, 8 months ago (2015-04-22 17:19:29 UTC) #14
Chris Dalton
On 2015/04/22 17:02:37, Chris Dalton wrote: > On 2015/04/22 13:31:03, bsalomon wrote: > > I ...
5 years, 8 months ago (2015-04-22 17:22:59 UTC) #15
bsalomon
On 2015/04/22 at 17:22:59, cdalton wrote: > On 2015/04/22 17:02:37, Chris Dalton wrote: > > ...
5 years, 8 months ago (2015-04-22 17:28:06 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1039693004/60001
5 years, 8 months ago (2015-04-22 17:33:35 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/bae6f6c3ec927bc1f87cd4c13fec0b52e5677c23
5 years, 8 months ago (2015-04-22 17:39:07 UTC) #20
tomhudson
Just for future reference, this changed patch did NOT actually disable validation. As I said ...
5 years, 8 months ago (2015-04-23 20:19:32 UTC) #21
bsalomon
5 years, 8 months ago (2015-04-23 20:21:29 UTC) #22
Message was sent while issue was closed.
On 2015/04/23 20:19:32, tomhudson wrote:
> Just for future reference, this changed patch did NOT actually disable
> validation.
> As I said in my notes with the original revert, lines 330-334 needed to be
> addressed as well.
> We're now responsible for a bad Chrome build and potentially many wasted
> engineer-hours (https://code.google.com/p/chromium/issues/detail?id=480597).
> 
> Brian's got a fix in at https://codereview.chromium.org/1101143002.

My fault for not understanding that it wasn't just BlendEquation that was
causing the issue. I assumed that Chromium did not expose advanced blending via
the command buffer.

Powered by Google App Engine
This is Rietveld 408576698