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

Side by Side Diff: gpu/command_buffer/service/gl_utils.cc

Issue 2830093003: Replace uses of hash_map in //base (Closed)
Patch Set: iOS Created 3 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 | « device/bluetooth/bluetooth_remote_gatt_service_win.h ('k') | gpu/ipc/host/shader_disk_cache.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 (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #include "gpu/command_buffer/service/gl_utils.h" 5 #include "gpu/command_buffer/service/gl_utils.h"
6 6
7 #include <unordered_set>
8
7 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
8 #include "gpu/command_buffer/common/capabilities.h" 10 #include "gpu/command_buffer/common/capabilities.h"
9 #include "gpu/command_buffer/service/feature_info.h" 11 #include "gpu/command_buffer/service/feature_info.h"
10 #include "ui/gl/gl_version_info.h" 12 #include "ui/gl/gl_version_info.h"
11 13
12 namespace gpu { 14 namespace gpu {
13 namespace gles2 { 15 namespace gles2 {
14 16
15 namespace { 17 namespace {
16 const char* GetDebugSourceString(GLenum source) { 18 const char* GetDebugSourceString(GLenum source) {
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 glDebugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_LOW, 0, 288 glDebugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_LOW, 0,
287 nullptr, GL_FALSE); 289 nullptr, GL_FALSE);
288 glDebugMessageControl(GL_DONT_CARE, GL_DONT_CARE, 290 glDebugMessageControl(GL_DONT_CARE, GL_DONT_CARE,
289 GL_DEBUG_SEVERITY_NOTIFICATION, 0, nullptr, GL_FALSE); 291 GL_DEBUG_SEVERITY_NOTIFICATION, 0, nullptr, GL_FALSE);
290 292
291 glDebugMessageCallback(&LogGLDebugMessage, nullptr); 293 glDebugMessageCallback(&LogGLDebugMessage, nullptr);
292 } 294 }
293 295
294 } // namespace gles2 296 } // namespace gles2
295 } // namespace gpu 297 } // namespace gpu
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_service_win.h ('k') | gpu/ipc/host/shader_disk_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698