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

Side by Side Diff: cc/proto/gpu_conversions.h

Issue 2493853002: cc/blimp: Proto Cleanup. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 | « cc/proto/element_id.proto ('k') | cc/proto/gpu_conversions.cc » ('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 2015 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 #ifndef CC_PROTO_GPU_CONVERSIONS_H_
6 #define CC_PROTO_GPU_CONVERSIONS_H_
7
8 #include "cc/base/cc_export.h"
9 #include "cc/proto/memory_allocation.pb.h"
10 #include "gpu/command_buffer/common/gpu_memory_allocation.h"
11
12 namespace cc {
13
14 // TODO(dtrainor): Move these to a class and make them static
15 // (crbug.com/548432).
16 CC_EXPORT proto::MemoryAllocation::PriorityCutoff
17 MemoryAllocationPriorityCutoffToProto(
18 const gpu::MemoryAllocation::PriorityCutoff& priority_cutoff);
19 CC_EXPORT gpu::MemoryAllocation::PriorityCutoff
20 MemoryAllocationPriorityCutoffFromProto(
21 const proto::MemoryAllocation::PriorityCutoff& proto);
22
23 } // namespace cc
24
25 #endif // CC_PROTO_GPU_CONVERSIONS_H_
OLDNEW
« no previous file with comments | « cc/proto/element_id.proto ('k') | cc/proto/gpu_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698