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

Unified Diff: media/video/gpu_memory_buffer_video_frame_pool_unittest.cc

Issue 1548443002: Introducing gpu::CommandBufferId as a distinct, IdType<...>-based type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@type-safe-save-package-id-self-contained
Patch Set: Rebasing... Created 4 years, 10 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
« no previous file with comments | « media/base/video_frame_unittest.cc ('k') | mojo/converters/surfaces/tests/surface_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/gpu_memory_buffer_video_frame_pool_unittest.cc
diff --git a/media/video/gpu_memory_buffer_video_frame_pool_unittest.cc b/media/video/gpu_memory_buffer_video_frame_pool_unittest.cc
index 55dc9690a6de7205a41588134112b8dfc577a02c..b107e5d402212727b855dec1a4f5c1a87f99170e 100644
--- a/media/video/gpu_memory_buffer_video_frame_pool_unittest.cc
+++ b/media/video/gpu_memory_buffer_video_frame_pool_unittest.cc
@@ -36,8 +36,8 @@ class TestGLES2Interface : public gpu::gles2::GLES2InterfaceStub {
void GenSyncTokenCHROMIUM(GLuint64 fence_sync, GLbyte* sync_token) override {
gpu::SyncToken sync_token_data;
if (fence_sync <= flushed_fence_sync_) {
- sync_token_data.Set(gpu::CommandBufferNamespace::GPU_IO, 0, 0,
- fence_sync);
+ sync_token_data.Set(gpu::CommandBufferNamespace::GPU_IO, 0,
+ gpu::CommandBufferId(), fence_sync);
sync_token_data.SetVerifyFlush();
}
memcpy(sync_token, &sync_token_data, sizeof(sync_token_data));
@@ -47,8 +47,8 @@ class TestGLES2Interface : public gpu::gles2::GLES2InterfaceStub {
GLbyte* sync_token) override {
gpu::SyncToken sync_token_data;
if (fence_sync <= flushed_fence_sync_) {
- sync_token_data.Set(gpu::CommandBufferNamespace::GPU_IO, 0, 0,
- fence_sync);
+ sync_token_data.Set(gpu::CommandBufferNamespace::GPU_IO, 0,
+ gpu::CommandBufferId(), fence_sync);
}
memcpy(sync_token, &sync_token_data, sizeof(sync_token_data));
}
« no previous file with comments | « media/base/video_frame_unittest.cc ('k') | mojo/converters/surfaces/tests/surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698