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

Side by Side Diff: mojo/converters/surfaces/tests/surface_unittest.cc

Issue 950573002: Rename transform_converters.* to transform_type_converters.*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « mojo/converters/surfaces/surfaces_utils.cc ('k') | mojo/converters/transform/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/quads/render_pass.h" 5 #include "cc/quads/render_pass.h"
6 #include "cc/quads/solid_color_draw_quad.h" 6 #include "cc/quads/solid_color_draw_quad.h"
7 #include "cc/quads/surface_draw_quad.h" 7 #include "cc/quads/surface_draw_quad.h"
8 #include "cc/quads/texture_draw_quad.h" 8 #include "cc/quads/texture_draw_quad.h"
9 #include "gpu/command_buffer/common/mailbox.h" 9 #include "gpu/command_buffer/common/mailbox.h"
10 #include "gpu/command_buffer/common/mailbox_holder.h" 10 #include "gpu/command_buffer/common/mailbox_holder.h"
11 #include "mojo/converters/geometry/geometry_type_converters.h" 11 #include "mojo/converters/geometry/geometry_type_converters.h"
12 #include "mojo/converters/surfaces/surfaces_type_converters.h" 12 #include "mojo/converters/surfaces/surfaces_type_converters.h"
13 #include "mojo/converters/transform/transform_converters.h" 13 #include "mojo/converters/transform/transform_type_converters.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "third_party/skia/include/core/SkColor.h" 15 #include "third_party/skia/include/core/SkColor.h"
16 #include "third_party/skia/include/core/SkXfermode.h" 16 #include "third_party/skia/include/core/SkXfermode.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 namespace { 19 namespace {
20 20
21 TEST(SurfaceLibTest, SurfaceIdConverterNullId) { 21 TEST(SurfaceLibTest, SurfaceIdConverterNullId) {
22 cc::SurfaceId null_id; 22 cc::SurfaceId null_id;
23 cc::SurfaceId round_trip = SurfaceId::From(null_id).To<cc::SurfaceId>(); 23 cc::SurfaceId round_trip = SurfaceId::From(null_id).To<cc::SurfaceId>();
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 cc::ReturnedResource round_trip_resource = 456 cc::ReturnedResource round_trip_resource =
457 mojo_resource.To<cc::ReturnedResource>(); 457 mojo_resource.To<cc::ReturnedResource>();
458 EXPECT_EQ(id, round_trip_resource.id); 458 EXPECT_EQ(id, round_trip_resource.id);
459 EXPECT_EQ(sync_point, round_trip_resource.sync_point); 459 EXPECT_EQ(sync_point, round_trip_resource.sync_point);
460 EXPECT_EQ(count, round_trip_resource.count); 460 EXPECT_EQ(count, round_trip_resource.count);
461 EXPECT_EQ(lost, round_trip_resource.lost); 461 EXPECT_EQ(lost, round_trip_resource.lost);
462 } 462 }
463 463
464 } // namespace 464 } // namespace
465 } // namespace mojo 465 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/converters/surfaces/surfaces_utils.cc ('k') | mojo/converters/transform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698