Upstream version 6.35.121.0
[platform/framework/web/crosswalk.git] / src / gpu / config / gpu_driver_bug_list.h
1 // Copyright (c) 2013 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 GPU_CONFIG_GPU_DRIVER_BUG_LIST_H_
6 #define GPU_CONFIG_GPU_DRIVER_BUG_LIST_H_
7
8 #include <string>
9
10 #include "gpu/config/gpu_control_list.h"
11 #include "gpu/config/gpu_driver_bug_workaround_type.h"
12 #include "gpu/gpu_export.h"
13
14 namespace gpu {
15
16 class GPU_EXPORT GpuDriverBugList : public GpuControlList {
17  public:
18   virtual ~GpuDriverBugList();
19
20   static GpuDriverBugList* Create();
21
22  private:
23   GpuDriverBugList();
24
25   DISALLOW_COPY_AND_ASSIGN(GpuDriverBugList);
26 };
27
28 struct DriverBugInfo {
29   GpuDriverBugWorkaroundType feature_type;
30   const char* feature_name;
31 };
32
33 const struct DriverBugInfo* GetDriverBugWorkarounds();
34
35 }  // namespace gpu
36
37 #endif  // GPU_CONFIG_GPU_DRIVER_BUG_LIST_H_
38