blob: 20192dd6c3473b6800942ca2dbdcbb714e2352ea [file] [log] [blame]
// Copyright 2017 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.
#ifndef CHROME_BROWSER_ANDROID_VR_METRICS_UTIL_ANDROID_H_
#define CHROME_BROWSER_ANDROID_VR_METRICS_UTIL_ANDROID_H_
#include "third_party/gvr-android-sdk/src/libraries/headers/vr/gvr/capi/include/gvr_types.h"
namespace vr {
// A utility class containing static functions for metrics logging.
class MetricsUtilAndroid {
public:
// TODO(klausw): Move this to gvr_scheduler_delegate.
enum class XRRenderPath : int {
kClientWait = 0,
kGpuFence = 1,
kSharedBuffer = 2,
// This must be last.
kCount
};
static void LogVrViewerType(gvr::ViewerType viewer_type);
};
} // namespace vr
#endif // CHROME_BROWSER_ANDROID_VR_METRICS_UTIL_ANDROID_H_