Home
last modified time | relevance | path

Searched refs:mQuery (Results 1 – 17 of 17) sorted by relevance

/external/swiftshader/src/OpenGL/libGLESv2/
DQuery.cpp27 mQuery = nullptr; in Query()
35 mQuery->release(); in ~Query()
40 if(!mQuery) in begin()
57 mQuery = new sw::Query(type); in begin()
59 if(!mQuery) in begin()
67 mQuery->begin(); in begin()
68 device->addQuery(mQuery); in begin()
85 if(!mQuery) in end()
92 mQuery->end(); in end()
93 device->removeQuery(mQuery); in end()
[all …]
DFence.cpp27 mQuery = false; in Fence()
34 mQuery = false; in ~Fence()
41 return mQuery; in isFence()
51 mQuery = true; in setFence()
58 if(!mQuery) in testFence()
73 if(!mQuery) in finishFence()
86 if(!mQuery) in getFenceiv()
DQuery.h44 sw::Query* mQuery; variable
DFence.h39 bool mQuery;
/external/angle/src/libANGLE/
DQuery.cpp17 : RefCountObject(factory->generateSerial(), id), mQuery(factory->createQuery(type)), mLabel() in Query()
22 SafeDelete(mQuery); in ~Query()
27 ASSERT(mQuery); in onDestroy()
28 mQuery->onDestroy(context); in onDestroy()
43 return mQuery->begin(context); in begin()
48 return mQuery->end(context); in end()
53 return mQuery->queryCounter(context); in queryCounter()
58 return mQuery->getResult(context, params); in getResult()
63 return mQuery->getResult(context, params); in getResult()
68 return mQuery->getResult(context, params); in getResult()
[all …]
DQuery.h54 rx::QueryImpl *mQuery;
/external/angle/src/tests/gl_tests/
DSyncQueriesTest.cpp30 if (mQuery != 0) in testTearDown()
32 glDeleteQueriesEXT(1, &mQuery); in testTearDown()
33 mQuery = 0; in testTearDown()
37 GLuint mQuery = 0; member in angle::SyncQueriesTest
45 glGenQueriesEXT(1, &mQuery); in TEST_P()
46 glBeginQueryEXT(GL_COMMANDS_COMPLETED_CHROMIUM, mQuery); in TEST_P()
56 glGetQueryObjectuivEXT(mQuery, GL_QUERY_RESULT_EXT, &result); in TEST_P()
69 glGenQueriesEXT(1, &mQuery); in TEST_P()
71 glBeginQueryEXT(GL_COMMANDS_COMPLETED_CHROMIUM, mQuery); in TEST_P()
81 glDeleteQueriesEXT(1, &mQuery); in TEST_P()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DFence9.cpp19 FenceNV9::FenceNV9(Renderer9 *renderer) : FenceNVImpl(), mRenderer(renderer), mQuery(nullptr) {} in FenceNV9()
23 SafeRelease(mQuery); in ~FenceNV9()
28 if (!mQuery) in set()
30 ANGLE_TRY(mRenderer->allocateEventQuery(context, &mQuery)); in set()
33 HRESULT result = mQuery->Issue(D3DISSUE_END); in set()
36 SafeRelease(mQuery); in set()
63 ASSERT(mQuery); in testHelper()
66 HRESULT result = mQuery->GetData(nullptr, 0, getDataFlags); in testHelper()
DQuery9.cpp26 mQuery(nullptr) in Query9()
31 SafeRelease(mQuery); in ~Query9()
39 if (mQuery == nullptr) in begin()
41 HRESULT result = mRenderer->getDevice()->CreateQuery(d3dQueryType, &mQuery); in begin()
47 HRESULT result = mQuery->Issue(D3DISSUE_BEGIN); in begin()
58 ASSERT(mQuery); in end()
60 HRESULT result = mQuery->Issue(D3DISSUE_END); in end()
123 ASSERT(mQuery); in testQuery()
132 result = mQuery->GetData(&numPixels, sizeof(numPixels), D3DGETDATA_FLUSH); in testQuery()
144 result = mQuery->GetData(&completed, sizeof(completed), D3DGETDATA_FLUSH); in testQuery()
DFence9.h35 IDirect3DQuery9 *mQuery; variable
DQuery9.h45 IDirect3DQuery9 *mQuery; variable
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DFence11.cpp27 if (!fence->mQuery) in FenceSetHelper()
34 HRESULT result = fence->mRenderer->getDevice()->CreateQuery(&queryDesc, &fence->mQuery); in FenceSetHelper()
38 fence->mRenderer->getDeviceContext()->End(fence->mQuery); in FenceSetHelper()
48 ASSERT(fence->mQuery); in FenceTestHelper()
54 fence->mRenderer->getDeviceContext()->GetData(fence->mQuery, nullptr, 0, getDataFlags); in FenceTestHelper()
66 FenceNV11::FenceNV11(Renderer11 *renderer) : FenceNVImpl(), mRenderer(renderer), mQuery(nullptr) {} in FenceNV11()
70 SafeRelease(mQuery); in ~FenceNV11()
121 Sync11::Sync11(Renderer11 *renderer) : SyncImpl(), mRenderer(renderer), mQuery(nullptr) in Sync11()
132 SafeRelease(mQuery); in ~Sync11()
DFence11.h41 ID3D11Query *mQuery; variable
70 ID3D11Query *mQuery; variable
/external/angle/src/libANGLE/renderer/gl/
DQueryGL.cpp284 SyncProviderGLQuery(const FunctionsGL *functions) : mFunctions(functions), mQuery(0) {} in SyncProviderGLQuery()
290 mFunctions->genQueries(1, &mQuery); in init()
292 mFunctions->beginQuery(ToGLenum(type), mQuery); in init()
297 ~SyncProviderGLQuery() override { mFunctions->deleteQueries(1, &mQuery); } in ~SyncProviderGLQuery()
304 mFunctions->getQueryObjectiv(mQuery, GL_QUERY_RESULT, &result); in flush()
310 mFunctions->getQueryObjectiv(mQuery, GL_QUERY_RESULT_AVAILABLE, &available); in flush()
319 GLuint mQuery; member in rx::SyncProviderGLQuery
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptManager.java84 private String mQuery = EMPTY; field in ScriptManager
139 updateAndFilterScriptList(mQuery); in onCreate()
168 synchronized (mQuery) { in updateAndFilterScriptList()
169 if (!mQuery.equals(query)) { in updateAndFilterScriptList()
171 mQuery = query; in updateAndFilterScriptList()
260 updateAndFilterScriptList(mQuery); in onResume()
332 synchronized (mQuery) { in onOptionsItemSelected()
333 mQuery = EMPTY; in onOptionsItemSelected()
351 updateAndFilterScriptList(mQuery); in onOptionsItemSelected()
558 updateAndFilterScriptList(mQuery); in onConfigurationChanged()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp2761 : mDynamicQueryPool(nullptr), mQueryPoolIndex(0), mQuery(0), mQueryCount(0) in QueryHelper()
2771 mQuery(rhs.mQuery), in QueryHelper()
2776 rhs.mQuery = 0; in QueryHelper()
2784 std::swap(mQuery, rhs.mQuery); in operator =()
2796 mQuery = query; in init()
2806 mQuery = 0; in deinit()
2817 resetCommandBuffer->resetQueryPool(queryPool, mQuery, mQueryCount); in beginQueryImpl()
2818 commandBuffer->beginQuery(queryPool, mQuery, 0); in beginQueryImpl()
2823 commandBuffer->endQuery(getQueryPool(), mQuery); in endQueryImpl()
2900 primary->resetQueryPool(queryPool, mQuery, mQueryCount); in writeTimestampToPrimary()
[all …]
Dvk_helpers.h525 uint32_t mQuery; variable