OmniSciDB  5ade3759e0
RenderInfo.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2017 MapD Technologies, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #include "../RenderInfo.h"
19 
21  const std::shared_ptr<const ::QueryRenderer::RenderSession> in_render_session,
22  RenderQueryOptions in_render_query_opts,
23  const bool force_non_in_situ_data)
24  : render_session(in_render_session)
25  , render_query_opts_(std::move(in_render_query_opts)) {
26  CHECK(false);
27 }
28 
30  CHECK(false);
31  static const Catalog_Namespace::SessionInfo tmp(
33  return tmp;
34 }
35 
37  CHECK(false);
38 }
39 
41  CHECK(false);
42  return false;
43 }
44 
46  CHECK(false);
47  return false;
48 }
49 
51  CHECK(false);
52  return false;
53 }
54 
56  CHECK(false);
57  return false;
58 }
59 
61  CHECK(false);
62  return false;
63 }
64 
66  CHECK(false);
67 }
68 
69 std::shared_ptr<QueryRenderer::QueryDataLayout> RenderInfo::getQueryVboLayout() const {
70  CHECK(false);
71  return nullptr;
72 }
73 
75  const std::shared_ptr<QueryRenderer::QueryDataLayout>& vbo_layout) {
76  CHECK(false);
77 }
78 
79 std::shared_ptr<QueryRenderer::QueryDataLayout> RenderInfo::getQuerySsboLayout() const {
80  CHECK(false);
81  return nullptr;
82 }
83 
85  const std::shared_ptr<QueryRenderer::QueryDataLayout>& ssbo_layout) {
86  CHECK(false);
87 }
88 
89 bool RenderInfo::setInSituDataIfUnset(const bool is_in_situ_data) {
90  CHECK(false);
91  return false;
92 }
93 
95  CHECK(false);
96  return nullptr;
97 }
98 
100  CHECK(false);
101  return render_query_opts_;
102 }
103 
105  const bool disallow_in_situ_only_if_final_ED_is_aggregate_in) {
106  CHECK(false);
107 }
void disableCudaBuffers()
Definition: RenderInfo.cpp:65
const RenderQueryOptions * getRenderQueryOptsPtr() const
Definition: RenderInfo.cpp:94
void setForceNonInSituData()
Definition: RenderInfo.cpp:36
bool setInSituDataIfUnset(const bool is_in_situ_data)
Definition: RenderInfo.cpp:89
bool useCudaBuffers() const
Definition: RenderInfo.cpp:60
bool isPotentialInSituRender() const
Definition: RenderInfo.cpp:55
const RenderQueryOptions & getRenderQueryOpts() const
Definition: RenderInfo.cpp:99
std::shared_ptr< QueryRenderer::QueryDataLayout > getQueryVboLayout() const
Definition: RenderInfo.cpp:69
std::shared_ptr< QueryRenderer::QueryDataLayout > getQuerySsboLayout() const
Definition: RenderInfo.cpp:79
RenderQueryOptions render_query_opts_
Definition: RenderInfo.h:92
const Catalog_Namespace::SessionInfo & getSessionInfo() const
Definition: RenderInfo.cpp:29
RenderInfo(const std::shared_ptr< const ::QueryRenderer::RenderSession > in_render_session, RenderQueryOptions in_render_query_opts, const bool force_non_in_situ_data=false)
Definition: RenderInfo.cpp:20
bool queryRanWithInSituData() const
Definition: RenderInfo.cpp:40
void setQuerySsboLayout(const std::shared_ptr< QueryRenderer::QueryDataLayout > &ssbo_layout)
Definition: RenderInfo.cpp:84
void reset(RenderQueryOptions in_query_opts, const bool disallow_in_situ_only_if_final_ED_is_aggregate_in)
Definition: RenderInfo.cpp:104
#define CHECK(condition)
Definition: Logger.h:187
void setQueryVboLayout(const std::shared_ptr< QueryRenderer::QueryDataLayout > &vbo_layout)
Definition: RenderInfo.cpp:74
bool hasInSituData() const
Definition: RenderInfo.cpp:45
bool isInSituDataFlagUnset() const
Definition: RenderInfo.cpp:50