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.
5 #ifndef UI_GL_ANGLE_PLATFORM_IMPL_H_
6 #define UI_GL_ANGLE_PLATFORM_IMPL_H_
8 // Implements the ANGLE platform interface, for functionality like
9 // histograms and trace profiling.
11 #include "base/macros.h"
12 #include "third_party/angle/include/platform/Platform.h"
16 // Derives the base ANGLE platform and provides implementations
17 class ANGLEPlatformImpl
: public angle::Platform
{
20 ~ANGLEPlatformImpl() override
;
23 void histogramCustomCounts(const char* name
,
27 int bucket_count
) override
;
28 void histogramEnumeration(const char* name
,
30 int boundary_value
) override
;
31 void histogramSparse(const char* name
, int sample
) override
;
34 DISALLOW_COPY_AND_ASSIGN(ANGLEPlatformImpl
);
39 #endif // UI_GL_ANGLE_PLATFORM_IMPL_H_