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

Side by Side Diff: ui/gl/angle_platform_impl.h

Issue 1141263004: Add ANGLE platform methods for boolean histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Alexei's comments Created 5 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 | « tools/metrics/histograms/histograms.xml ('k') | ui/gl/angle_platform_impl.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef UI_GL_ANGLE_PLATFORM_IMPL_H_ 5 #ifndef UI_GL_ANGLE_PLATFORM_IMPL_H_
6 #define UI_GL_ANGLE_PLATFORM_IMPL_H_ 6 #define UI_GL_ANGLE_PLATFORM_IMPL_H_
7 7
8 // Implements the ANGLE platform interface, for functionality like 8 // Implements the ANGLE platform interface, for functionality like
9 // histograms and trace profiling. 9 // histograms and trace profiling.
10 10
(...skipping 28 matching lines...) Expand all
39 TraceEventHandle handle) override; 39 TraceEventHandle handle) override;
40 void histogramCustomCounts(const char* name, 40 void histogramCustomCounts(const char* name,
41 int sample, 41 int sample,
42 int min, 42 int min,
43 int max, 43 int max,
44 int bucket_count) override; 44 int bucket_count) override;
45 void histogramEnumeration(const char* name, 45 void histogramEnumeration(const char* name,
46 int sample, 46 int sample,
47 int boundary_value) override; 47 int boundary_value) override;
48 void histogramSparse(const char* name, int sample) override; 48 void histogramSparse(const char* name, int sample) override;
49 void histogramBoolean(const char* name, bool sample) override;
49 50
50 private: 51 private:
51 DISALLOW_COPY_AND_ASSIGN(ANGLEPlatformImpl); 52 DISALLOW_COPY_AND_ASSIGN(ANGLEPlatformImpl);
52 }; 53 };
53 54
54 } // namespace gfx 55 } // namespace gfx
55 56
56 #endif // UI_GL_ANGLE_PLATFORM_IMPL_H_ 57 #endif // UI_GL_ANGLE_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/gl/angle_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698