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

Issue 625753002: IOSurface CGL context current lifetime cleanup (Closed)

Created:
6 years, 2 months ago by ccameron
Modified:
6 years, 2 months ago
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

IOSurface CGL context current lifetime cleanup Make the CGL context current while setting up the IOSurface-backed texture be the context owned by the IOSurfaceTexture, not the context owned by the CAOpenGLLayer. Clean up some lifetime management of the CGL contexts. BUG=420253 Committed: https://crrev.com/e77478355df808ac988a2bc9d2db84b7f2a85fd3 Cr-Commit-Position: refs/heads/master@{#298601}

Patch Set 1 #

Patch Set 2 : Fix typo #

Total comments: 4

Patch Set 3 : Incorporate review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -71 lines) Patch
M content/browser/compositor/io_surface_layer_mac.mm View 4 chunks +8 lines, -16 lines 0 comments Download
M content/browser/compositor/io_surface_texture_mac.h View 2 chunks +1 line, -8 lines 0 comments Download
M content/browser/compositor/io_surface_texture_mac.mm View 1 2 6 chunks +45 lines, -47 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
ccameron
This is, I suspect, the last change that I'll be able to make to the ...
6 years, 2 months ago (2014-10-03 00:58:37 UTC) #3
Ken Russell (switch to Gerrit)
Please file a bug about this in case it needs to be reverted and re-landed ...
6 years, 2 months ago (2014-10-03 21:54:17 UTC) #4
ccameron
On 2014/10/03 21:54:17, Ken Russell wrote: > Please file a bug about this in case ...
6 years, 2 months ago (2014-10-03 21:59:34 UTC) #5
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/625753002/diff/20001/content/browser/compositor/io_surface_texture_mac.mm File content/browser/compositor/io_surface_texture_mac.mm (right): https://codereview.chromium.org/625753002/diff/20001/content/browser/compositor/io_surface_texture_mac.mm#newcode181 content/browser/compositor/io_surface_texture_mac.mm:181: offscreen_context_->cgl_context()); I'm sure I'm being dense, but am finding ...
6 years, 2 months ago (2014-10-04 00:33:39 UTC) #6
ccameron
Lmk if this clears things up. https://codereview.chromium.org/625753002/diff/20001/content/browser/compositor/io_surface_texture_mac.mm File content/browser/compositor/io_surface_texture_mac.mm (right): https://codereview.chromium.org/625753002/diff/20001/content/browser/compositor/io_surface_texture_mac.mm#newcode181 content/browser/compositor/io_surface_texture_mac.mm:181: offscreen_context_->cgl_context()); On 2014/10/04 ...
6 years, 2 months ago (2014-10-04 00:49:38 UTC) #7
Ken Russell (switch to Gerrit)
LGTM per our over-the-shoulder review; thanks for sitting down and discussing this with me. https://codereview.chromium.org/625753002/diff/20001/content/browser/compositor/io_surface_texture_mac.mm ...
6 years, 2 months ago (2014-10-07 22:09:45 UTC) #8
ccameron
Thanks! https://codereview.chromium.org/625753002/diff/20001/content/browser/compositor/io_surface_texture_mac.mm File content/browser/compositor/io_surface_texture_mac.mm (right): https://codereview.chromium.org/625753002/diff/20001/content/browser/compositor/io_surface_texture_mac.mm#newcode62 content/browser/compositor/io_surface_texture_mac.mm:62: offscreen_context_->cgl_context()); On 2014/10/07 22:09:44, Ken Russell wrote: > ...
6 years, 2 months ago (2014-10-07 22:33:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/625753002/40001
6 years, 2 months ago (2014-10-07 22:34:26 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001) as c7445917e8d5492dd4a6c4bfe30ea41d679535ec
6 years, 2 months ago (2014-10-07 23:11:45 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-10-07 23:13:18 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e77478355df808ac988a2bc9d2db84b7f2a85fd3
Cr-Commit-Position: refs/heads/master@{#298601}

Powered by Google App Engine
This is Rietveld 408576698