summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorjbroman <jbroman@chromium.org>2015-12-29 21:07:27 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-30 05:08:44 +0000
commite8aebac77edec125d9521285f4c1aa36040a560e (patch)
tree263125f0687d2ccc641e6c97c7b403abceccec6b /gpu
parent941e749e13f29afca7464a839f1e3d64af12a634 (diff)
downloadchromium_src-e8aebac77edec125d9521285f4c1aa36040a560e.zip
chromium_src-e8aebac77edec125d9521285f4c1aa36040a560e.tar.gz
chromium_src-e8aebac77edec125d9521285f4c1aa36040a560e.tar.bz2
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}
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder.cc1
-rw-r--r--gpu/command_buffer/service/gles2_cmd_validation.cc1
-rw-r--r--gpu/command_buffer/service/gles2_cmd_validation.h1
-rw-r--r--gpu/command_buffer/service/vertex_attrib_manager.cc1
4 files changed, 0 insertions, 4 deletions
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 <algorithm>
#include <vector>
-#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"