chromium/remoting/client/display/gl_cursor_feedback.cc

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

#include "remoting/client/display/gl_cursor_feedback.h"

#include <math.h>

#include <array>
#include <memory>

#include "base/check.h"
#include "remoting/client/display/canvas.h"
#include "remoting/client/display/gl_cursor_feedback_texture.h"
#include "remoting/client/display/gl_math.h"
#include "remoting/client/display/gl_render_layer.h"
#include "remoting/client/display/gl_texture_ids.h"

namespace {

const float kAnimationDurationMs =;

// This function is for calculating the size of the feedback animation circle at
// the moment when the animation progress is |progress|.
// |progress|: [0, 1], indicating the progress of the animation.
// Returns a coefficient in [0, 1]. It will be multiplied with the maximum
// diameter of the feedback circle to get the current diameter of the feedback
// circle.
float GetExpansionCoefficient(float progress) {}

}  // namespace

namespace remoting {

GlCursorFeedback::GlCursorFeedback() {}

GlCursorFeedback::~GlCursorFeedback() {}

void GlCursorFeedback::SetCanvas(base::WeakPtr<Canvas> canvas) {}

void GlCursorFeedback::StartAnimation(float x, float y, float diameter) {}

bool GlCursorFeedback::Draw() {}

int GlCursorFeedback::GetZIndex() {}

base::WeakPtr<Drawable> GlCursorFeedback::GetWeakPtr() {}

}  // namespace remoting