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

Unified Diff: content/common/gpu_host_messages.h

Issue 2758163004: gpu: Remove some ipc code no longer used. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « content/common/establish_channel_params.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu_host_messages.h
diff --git a/content/common/gpu_host_messages.h b/content/common/gpu_host_messages.h
index b7855a865160c038b6b10a0608a1b114b4fde973..f5b31d0558585a9cb095618e8c1c65a2bfea3ddb 100644
--- a/content/common/gpu_host_messages.h
+++ b/content/common/gpu_host_messages.h
@@ -7,35 +7,21 @@
#include "build/build_config.h"
#include "content/common/content_export.h"
-#include "content/common/establish_channel_params.h"
#include "gpu/command_buffer/common/sync_token.h"
-#include "gpu/command_buffer/service/gpu_preferences.h"
#include "gpu/config/gpu_feature_info.h"
#include "gpu/config/gpu_info.h"
-#include "gpu/ipc/common/gpu_command_buffer_traits.h"
-#include "gpu/ipc/common/gpu_param_traits.h"
-#include "gpu/ipc/common/memory_stats.h"
#include "gpu/ipc/common/surface_handle.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_message_start.h"
-#include "media/media_features.h"
-#include "ui/events/ipc/latency_info_param_traits.h"
#include "ui/gfx/gpu_memory_buffer.h"
#include "ui/gfx/ipc/gfx_param_traits.h"
-#include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
-#include "url/gurl.h"
-#include "url/ipc/url_param_traits.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START GpuMsgStart
-IPC_ENUM_TRAITS_VALIDATE(gpu::GpuPreferences::VpxDecodeVendors,
- ((value >= gpu::GpuPreferences::VPX_VENDOR_NONE) &&
- (value <= gpu::GpuPreferences::VPX_VENDOR_ALL)))
-
IPC_STRUCT_BEGIN(GpuMsg_CreateGpuMemoryBuffer_Params)
IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferId, id)
IPC_STRUCT_MEMBER(gfx::Size, size)
@@ -45,46 +31,6 @@ IPC_STRUCT_BEGIN(GpuMsg_CreateGpuMemoryBuffer_Params)
IPC_STRUCT_MEMBER(gpu::SurfaceHandle, surface_handle)
IPC_STRUCT_END()
-IPC_STRUCT_TRAITS_BEGIN(gpu::GpuPreferences)
- IPC_STRUCT_TRAITS_MEMBER(single_process)
- IPC_STRUCT_TRAITS_MEMBER(in_process_gpu)
- IPC_STRUCT_TRAITS_MEMBER(ui_prioritize_in_gpu_process)
- IPC_STRUCT_TRAITS_MEMBER(disable_accelerated_video_decode)
-#if defined(OS_CHROMEOS)
- IPC_STRUCT_TRAITS_MEMBER(disable_vaapi_accelerated_video_encode)
-#endif
-#if BUILDFLAG(ENABLE_WEBRTC)
- IPC_STRUCT_TRAITS_MEMBER(disable_web_rtc_hw_encoding)
-#endif
-#if defined(OS_WIN)
- IPC_STRUCT_TRAITS_MEMBER(enable_accelerated_vpx_decode)
- IPC_STRUCT_TRAITS_MEMBER(enable_low_latency_dxva)
- IPC_STRUCT_TRAITS_MEMBER(enable_zero_copy_dxgi_video)
- IPC_STRUCT_TRAITS_MEMBER(enable_nv12_dxgi_video)
-#endif
- IPC_STRUCT_TRAITS_MEMBER(compile_shader_always_succeeds)
- IPC_STRUCT_TRAITS_MEMBER(disable_gl_error_limit)
- IPC_STRUCT_TRAITS_MEMBER(disable_glsl_translator)
- IPC_STRUCT_TRAITS_MEMBER(disable_gpu_driver_bug_workarounds)
- IPC_STRUCT_TRAITS_MEMBER(disable_shader_name_hashing)
- IPC_STRUCT_TRAITS_MEMBER(enable_gpu_command_logging)
- IPC_STRUCT_TRAITS_MEMBER(enable_gpu_debugging)
- IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_logging_gpu)
- IPC_STRUCT_TRAITS_MEMBER(enable_gpu_driver_debug_logging)
- IPC_STRUCT_TRAITS_MEMBER(disable_gpu_program_cache)
- IPC_STRUCT_TRAITS_MEMBER(enforce_gl_minimums)
- IPC_STRUCT_TRAITS_MEMBER(force_gpu_mem_available)
- IPC_STRUCT_TRAITS_MEMBER(gpu_program_cache_size)
- IPC_STRUCT_TRAITS_MEMBER(disable_gpu_shader_disk_cache)
- IPC_STRUCT_TRAITS_MEMBER(enable_threaded_texture_mailboxes)
- IPC_STRUCT_TRAITS_MEMBER(gl_shader_interm_output)
- IPC_STRUCT_TRAITS_MEMBER(emulate_shader_precision)
- IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_logging)
- IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_tracing)
- IPC_STRUCT_TRAITS_MEMBER(enable_es3_apis)
- IPC_STRUCT_TRAITS_MEMBER(use_passthrough_cmd_decoder)
-IPC_STRUCT_TRAITS_END()
-
//------------------------------------------------------------------------------
// GPU Messages
// These are messages from the browser to the GPU process.
« no previous file with comments | « content/common/establish_channel_params.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698