Home
last modified time | relevance | path

Searched refs:queryID (Results 1 – 5 of 5) sorted by relevance

/external/skia/tools/gpu/gl/
DGLTestContext.cpp95 GrGLuint queryID; in onQueueTimerStart() local
96 fGLGenQueries(1, &queryID); in onQueueTimerStart()
97 if (!queryID) { in onQueueTimerStart()
105 fGLBeginQuery(GL_TIME_ELAPSED, queryID); in onQueueTimerStart()
106 return static_cast<sk_gpu_test::PlatformTimerQuery>(queryID); in onQueueTimerStart()
118 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in checkQueryStatus() local
119 if (!queryID) { in checkQueryStatus()
123 fGLGetQueryObjectuiv(queryID, GL_QUERY_RESULT_AVAILABLE, &available); in checkQueryStatus()
139 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in getTimeElapsed() local
141 fGLGetQueryObjectui64v(queryID, GL_QUERY_RESULT, &nanoseconds); in getTimeElapsed()
[all …]
/external/skqp/tools/gpu/gl/
DGLTestContext.cpp220 GrGLuint queryID; in onQueueTimerStart() local
221 fGLGenQueries(1, &queryID); in onQueueTimerStart()
222 if (!queryID) { in onQueueTimerStart()
230 fGLBeginQuery(GL_TIME_ELAPSED, queryID); in onQueueTimerStart()
231 return static_cast<sk_gpu_test::PlatformTimerQuery>(queryID); in onQueueTimerStart()
243 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in checkQueryStatus() local
244 if (!queryID) { in checkQueryStatus()
248 fGLGetQueryObjectuiv(queryID, GL_QUERY_RESULT_AVAILABLE, &available); in checkQueryStatus()
264 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in getTimeElapsed() local
266 fGLGetQueryObjectui64v(queryID, GL_QUERY_RESULT, &nanoseconds); in getTimeElapsed()
[all …]
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_dx.h1778 uint32 queryID; member
1791 SVGA3dQueryId queryID[SVGA3D_MAX_QUERY]; member
/external/angle/src/libANGLE/renderer/vulkan/
DCommandGraph.cpp1234 auto queryID = std::make_pair(node->getQueryPool(), node->getQueryIndex()); in dumpGraphDotFile() local
1236 auto it = queryIDMap.find(queryID); in dumpGraphDotFile()
1245 queryIDMap[queryID] = id; in dumpGraphDotFile()
/external/angle/src/libANGLE/capture/
DFrameCapture.cpp1644 bool IsQueryActive(const gl::State &glState, gl::QueryID &queryID) in IsQueryActive() argument
1650 if (activeQuery && activeQuery->id() == queryID) in IsQueryActive()
3194 gl::QueryID queryID = {queryIter->first}; in CaptureMidExecutionSetup() local
3196 cap(CaptureGenQueries(replayState, true, 1, &queryID)); in CaptureMidExecutionSetup()
3205 cap(CaptureBeginQuery(replayState, true, queryType, queryID)); in CaptureMidExecutionSetup()
3208 if (!IsQueryActive(apiState, queryID)) in CaptureMidExecutionSetup()