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

Unified Diff: chrome/gpu/gpu_arc_video_service.cc

Issue 1945543002: Use explicit flush for ArcVideoAccelerator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: chrome/gpu/gpu_arc_video_service.cc
diff --git a/chrome/gpu/gpu_arc_video_service.cc b/chrome/gpu/gpu_arc_video_service.cc
index 0ab69c736c3dbaebe6a5650be310538dacd0cb11..e17491558121ec7d2e04c1cab1bd3a66b23b17dc 100644
--- a/chrome/gpu/gpu_arc_video_service.cc
+++ b/chrome/gpu/gpu_arc_video_service.cc
@@ -152,6 +152,11 @@ class GpuArcVideoService::AcceleratorStub
client_->OnResetDone();
}
+ void OnFlushDone() override {
+ DVLOG(2) << "OnFlushDone";
+ client_->OnFlushDone();
+ }
+
void OnOutputFormatChanged(const VideoFormat& format) override {
DVLOG(2) << "OnOutputFormatChanged";
client_->OnOutputFormatChanged(::arc::mojom::VideoFormat::From(format));
@@ -213,6 +218,8 @@ class GpuArcVideoService::AcceleratorStub
void Reset() override { accelerator_->Reset(); }
+ void Flush() override { accelerator_->Flush(); }
+
private:
base::ThreadChecker thread_checker_;
GpuArcVideoService* const owner_;

Powered by Google App Engine
This is Rietveld 408576698