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

Unified Diff: gpu/ipc/common/gpu_command_buffer_traits_multi.h

Issue 2129803002: Revert of pepper: parse context creation attrib list on the plugin side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu_pref_size_in_attrs
Patch Set: Created 4 years, 5 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 | « gpu/ipc/common/BUILD.gn ('k') | gpu/ipc/common/gpu_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/gpu_command_buffer_traits_multi.h
diff --git a/gpu/ipc/common/gpu_command_buffer_traits_multi.h b/gpu/ipc/common/gpu_command_buffer_traits_multi.h
index ad0e4b52dcb00870875d46df0ddd56c42e4c9a07..78cd98e6b65887734e77003a0a8ec560a1489b65 100644
--- a/gpu/ipc/common/gpu_command_buffer_traits_multi.h
+++ b/gpu/ipc/common/gpu_command_buffer_traits_multi.h
@@ -6,12 +6,9 @@
#include "gpu/command_buffer/common/capabilities.h"
#include "gpu/command_buffer/common/constants.h"
-#include "gpu/command_buffer/common/gles2_cmd_utils.h"
#include "gpu/gpu_export.h"
#include "ipc/ipc_message_utils.h"
#include "ipc/param_traits_macros.h"
-#include "ui/gfx/ipc/geometry/gfx_param_traits.h"
-#include "ui/gl/gpu_preference.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT GPU_EXPORT
@@ -21,9 +18,6 @@
gpu::CommandBufferNamespace,
gpu::CommandBufferNamespace::INVALID,
gpu::CommandBufferNamespace::NUM_COMMAND_BUFFER_NAMESPACES - 1)
-IPC_ENUM_TRAITS_MAX_VALUE(gl::GpuPreference, gl::GpuPreferenceLast)
-IPC_ENUM_TRAITS_MAX_VALUE(gpu::gles2::ContextType,
- gpu::gles2::CONTEXT_TYPE_LAST)
IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities::ShaderPrecision)
IPC_STRUCT_TRAITS_MEMBER(min_range)
@@ -126,21 +120,3 @@
IPC_STRUCT_TRAITS_MEMBER(major_version)
IPC_STRUCT_TRAITS_MEMBER(minor_version)
IPC_STRUCT_TRAITS_END()
-
-IPC_STRUCT_TRAITS_BEGIN(gpu::gles2::ContextCreationAttribHelper)
- IPC_STRUCT_TRAITS_MEMBER(offscreen_framebuffer_size)
- IPC_STRUCT_TRAITS_MEMBER(gpu_preference)
- IPC_STRUCT_TRAITS_MEMBER(alpha_size)
- IPC_STRUCT_TRAITS_MEMBER(blue_size)
- IPC_STRUCT_TRAITS_MEMBER(green_size)
- IPC_STRUCT_TRAITS_MEMBER(red_size)
- IPC_STRUCT_TRAITS_MEMBER(depth_size)
- IPC_STRUCT_TRAITS_MEMBER(stencil_size)
- IPC_STRUCT_TRAITS_MEMBER(samples)
- IPC_STRUCT_TRAITS_MEMBER(sample_buffers)
- IPC_STRUCT_TRAITS_MEMBER(buffer_preserved)
- IPC_STRUCT_TRAITS_MEMBER(bind_generates_resource)
- IPC_STRUCT_TRAITS_MEMBER(fail_if_major_perf_caveat)
- IPC_STRUCT_TRAITS_MEMBER(lose_context_when_out_of_memory)
- IPC_STRUCT_TRAITS_MEMBER(context_type)
-IPC_STRUCT_TRAITS_END()
« no previous file with comments | « gpu/ipc/common/BUILD.gn ('k') | gpu/ipc/common/gpu_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698