1//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
2//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
3#pragma once
4
5#include "BsGLPrerequisites.h"
6#include "Managers/BsQueryManager.h"
7
8namespace bs { namespace ct
9{
10 /** @addtogroup GL
11 * @{
12 */
13
14 /** Handles creation and life of OpenGL queries. */
15 class GLQueryManager : public QueryManager
16 {
17 public:
18 /** @copydoc QueryManager::createEventQuery */
19 SPtr<EventQuery> createEventQuery(UINT32 deviceIdx = 0) const override;
20
21 /** @copydoc QueryManager::createTimerQuery */
22 SPtr<TimerQuery> createTimerQuery(UINT32 deviceIdx = 0) const override;
23
24 /** @copydoc QueryManager::createOcclusionQuery */
25 SPtr<OcclusionQuery> createOcclusionQuery(bool binary, UINT32 deviceIdx = 0) const override;
26 };
27
28 /** @} */
29}}