chromium/third_party/blink/renderer/modules/xr/xr_depth_information.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/xr/xr_depth_information.h"

#include <cstdlib>

#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/modules/xr/xr_frame.h"
#include "third_party/blink/renderer/modules/xr/xr_rigid_transform.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "ui/gfx/geometry/transform.h"

namespace {

constexpr char kFrameInactive[] =;
constexpr char kFrameNotAnimated[] =;
}

namespace blink {

XRDepthInformation::XRDepthInformation(
    const XRFrame* xr_frame,
    const gfx::Size& size,
    const gfx::Transform& norm_depth_buffer_from_norm_view,
    float raw_value_to_meters)
    :{}

uint32_t XRDepthInformation::width() const {}

uint32_t XRDepthInformation::height() const {}

float XRDepthInformation::rawValueToMeters() const {}

XRRigidTransform* XRDepthInformation::normDepthBufferFromNormView() const {}

bool XRDepthInformation::ValidateFrame(ExceptionState& exception_state) const {}

void XRDepthInformation::Trace(Visitor* visitor) const {}

}  // namespace blink