Files
LibretroAdmin 037f0ca008 VideoCommon: bounding box and queries call their backend without virtual methods
Each backend's are final and called by the backend in use; the Null
backend uses the base classes, which count nothing. Bounding box values
are read into and written from the caller's arrays, and GL's queries
are one class for each kind of query object.
2026-11-07 20:57:55 +01:00

20 lines
512 B
C++

// Copyright 2009 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "VideoBackends/Software/SWEfbInterface.h"
#include "VideoCommon/PerfQueryBase.h"
namespace SW
{
/* The rasterizer counts as it draws: nothing to start, stop or wait for. */
class PerfQuery final : public PerfQueryBase
{
public:
void ResetQuery() { EfbInterface::ResetPerfQuery(); }
u32 GetQueryResult(PerfQueryType type) { return EfbInterface::GetPerfQueryResult(type); }
};
} // namespace SW