Chromium Code Reviews

Issue 761503004: Fix several leaks in the Sky compositor (Closed)

Created:
6 years ago by abarth-chromium
Modified:
6 years ago
Reviewers:
ojan
CC:
ojan, Aaron Boodman, ben+mojo_chromium.org, darin (slow to review), esprehn, mojo-reviews_chromium.org, qsr+mojo_chromium.org, rafaelw, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Fix several leaks in the Sky compositor When tearing down the Sky compostior, we need to destroy the GL context and all the textures in the resource manager. R=ojan@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/aef6f0d7849770c9c1725d378f50677ae3357b12

Patch Set 1 #

Patch Set 2 : Fix typo #

Total comments: 1
Unified diffs Side-by-side diffs Stats (+67 lines, -8 lines)
M mojo/gpu/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments
A mojo/gpu/gl_context_owner.h View 1 chunk +31 lines, -0 lines 0 comments
A mojo/gpu/gl_context_owner.cc View 1 chunk +19 lines, -0 lines 0 comments
M sky/compositor/layer_host.h View 3 chunks +3 lines, -2 lines 0 comments
M sky/compositor/layer_host.cc View 1 chunk +3 lines, -3 lines 0 comments
M sky/compositor/resource_manager.cc View 3 chunks +9 lines, -3 lines 1 comment

Messages

Total messages: 3 (0 generated)
abarth-chromium
6 years ago (2014-11-25 17:59:40 UTC) #1
ojan
lgtm https://codereview.chromium.org/761503004/diff/20001/sky/compositor/resource_manager.cc File sky/compositor/resource_manager.cc (right): https://codereview.chromium.org/761503004/diff/20001/sky/compositor/resource_manager.cc#newcode29 sky/compositor/resource_manager.cc:29: resource_to_texture_map_.end()); git cl format plz
6 years ago (2014-11-25 19:27:47 UTC) #2
abarth-chromium
6 years ago (2014-11-25 20:11:21 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
aef6f0d7849770c9c1725d378f50677ae3357b12 (presubmit successful).

Powered by Google App Engine