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

Unified Diff: cc/resources/video_resource_updater_unittest.cc

Issue 1608303002: Removed OLD_SYNC_POINT sync token namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed cc_perftests, formatted Created 4 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
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/test/render_pass_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/video_resource_updater_unittest.cc
diff --git a/cc/resources/video_resource_updater_unittest.cc b/cc/resources/video_resource_updater_unittest.cc
index 22bf40bdb28436a2f015f983bb2225b7d09eb4b4..9589368961c3726c887156d7aa154db780fe2988 100644
--- a/cc/resources/video_resource_updater_unittest.cc
+++ b/cc/resources/video_resource_updater_unittest.cc
@@ -128,7 +128,8 @@ class VideoResourceUpdaterTest : public testing::Test {
gpu::Mailbox mailbox;
mailbox.name[0] = 51;
- const gpu::SyncToken sync_token(7);
+ const gpu::SyncToken sync_token(gpu::CommandBufferNamespace::GPU_IO, 0,
+ 0x123, 7);
scoped_refptr<media::VideoFrame> video_frame =
media::VideoFrame::WrapNativeTexture(
media::PIXEL_FORMAT_ARGB,
@@ -164,7 +165,8 @@ class VideoResourceUpdaterTest : public testing::Test {
for (int i = 0; i < kPlanesNum; ++i) {
mailbox[i].name[0] = 50 + 1;
}
- const gpu::SyncToken sync_token(7);
+ const gpu::SyncToken sync_token(gpu::CommandBufferNamespace::GPU_IO, 0,
+ 0x123, 7);
const unsigned target = GL_TEXTURE_RECTANGLE_ARB;
scoped_refptr<media::VideoFrame> video_frame =
media::VideoFrame::WrapYUV420NativeTextures(
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/test/render_pass_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698