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

Issue 541663002: Simplify IOSurface CoreAnimation code: Part 2 (Closed)

Created:
6 years, 3 months ago by ccameron
Modified:
6 years, 3 months ago
CC:
chromium-reviews, vsevik, devtools-reviews_chromium.org, jam, yurys, sievers+watch_chromium.org, jbauman+watch_chromium.org, paulirish+reviews_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, aandrey+blink_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Simplify IOSurface CoreAnimation code: Part 2 It isn't necessary to mess around with sharing CGLContextObjs anymore, they were necessary only to share data between the frame subscriber and the RenderWidgetHostViewMac. Just give each IOSurfaceLayer its own CGLContextObj, and draw using immediate mode (using shaders resulted in an increase in startup time). BUG=314190 TBR=pfeldman@chromium.org R=kbr@chromium.org Committed: https://crrev.com/4040f1e2376a76ca4582cefe26b484a6ea2c5b8d Cr-Commit-Position: refs/heads/master@{#293457}

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+315 lines, -296 lines) Patch
M content/browser/compositor/browser_compositor_view_private_mac.mm View 3 chunks +4 lines, -25 lines 0 comments Download
M content/browser/compositor/io_surface_layer_mac.h View 5 chunks +24 lines, -80 lines 0 comments Download
M content/browser/compositor/io_surface_layer_mac.mm View 4 chunks +284 lines, -188 lines 3 comments Download
M content/browser/devtools/renderer_overrides_handler_browsertest.cc View 1 chunk +3 lines, -3 lines 2 comments Download

Messages

Total messages: 13 (3 generated)
ccameron
Going to try this again -- I'll see if I can repro some of the ...
6 years, 3 months ago (2014-09-04 09:32:48 UTC) #1
ccameron
Okay, this definitely fixed the double-free issue (TabCaptureApiPixelTest.EndToEnd crashed within a few iterations on the ...
6 years, 3 months ago (2014-09-04 21:28:38 UTC) #2
Ken Russell (switch to Gerrit)
LGTM with a couple of comments. https://codereview.chromium.org/541663002/diff/1/content/browser/compositor/io_surface_layer_mac.mm File content/browser/compositor/io_surface_layer_mac.mm (right): https://codereview.chromium.org/541663002/diff/1/content/browser/compositor/io_surface_layer_mac.mm#newcode283 content/browser/compositor/io_surface_layer_mac.mm:283: return CGLRetainPixelFormat(pixel_format); You're ...
6 years, 3 months ago (2014-09-04 22:20:36 UTC) #3
ccameron
Thanks! https://codereview.chromium.org/541663002/diff/1/content/browser/compositor/io_surface_layer_mac.mm File content/browser/compositor/io_surface_layer_mac.mm (right): https://codereview.chromium.org/541663002/diff/1/content/browser/compositor/io_surface_layer_mac.mm#newcode283 content/browser/compositor/io_surface_layer_mac.mm:283: return CGLRetainPixelFormat(pixel_format); On 2014/09/04 22:20:36, Ken Russell wrote: ...
6 years, 3 months ago (2014-09-04 23:01:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/541663002/1
6 years, 3 months ago (2014-09-04 23:02:51 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/10425)
6 years, 3 months ago (2014-09-05 04:34:20 UTC) #8
ccameron
On 2014/09/05 04:34:20, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-09-05 04:41:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/541663002/1
6 years, 3 months ago (2014-09-05 04:43:51 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1) as d139a285dbef4bac42deb98796049128ed80b503
6 years, 3 months ago (2014-09-05 05:54:02 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:37:25 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4040f1e2376a76ca4582cefe26b484a6ea2c5b8d
Cr-Commit-Position: refs/heads/master@{#293457}

Powered by Google App Engine
This is Rietveld 408576698