chromium/remoting/client/display/gl_cursor_feedback_texture.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.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

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

#include <cmath>

#include "base/notreached.h"
#include "remoting/client/display/gl_render_layer.h"

namespace remoting {

namespace {

const int kColorRingsCount =;
const int kFeedbackTexturePixelDiameter =;
const int kFeedbackTexturePixelRadius =;

// RGBA8888 colors. From inside to outside.
const uint8_t kFeedbackRingColors[kColorRingsCount]
                                 [GlRenderLayer::kBytesPerPixel] =;

const float kFeedbackRadiusStops[kColorRingsCount] =;

uint32_t GetColorByRadius(float radius) {}

void FillFeedbackTexture(uint32_t* texture) {}

}  // namespace

// static
const int GlCursorFeedbackTexture::kTextureWidth =;

GlCursorFeedbackTexture* GlCursorFeedbackTexture::GetInstance() {}

const std::vector<uint8_t>& GlCursorFeedbackTexture::GetTexture() const {}

GlCursorFeedbackTexture::GlCursorFeedbackTexture() {}

GlCursorFeedbackTexture::~GlCursorFeedbackTexture() = default;

}  // namespace remoting