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

Side by Side Diff: gpu/ipc/common/gpu_param_traits_macros.h

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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/ipc/common/gpu_messages.h ('k') | gpu/ipc/common/gpu_surface_lookup.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ 5 #ifndef GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_
6 #define GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ 6 #define GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_
7 7
8 #include "gpu/command_buffer/common/constants.h" 8 #include "gpu/command_buffer/common/constants.h"
9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 9 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
10 #include "gpu/command_buffer/common/gpu_memory_allocation.h" 10 #include "gpu/command_buffer/common/gpu_memory_allocation.h"
(...skipping 21 matching lines...) Expand all
32 IPC_STRUCT_TRAITS_MEMBER(flags) 32 IPC_STRUCT_TRAITS_MEMBER(flags)
33 IPC_STRUCT_TRAITS_END() 33 IPC_STRUCT_TRAITS_END()
34 34
35 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoEncodeAcceleratorSupportedProfile) 35 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoEncodeAcceleratorSupportedProfile)
36 IPC_STRUCT_TRAITS_MEMBER(profile) 36 IPC_STRUCT_TRAITS_MEMBER(profile)
37 IPC_STRUCT_TRAITS_MEMBER(max_resolution) 37 IPC_STRUCT_TRAITS_MEMBER(max_resolution)
38 IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator) 38 IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator)
39 IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator) 39 IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator)
40 IPC_STRUCT_TRAITS_END() 40 IPC_STRUCT_TRAITS_END()
41 41
42 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuPreference, gfx::GpuPreferenceLast) 42 IPC_ENUM_TRAITS_MAX_VALUE(gl::GpuPreference, gl::GpuPreferenceLast)
43 IPC_ENUM_TRAITS_MAX_VALUE(gpu::GpuStreamPriority, gpu::GpuStreamPriority::LAST) 43 IPC_ENUM_TRAITS_MAX_VALUE(gpu::GpuStreamPriority, gpu::GpuStreamPriority::LAST)
44 IPC_ENUM_TRAITS_MAX_VALUE(gpu::MemoryAllocation::PriorityCutoff, 44 IPC_ENUM_TRAITS_MAX_VALUE(gpu::MemoryAllocation::PriorityCutoff,
45 gpu::MemoryAllocation::CUTOFF_LAST) 45 gpu::MemoryAllocation::CUTOFF_LAST)
46 IPC_ENUM_TRAITS_MAX_VALUE(gpu::error::ContextLostReason, 46 IPC_ENUM_TRAITS_MAX_VALUE(gpu::error::ContextLostReason,
47 gpu::error::kContextLostReasonLast) 47 gpu::error::kContextLostReasonLast)
48 IPC_ENUM_TRAITS_MIN_MAX_VALUE(gpu::CollectInfoResult, 48 IPC_ENUM_TRAITS_MIN_MAX_VALUE(gpu::CollectInfoResult,
49 gpu::kCollectInfoNone, 49 gpu::kCollectInfoNone,
50 gpu::kCollectInfoFatalFailure) 50 gpu::kCollectInfoFatalFailure)
51 IPC_ENUM_TRAITS_MIN_MAX_VALUE(gpu::VideoCodecProfile, 51 IPC_ENUM_TRAITS_MIN_MAX_VALUE(gpu::VideoCodecProfile,
52 gpu::VIDEO_CODEC_PROFILE_MIN, 52 gpu::VIDEO_CODEC_PROFILE_MIN,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 IPC_STRUCT_TRAITS_MEMBER(sample_buffers) 124 IPC_STRUCT_TRAITS_MEMBER(sample_buffers)
125 IPC_STRUCT_TRAITS_MEMBER(buffer_preserved) 125 IPC_STRUCT_TRAITS_MEMBER(buffer_preserved)
126 IPC_STRUCT_TRAITS_MEMBER(bind_generates_resource) 126 IPC_STRUCT_TRAITS_MEMBER(bind_generates_resource)
127 IPC_STRUCT_TRAITS_MEMBER(fail_if_major_perf_caveat) 127 IPC_STRUCT_TRAITS_MEMBER(fail_if_major_perf_caveat)
128 IPC_STRUCT_TRAITS_MEMBER(lose_context_when_out_of_memory) 128 IPC_STRUCT_TRAITS_MEMBER(lose_context_when_out_of_memory)
129 IPC_STRUCT_TRAITS_MEMBER(context_type) 129 IPC_STRUCT_TRAITS_MEMBER(context_type)
130 IPC_STRUCT_TRAITS_END() 130 IPC_STRUCT_TRAITS_END()
131 131
132 132
133 #endif // GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ 133 #endif // GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « gpu/ipc/common/gpu_messages.h ('k') | gpu/ipc/common/gpu_surface_lookup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698