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

Issue 614953002: Accelerate the lighten blendmode if GL_EXT_blend_minmax is enabled. (Closed)

Created:
6 years, 2 months ago by Erik Dahlström (inactive)
Modified:
6 years, 2 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-ipc_chromium.org, piman+watch_chromium.org, rosca
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Accelerate the 'lighten' blendmode. If GL_EXT_blend_minmax is available then make use of that to accelerate blending for the 'lighten' blendmode. BUG=243223 Committed: https://crrev.com/fad658b4d6af2be70c1d39b98ffa92c578f31006 Cr-Commit-Position: refs/heads/master@{#299080}

Patch Set 1 #

Total comments: 2

Patch Set 2 : review fixes #

Patch Set 3 : rebase #

Patch Set 4 : pass blendmode enum #

Total comments: 6

Patch Set 5 : add IsDefaultBlendMode #

Total comments: 2

Patch Set 6 : rebase #

Total comments: 1

Patch Set 7 : fix nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -46 lines) Patch
M cc/output/gl_renderer.h View 1 2 3 4 5 6 2 chunks +7 lines, -3 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 4 5 6 7 chunks +57 lines, -41 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/capabilities.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/capabilities.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/feature_info.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 2 chunks +3 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (8 generated)
Erik Dahlström (inactive)
6 years, 2 months ago (2014-09-30 15:33:51 UTC) #2
rosca
https://codereview.chromium.org/614953002/diff/1/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/614953002/diff/1/cc/output/gl_renderer.cc#newcode725 cc/output/gl_renderer.cc:725: GLC(gl_, gl_->BlendEquation(GL_FUNC_ADD)); This reinitialization will be called for each ...
6 years, 2 months ago (2014-09-30 17:46:30 UTC) #4
enne (OOO)
https://codereview.chromium.org/614953002/diff/1/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/614953002/diff/1/cc/output/gl_renderer.cc#newcode725 cc/output/gl_renderer.cc:725: GLC(gl_, gl_->BlendEquation(GL_FUNC_ADD)); On 2014/09/30 at 17:46:30, Rosca wrote: > ...
6 years, 2 months ago (2014-10-01 18:43:53 UTC) #5
Erik Dahlström (inactive)
On 2014/10/01 18:43:53, enne wrote: > https://codereview.chromium.org/614953002/diff/1/cc/output/gl_renderer.cc > File cc/output/gl_renderer.cc (right): > > https://codereview.chromium.org/614953002/diff/1/cc/output/gl_renderer.cc#newcode725 > ...
6 years, 2 months ago (2014-10-03 15:12:38 UTC) #6
rosca
https://codereview.chromium.org/614953002/diff/60001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/614953002/diff/60001/cc/output/gl_renderer.cc#newcode1008 cc/output/gl_renderer.cc:1008: CanApplyBlendModeUsingBlendFunc(blend_mode)); This expression is true for srcOver all the ...
6 years, 2 months ago (2014-10-03 15:33:06 UTC) #7
Erik Dahlström (inactive)
https://codereview.chromium.org/614953002/diff/60001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/614953002/diff/60001/cc/output/gl_renderer.cc#newcode1008 cc/output/gl_renderer.cc:1008: CanApplyBlendModeUsingBlendFunc(blend_mode)); On 2014/10/03 15:33:05, rosca wrote: > This expression ...
6 years, 2 months ago (2014-10-06 11:04:16 UTC) #8
enne (OOO)
https://codereview.chromium.org/614953002/diff/60001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/614953002/diff/60001/cc/output/gl_renderer.cc#newcode1008 cc/output/gl_renderer.cc:1008: CanApplyBlendModeUsingBlendFunc(blend_mode)); On 2014/10/03 15:33:05, rosca wrote: > This expression ...
6 years, 2 months ago (2014-10-07 17:51:18 UTC) #9
rosca
https://codereview.chromium.org/614953002/diff/60001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/614953002/diff/60001/cc/output/gl_renderer.cc#newcode1008 cc/output/gl_renderer.cc:1008: CanApplyBlendModeUsingBlendFunc(blend_mode)); On 2014/10/07 17:51:17, enne wrote: > I think ...
6 years, 2 months ago (2014-10-07 21:46:08 UTC) #10
rosca
6 years, 2 months ago (2014-10-07 21:46:10 UTC) #11
Erik Dahlström (inactive)
https://codereview.chromium.org/614953002/diff/60001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/614953002/diff/60001/cc/output/gl_renderer.cc#newcode1008 cc/output/gl_renderer.cc:1008: CanApplyBlendModeUsingBlendFunc(blend_mode)); On 2014/10/07 21:46:08, rosca wrote: > On 2014/10/07 ...
6 years, 2 months ago (2014-10-08 15:25:20 UTC) #12
enne (OOO)
https://codereview.chromium.org/614953002/diff/60001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/614953002/diff/60001/cc/output/gl_renderer.cc#newcode1008 cc/output/gl_renderer.cc:1008: CanApplyBlendModeUsingBlendFunc(blend_mode)); On 2014/10/08 15:25:19, Erik Dahlström wrote: > On ...
6 years, 2 months ago (2014-10-08 20:47:21 UTC) #13
enne (OOO)
lgtm
6 years, 2 months ago (2014-10-08 20:48:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/614953002/100001
6 years, 2 months ago (2014-10-09 07:04:30 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/16556)
6 years, 2 months ago (2014-10-09 07:16:40 UTC) #18
Erik Dahlström (inactive)
I somehow managed to forget about the parts outside of cc, my bad. Missing LGTM ...
6 years, 2 months ago (2014-10-09 07:23:49 UTC) #20
Mike West
content/common/gpu/gpu_messages.h LGTM.
6 years, 2 months ago (2014-10-09 07:27:40 UTC) #22
jbauman
gpu/command_buffer/ lgtm
6 years, 2 months ago (2014-10-09 22:22:53 UTC) #23
piman
https://codereview.chromium.org/614953002/diff/100001/cc/output/gl_renderer.h File cc/output/gl_renderer.h (right): https://codereview.chromium.org/614953002/diff/100001/cc/output/gl_renderer.h#newcode442 cc/output/gl_renderer.h:442: bool use_blend_minmax; drive-by nit: use_blend_minmax_
6 years, 2 months ago (2014-10-09 22:32:15 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/614953002/160001
6 years, 2 months ago (2014-10-10 07:58:46 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:160001)
6 years, 2 months ago (2014-10-10 09:00:06 UTC) #28
commit-bot: I haz the power
6 years, 2 months ago (2014-10-10 09:01:00 UTC) #29
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/fad658b4d6af2be70c1d39b98ffa92c578f31006
Cr-Commit-Position: refs/heads/master@{#299080}

Powered by Google App Engine
This is Rietveld 408576698