blob: 01fd0c45aa8e34f5ce74b57748e4c42d3c7e504f [file] [log] [blame]
Jamie Madill9e54b5a2016-05-25 12:57:39 -04001//
2// Copyright 2016 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6// QueryVk.cpp:
7// Implements the class methods for QueryVk.
8//
9
10#include "libANGLE/renderer/vulkan/QueryVk.h"
11
12#include "common/debug.h"
13
14namespace rx
15{
16
17QueryVk::QueryVk(GLenum type) : QueryImpl(type)
18{
19}
20
21QueryVk::~QueryVk()
22{
23}
24
25gl::Error QueryVk::begin()
26{
27 UNIMPLEMENTED();
28 return gl::Error(GL_INVALID_OPERATION);
29}
30
31gl::Error QueryVk::end()
32{
33 UNIMPLEMENTED();
34 return gl::Error(GL_INVALID_OPERATION);
35}
36
37gl::Error QueryVk::queryCounter()
38{
39 UNIMPLEMENTED();
40 return gl::Error(GL_INVALID_OPERATION);
41}
42
43gl::Error QueryVk::getResult(GLint *params)
44{
45 UNIMPLEMENTED();
46 return gl::Error(GL_INVALID_OPERATION);
47}
48
49gl::Error QueryVk::getResult(GLuint *params)
50{
51 UNIMPLEMENTED();
52 return gl::Error(GL_INVALID_OPERATION);
53}
54
55gl::Error QueryVk::getResult(GLint64 *params)
56{
57 UNIMPLEMENTED();
58 return gl::Error(GL_INVALID_OPERATION);
59}
60
61gl::Error QueryVk::getResult(GLuint64 *params)
62{
63 UNIMPLEMENTED();
64 return gl::Error(GL_INVALID_OPERATION);
65}
66
67gl::Error QueryVk::isResultAvailable(bool *available)
68{
69 UNIMPLEMENTED();
70 return gl::Error(GL_INVALID_OPERATION);
71}
72
73} // namespace rx