Add more perfetto tracepoints

This commit is contained in:
Billy Laws
2023-02-04 21:00:10 +00:00
parent c15b89975b
commit 4a3a40aa40
9 changed files with 20 additions and 0 deletions

View File

@ -1,12 +1,15 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright © 2021 Skyline Team and Contributors (https://github.com/skyline-emu/)
#include <common/trace.h>
#include "texture_manager.h"
namespace skyline::gpu {
TextureManager::TextureManager(GPU &gpu) : gpu(gpu) {}
std::shared_ptr<TextureView> TextureManager::FindOrCreate(const GuestTexture &guestTexture, ContextTag tag) {
TRACE_EVENT("gpu", "TextureManager::FindOrCreate");
auto guestMapping{guestTexture.mappings.front()};
/*