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

Issue 11366237: Add logic to block the use of client 3D APIs (WebGL, Pepper 3D) if context lost notifications are r… (Closed)

Created:
8 years, 1 month ago by Ken Russell (switch to Gerrit)
Modified:
8 years, 1 month ago
Reviewers:
Zhenyao Mo, jam, Jói
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Add logic to block the use of client 3D APIs (WebGL, Pepper 3D) if context lost notifications are received. This CL only adds the core mechanism and unit tests. A follow-on CL will hook it up to WebGL. BUG=125125 TEST=GpuDataManagerImplTest.*

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressed review feedback from zmo and jam. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -33 lines) Patch
M content/browser/gpu/gpu_data_manager_impl.h View 8 chunks +41 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.cc View 1 4 chunks +122 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_unittest.cc View 1 11 chunks +183 lines, -31 lines 0 comments Download
M content/public/browser/gpu_data_manager.h View 1 3 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Ken Russell (switch to Gerrit)
zmo: please review. joi: please do OWNERS review for content/public/browser/.
8 years, 1 month ago (2012-11-14 02:15:57 UTC) #1
Jói
Adding jam@. Does the logic using this API need to live outside of content? If ...
8 years, 1 month ago (2012-11-14 08:50:31 UTC) #2
Zhenyao Mo
LGTM (please fix the mem leak in the tests) http://codereview.chromium.org/11366237/diff/1/content/browser/gpu/gpu_data_manager_impl.cc File content/browser/gpu/gpu_data_manager_impl.cc (right): http://codereview.chromium.org/11366237/diff/1/content/browser/gpu/gpu_data_manager_impl.cc#newcode356 content/browser/gpu/gpu_data_manager_impl.cc:356: ...
8 years, 1 month ago (2012-11-14 16:35:57 UTC) #3
Ken Russell (switch to Gerrit)
On 2012/11/14 08:50:31, Jói wrote: > Adding jam@. > > Does the logic using this ...
8 years, 1 month ago (2012-11-14 18:13:52 UTC) #4
jam
https://codereview.chromium.org/11366237/diff/1/content/public/browser/gpu_data_manager.h File content/public/browser/gpu_data_manager.h (right): https://codereview.chromium.org/11366237/diff/1/content/public/browser/gpu_data_manager.h#newcode34 content/public/browser/gpu_data_manager.h:34: kKnownGuilty, nit: here and below, please use chrome recommended ...
8 years, 1 month ago (2012-11-14 18:21:57 UTC) #5
Ken Russell (switch to Gerrit)
New patch up. Please re-review. https://codereview.chromium.org/11366237/diff/1/content/browser/gpu/gpu_data_manager_impl.cc File content/browser/gpu/gpu_data_manager_impl.cc (right): https://codereview.chromium.org/11366237/diff/1/content/browser/gpu/gpu_data_manager_impl.cc#newcode356 content/browser/gpu/gpu_data_manager_impl.cc:356: const GURL& url) const ...
8 years, 1 month ago (2012-11-14 19:09:13 UTC) #6
Zhenyao Mo
Thanks. LGTM again.
8 years, 1 month ago (2012-11-14 19:14:52 UTC) #7
Ken Russell (switch to Gerrit)
8 years, 1 month ago (2012-11-15 21:22:57 UTC) #8
Based on @jam's feedback I've put up the entire set of changes, including this
one, in https://codereview.chromium.org/11378008/ . Closing this -- not going to
land it separately.

Powered by Google App Engine
This is Rietveld 408576698