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

Issue 14069008: GPU: Reduce MakeCurrent calls to fix Orange San Diego (Closed)

Created:
7 years, 8 months ago by epenner
Modified:
7 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

GPU: Reduce MakeCurrent calls to fix Orange San Diego We have hit several separate issues resulting from calling MakeCurrent to change surfaces (when using virtual contexts). This removes most cases of MakeCurrent that aren't needed, and enables virtual contexts for Orange San Diego. The last remaining case is ReleaseCurrent which isn't needed for the Orange San Diego fix, and will be done in a follow up CL. BUG=179250, 229643, 230896 NOTRY=true No try since the trybots all passed and the last change is a one-liner. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198182

Patch Set 1 #

Total comments: 12

Patch Set 2 : Rebase. #

Patch Set 3 : Reduce scope. Cleanup IsCurrent. #

Total comments: 1

Patch Set 4 : Merged work-around. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -19 lines) Patch
M content/gpu/gpu_info_collector_android.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gl_context_virtual.cc View 1 2 2 chunks +19 lines, -16 lines 0 comments Download
M ui/gl/gl_context_egl.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
epenner
PTAL. It isn't much code in the end once I found all the causes of ...
7 years, 8 months ago (2013-04-10 18:49:08 UTC) #1
greggman
lgtm but... Let me double check certain things won't break. On Desktop we'd like to ...
7 years, 8 months ago (2013-04-10 18:58:10 UTC) #2
no sievers
I don't think we can break ReleaseCurrent(). Besides the semantical breakage, it can cause real ...
7 years, 8 months ago (2013-04-10 19:11:35 UTC) #3
no sievers
To add some background: in crbug.com/179250 Eric found that the driver's share group support is ...
7 years, 8 months ago (2013-04-10 19:22:26 UTC) #4
epenner
I agree with some of your points Daniel but don't agree that this doesn't have ...
7 years, 8 months ago (2013-04-10 21:17:21 UTC) #5
epenner
This also solves 2 if not 3 to 4 separate issues (black flicker when switching ...
7 years, 8 months ago (2013-04-10 21:19:54 UTC) #6
no sievers
Ok chatted a bit with Eric, and we'll investigate more. Added some comments inline to ...
7 years, 8 months ago (2013-04-10 22:44:31 UTC) #7
no sievers
https://codereview.chromium.org/14069008/diff/1/gpu/command_buffer/service/gl_context_virtual.cc File gpu/command_buffer/service/gl_context_virtual.cc (left): https://codereview.chromium.org/14069008/diff/1/gpu/command_buffer/service/gl_context_virtual.cc#oldcode56 gpu/command_buffer/service/gl_context_virtual.cc:56: if (IsCurrent(surface)) On 2013/04/10 22:44:31, Daniel Sievers wrote: > ...
7 years, 8 months ago (2013-04-10 22:47:22 UTC) #8
epennerAtGoogle
If you have any other big concerns let me know. However I don't really see ...
7 years, 8 months ago (2013-04-11 03:23:23 UTC) #9
epennerAtGoogle
If you have any other big concerns let me know. However I don't really see ...
7 years, 8 months ago (2013-04-11 03:23:43 UTC) #10
no sievers
https://codereview.chromium.org/14069008/diff/1/gpu/command_buffer/service/gl_context_virtual.cc File gpu/command_buffer/service/gl_context_virtual.cc (left): https://codereview.chromium.org/14069008/diff/1/gpu/command_buffer/service/gl_context_virtual.cc#oldcode56 gpu/command_buffer/service/gl_context_virtual.cc:56: if (IsCurrent(surface)) On 2013/04/11 03:23:43, epennerAtGoogle wrote: > On ...
7 years, 8 months ago (2013-04-11 19:56:19 UTC) #11
epenner
I need to revive this as there is no three devices effected by this. For ...
7 years, 7 months ago (2013-05-02 04:13:11 UTC) #12
epenner
Okay, the Orange San Diego only needs part of the original patch, and to enable ...
7 years, 7 months ago (2013-05-02 05:34:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/14069008/19001
7 years, 7 months ago (2013-05-02 05:35:18 UTC) #14
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=124304
7 years, 7 months ago (2013-05-02 08:27:12 UTC) #15
epenner
I further reduced this to only what is required for Orange. gman, can you have ...
7 years, 7 months ago (2013-05-03 17:56:33 UTC) #16
greggman
lgtm https://codereview.chromium.org/14069008/diff/49002/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/14069008/diff/49002/gpu/command_buffer/service/feature_info.cc#newcode233 gpu/command_buffer/service/feature_info.cc:233: if (is_imagination) { I'd prefer to only set ...
7 years, 7 months ago (2013-05-03 18:28:09 UTC) #17
epenner
On 2013/05/03 18:28:09, greggman wrote: > lgtm > > https://codereview.chromium.org/14069008/diff/49002/gpu/command_buffer/service/feature_info.cc > File gpu/command_buffer/service/feature_info.cc (right): > ...
7 years, 7 months ago (2013-05-03 18:45:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/14069008/61001
7 years, 7 months ago (2013-05-03 20:40:19 UTC) #19
commit-bot: I haz the power
7 years, 7 months ago (2013-05-03 21:04:25 UTC) #20
Message was sent while issue was closed.
Change committed as 198182

Powered by Google App Engine
This is Rietveld 408576698