summaryrefslogtreecommitdiffstats
path: root/content/gpu/gpu_info_collector_android.cc
blob: f6c7f65eb74e22ee9d654ef7cec5bff8d73dd52a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/gpu/gpu_info_collector.h"

#include "base/logging.h"

namespace gpu_info_collector {

bool CollectGraphicsInfo(content::GPUInfo* gpu_info) {
  // can_lose_context must be false to enable accelerated Canvas2D
  gpu_info->can_lose_context = false;
  gpu_info->finalized = true;
  return CollectGraphicsInfoGL(gpu_info);
}

bool CollectPreliminaryGraphicsInfo(content::GPUInfo* gpu_info) {
  return true;
}

bool CollectVideoCardInfo(content::GPUInfo* gpu_info) {
  return true;
}

bool CollectDriverInfoGL(content::GPUInfo* gpu_info) {
  return true;
}

}  // namespace gpu_info_collector