From e8aebac77edec125d9521285f4c1aa36040a560e Mon Sep 17 00:00:00 2001 From: jbroman Date: Tue, 29 Dec 2015 21:07:27 -0800 Subject: Remove GLES2_GPU_SERVICE macro. It is defined, but does not seem to be used since it was removed in https://chromium.googlesource.com/chromium/src/+/b9363b27 It was previously used in gles2_cmd_format.h to choose which GL headers to include. Review URL: https://codereview.chromium.org/1555543003 Cr-Commit-Position: refs/heads/master@{#367141} --- gpu/command_buffer/service/gles2_cmd_decoder.cc | 1 - gpu/command_buffer/service/gles2_cmd_validation.cc | 1 - gpu/command_buffer/service/gles2_cmd_validation.h | 1 - gpu/command_buffer/service/vertex_attrib_manager.cc | 1 - 4 files changed, 4 deletions(-) (limited to 'gpu') diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc index a13cc92..4bf77ab 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc @@ -27,7 +27,6 @@ #include "base/trace_event/trace_event.h" #include "base/trace_event/trace_event_synthetic_delay.h" #include "build/build_config.h" -#define GLES2_GPU_SERVICE 1 #include "gpu/command_buffer/common/debug_marker_manager.h" #include "gpu/command_buffer/common/gles2_cmd_format.h" #include "gpu/command_buffer/common/gles2_cmd_utils.h" diff --git a/gpu/command_buffer/service/gles2_cmd_validation.cc b/gpu/command_buffer/service/gles2_cmd_validation.cc index 3631613..f092a63 100644 --- a/gpu/command_buffer/service/gles2_cmd_validation.cc +++ b/gpu/command_buffer/service/gles2_cmd_validation.cc @@ -4,7 +4,6 @@ // Contains various validation functions for the GLES2 service. -#define GLES2_GPU_SERVICE 1 #include "gpu/command_buffer/service/gles2_cmd_validation.h" #include "gpu/command_buffer/service/gl_utils.h" diff --git a/gpu/command_buffer/service/gles2_cmd_validation.h b/gpu/command_buffer/service/gles2_cmd_validation.h index f4059ed..21a1866d 100644 --- a/gpu/command_buffer/service/gles2_cmd_validation.h +++ b/gpu/command_buffer/service/gles2_cmd_validation.h @@ -9,7 +9,6 @@ #include #include -#define GLES2_GPU_SERVICE 1 #include "gpu/command_buffer/common/gles2_cmd_format.h" namespace gpu { diff --git a/gpu/command_buffer/service/vertex_attrib_manager.cc b/gpu/command_buffer/service/vertex_attrib_manager.cc index a0fe10d..5d87aea 100644 --- a/gpu/command_buffer/service/vertex_attrib_manager.cc +++ b/gpu/command_buffer/service/vertex_attrib_manager.cc @@ -12,7 +12,6 @@ #include "base/memory/scoped_ptr.h" #include "base/strings/string_number_conversions.h" #include "build/build_config.h" -#define GLES2_GPU_SERVICE 1 #include "gpu/command_buffer/common/gles2_cmd_format.h" #include "gpu/command_buffer/common/gles2_cmd_utils.h" #include "gpu/command_buffer/service/buffer_manager.h" -- cgit v1.1