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

Issue 1532923003: Improve GL helpers. (Closed)

Created:
5 years ago by jeffbrown
Modified:
4 years, 11 months ago
Reviewers:
abarth, viettrungluu, jamesr
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@moz-7
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Improve GL helpers. Use ApplicationConnector instead of Shell to obtain an offscreen GL context. This makes it easier to create GL contexts from separate threads since the Shell interface is usually owned by the main thread. Eagerly unbind GL textures from the context after creation to prevent spurious circularity warnings from the GPU Service caused by textures being bound while not actually in use. BUG= Review URL: https://codereview.chromium.org/1537783002 . R=viettrungluu@chromium.org, abarth, jamesr, viettrungluu Committed: https://chromium.googlesource.com/external/mojo/+/fb52d34d402bca2dcaeed2de5b8e4ebc691e9c8b

Patch Set 1 #

Patch Set 2 : address review comments #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -9 lines) Patch
M mojo/gpu/gl_context.h View 2 chunks +6 lines, -1 line 0 comments Download
M mojo/gpu/gl_context.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M mojo/gpu/gl_context_owner.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M mojo/gpu/gl_context_owner.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M mojo/gpu/gl_texture.cc View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 7 (1 generated)
jeffbrown
5 years ago (2015-12-17 22:02:53 UTC) #1
viettrungluu
I'm so confused. Here's what I said on the other copy of this: LGTM w/very ...
5 years ago (2015-12-17 22:33:31 UTC) #2
jeffbrown
Sorry about that, I had an accident involving "git cl upload --dependencies" and ended up ...
5 years ago (2015-12-17 22:36:35 UTC) #3
jeffbrown
5 years ago (2015-12-18 00:06:53 UTC) #4
jeffbrown
rebase
4 years, 11 months ago (2016-01-26 08:57:28 UTC) #5
jeffbrown
4 years, 11 months ago (2016-01-26 23:50:00 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
fb52d34d402bca2dcaeed2de5b8e4ebc691e9c8b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698