chromium/ui/gfx/x/visual_manager.cc

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

#include "ui/gfx/x/visual_manager.h"

#include <bitset>

#include "base/strings/string_number_conversions.h"
#include "ui/gfx/x/atom_cache.h"
#include "ui/gfx/x/event.h"
#include "ui/gfx/x/visual_picker_glx.h"
#include "ui/gfx/x/xfixes.h"

namespace x11 {

VisualManager::VisualManager(Connection* connection) :{}

VisualManager::~VisualManager() {}

void VisualManager::ChooseVisualForWindow(bool want_argb_visual,
                                          VisualId* visual_id,
                                          uint8_t* depth,
                                          ColorMap* colormap,
                                          bool* visual_has_alpha) {}

bool VisualManager::GetVisualInfo(VisualId visual_id,
                                  uint8_t* depth,
                                  ColorMap* colormap,
                                  bool* visual_has_alpha) {}

bool VisualManager::ArgbVisualAvailable() const {}

VisualManager::XVisualData::XVisualData(Connection* connection,
                                        uint8_t depth,
                                        const VisualType* info)
    :{}

// Do not free the colormap as this would uninstall the colormap even for
// non-Chromium clients.
VisualManager::XVisualData::~XVisualData() = default;

ColorMap VisualManager::XVisualData::GetColormap(Connection* connection) {}

void VisualManager::OnEvent(const x11::Event& event) {}

}  // namespace x11