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

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

Issue 1013463003: Update from https://crrev.com/320931 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « ui/gl/DEPS ('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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_GL_ANGLE_PLATFORM_IMPL_H_
6 #define UI_GL_ANGLE_PLATFORM_IMPL_H_
7
8 // Implements the ANGLE platform interface, for functionality like
9 // histograms and trace profiling.
10
11 #include "base/macros.h"
12 #include "third_party/angle/include/platform/Platform.h"
13
14 namespace gfx {
15
16 // Derives the base ANGLE platform and provides implementations
17 class ANGLEPlatformImpl : public angle::Platform {
18 public:
19 ANGLEPlatformImpl();
20 ~ANGLEPlatformImpl() override;
21
22 // angle::Platform:
23 void histogramCustomCounts(const char* name,
24 int sample,
25 int min,
26 int max,
27 int bucket_count) override;
28 void histogramEnumeration(const char* name,
29 int sample,
30 int boundary_value) override;
31 void histogramSparse(const char* name, int sample) override;
32
33 private:
34 DISALLOW_COPY_AND_ASSIGN(ANGLEPlatformImpl);
35 };
36
37 } // namespace gfx
38
39 #endif // UI_GL_ANGLE_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « ui/gl/DEPS ('k') | ui/gl/angle_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698