blob: 1e7b09442b9d6b81b13a13afc9b08e680cb54e7d [file] [log] [blame]
// 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 "gpu/config/gpu_info_collector.h"
#include <stddef.h>
#include "base/android/build_info.h"
#include "base/android/jni_android.h"
#include "base/logging.h"
namespace gpu {
bool CollectContextGraphicsInfo(GPUInfo* gpu_info,
const GpuPreferences& gpu_preferences) {
// When command buffer is compiled as a standalone library, the process might
// not have a Java environment.
if (base::android::IsVMInitialized()) {
gpu_info->machine_model_name =
// At this point GL bindings have been initialized already.
return CollectGraphicsInfoGL(gpu_info, gpu_preferences);
bool CollectBasicGraphicsInfo(GPUInfo* gpu_info) {
return false;
} // namespace gpu