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

Side by Side Diff: gpu/vulkan/tests/vulkan_tests_main.cc

Issue 1776453003: Added initial implementation of Vulkan Render Passes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_vulkan
Patch Set: Adding logging/macros headers 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 unified diff | Download patch
« no previous file with comments | « gpu/vulkan/tests/vulkan_test.cc ('k') | gpu/vulkan/vulkan_command_buffer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/command_line.h"
6 #include "base/test/launcher/unit_test_launcher.h"
7 #include "base/test/test_suite.h"
8 #include "gpu/vulkan/vulkan_surface.h"
9 #include "testing/gmock/include/gmock/gmock.h"
10
11 namespace {
12
13 int RunHelper(base::TestSuite* testSuite) {
14 const bool success = gpu::VulkanSurface::InitializeOneOff();
15 DCHECK(success);
16 return testSuite->Run();
17 }
18
19 } // namespace
20
21 int main(int argc, char** argv) {
22 base::TestSuite test_suite(argc, argv);
23 base::CommandLine::Init(argc, argv);
24 testing::InitGoogleMock(&argc, argv);
25 return base::LaunchUnitTestsSerially(
26 argc, argv, base::Bind(&RunHelper, base::Unretained(&test_suite)));
27 }
OLDNEW
« no previous file with comments | « gpu/vulkan/tests/vulkan_test.cc ('k') | gpu/vulkan/vulkan_command_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698