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

Unified Diff: gpu/command_buffer/service/gpu_preferences.cc

Issue 1716813002: Use GpuPreferences to avoid directly accessing switches in gpu related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update 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
Index: gpu/command_buffer/service/gpu_preferences.cc
diff --git a/cc/proto/vector2d.proto b/gpu/command_buffer/service/gpu_preferences.cc
similarity index 50%
copy from cc/proto/vector2d.proto
copy to gpu/command_buffer/service/gpu_preferences.cc
index 15171844ffc443d28cae7c70e2149ac3989200ab..753e56c2669e130072d81fed1c978d0eec0af4ba 100644
--- a/cc/proto/vector2d.proto
+++ b/gpu/command_buffer/service/gpu_preferences.cc
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-syntax = "proto2";
+#include "gpu/command_buffer/service/gpu_preferences.h"
-option optimize_for = LITE_RUNTIME;
+namespace gpu {
-package cc.proto;
-
-message Vector2d {
- optional int64 x = 1;
- optional int64 y = 2;
+GpuPreferences::GpuPreferences() {
}
+
+GpuPreferences::~GpuPreferences() {}
+
+} // namespace gpu
« no previous file with comments | « gpu/command_buffer/service/gpu_preferences.h ('k') | gpu/command_buffer/service/in_process_command_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698