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

Side by Side Diff: content/common/gpu/media/video_decode_accelerator_unittest.cc

Issue 400353007: rendering_helper - Use real GLSurface and GLContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/gpu/media/rendering_helper.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // The bulk of this file is support code; sorry about that. Here's an overview 5 // The bulk of this file is support code; sorry about that. Here's an overview
6 // to hopefully help readers of this code: 6 // to hopefully help readers of this code:
7 // - RenderingHelper is charged with interacting with X11/{EGL/GLES2,GLX/GL} or 7 // - RenderingHelper is charged with interacting with X11/{EGL/GLES2,GLX/GL} or
8 // Win/EGL. 8 // Win/EGL.
9 // - ClientState is an enum for the state of the decode client used by the test. 9 // - ClientState is an enum for the state of the decode client used by the test.
10 // - ClientStateNotification is a barrier abstraction that allows the test code 10 // - ClientStateNotification is a barrier abstraction that allows the test code
(...skipping 1442 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 if (it->first == "disable_rendering") { 1453 if (it->first == "disable_rendering") {
1454 content::g_rendering_fps = 0; 1454 content::g_rendering_fps = 0;
1455 continue; 1455 continue;
1456 } 1456 }
1457 if (it->first == "v" || it->first == "vmodule") 1457 if (it->first == "v" || it->first == "vmodule")
1458 continue; 1458 continue;
1459 LOG(FATAL) << "Unexpected switch: " << it->first << ":" << it->second; 1459 LOG(FATAL) << "Unexpected switch: " << it->first << ":" << it->second;
1460 } 1460 }
1461 1461
1462 base::ShadowingAtExitManager at_exit_manager; 1462 base::ShadowingAtExitManager at_exit_manager;
1463 content::RenderingHelper::InitializeOneOff();
1463 1464
1464 return RUN_ALL_TESTS(); 1465 return RUN_ALL_TESTS();
1465 } 1466 }
OLDNEW
« no previous file with comments | « content/common/gpu/media/rendering_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698