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

Unified Diff: webrtc/test/linux/glx_renderer.cc

Issue 1814763002: Cleanup of webrtc::VideoRenderer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Use a more specific DEPS rule. Created 4 years, 9 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: webrtc/test/linux/glx_renderer.cc
diff --git a/webrtc/test/linux/glx_renderer.cc b/webrtc/test/linux/glx_renderer.cc
index c5071dea914a514eac9aa6cd6e3468e48812b61e..d6979c8a58f2b9c7308b92c0e50cec0f8502e87e 100644
--- a/webrtc/test/linux/glx_renderer.cc
+++ b/webrtc/test/linux/glx_renderer.cc
@@ -144,8 +144,7 @@ void GlxRenderer::Resize(size_t width, size_t height) {
XConfigureWindow(display_, window_, CWWidth | CWHeight, &wc);
}
-void GlxRenderer::RenderFrame(const webrtc::VideoFrame& frame,
- int /*render_delay_ms*/) {
+void GlxRenderer::OnFrame(const webrtc::VideoFrame& frame) {
if (static_cast<size_t>(frame.width()) != width_ ||
static_cast<size_t>(frame.height()) != height_) {
Resize(static_cast<size_t>(frame.width()),
@@ -168,7 +167,7 @@ void GlxRenderer::RenderFrame(const webrtc::VideoFrame& frame,
}
}
- GlRenderer::RenderFrame(frame, 0);
+ GlRenderer::OnFrame(frame);
glXSwapBuffers(display_, window_);
if (!glXMakeCurrent(display_, None, NULL)) {

Powered by Google App Engine
This is Rietveld 408576698