mirror of
https://github.com/libretro/parallel-gx1.git
synced 2026-11-11 11:21:29 -10:00
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.
20 lines
512 B
C++
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
|