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

Unified Diff: content/common/gpu/media/rendering_helper.h

Issue 835653005: gpu: media: RenderingHelper: wait for the display & window to be ready (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move platform window creation off the rendering thread Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/media/rendering_helper.h
diff --git a/content/common/gpu/media/rendering_helper.h b/content/common/gpu/media/rendering_helper.h
index 817ab1915a3496247c9bb9481942cc10ab8e12be..7ab5b194fbfac930598d1fb353ef29d156867d93 100644
--- a/content/common/gpu/media/rendering_helper.h
+++ b/content/common/gpu/media/rendering_helper.h
@@ -86,6 +86,14 @@ class RenderingHelper {
static bool InitializeOneOff();
+ // Setup the platform window to display test results. This method
+ // must be called on the main thread.
+ void Setup();
+
+ // Tear down the platform window. This method must be called on the
+ // main thread.
+ void TearDown();
+
// Create the render context and windows by the specified dimensions.
void Initialize(const RenderingHelperParams& params,
base::WaitableEvent* done);

Powered by Google App Engine
This is Rietveld 408576698