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

Unified Diff: media/filters/gpu_video_decoder.h

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Folded sync_point into sync_tokens Created 5 years, 2 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: media/filters/gpu_video_decoder.h
diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h
index 432c27873d89cf5656033204de812d93beaaf0c6..ac4d0e0c88bd2417d7b54e49ef02e3274ce4af43 100644
--- a/media/filters/gpu_video_decoder.h
+++ b/media/filters/gpu_video_decoder.h
@@ -23,6 +23,10 @@ class SharedMemory;
class SingleThreadTaskRunner;
}
+namespace gpu {
+struct SyncToken;
+}
+
namespace media {
class DecoderBuffer;
@@ -104,7 +108,7 @@ class MEDIA_EXPORT GpuVideoDecoder
media::GpuVideoAcceleratorFactories* factories,
int64 picture_buffer_id,
uint32 texture_id,
- uint32 release_sync_point);
+ const gpu::SyncToken& release_sync_token);
// Indicate the picture buffer can be reused by the decoder.
void ReusePictureBuffer(int64 picture_buffer_id);

Powered by Google App Engine
This is Rietveld 408576698