Lines Matching refs:mGpuStats
171 if (mGpuStats.glDriverToSend) { in hintActivityLaunch()
172 mGpuStats.glDriverToSend = false; in hintActivityLaunch()
173 sendGpuStatsLocked(GraphicsEnv::Api::API_GL, true, mGpuStats.glDriverLoadingTime); in hintActivityLaunch()
175 if (mGpuStats.vkDriverToSend) { in hintActivityLaunch()
176 mGpuStats.vkDriverToSend = false; in hintActivityLaunch()
177 sendGpuStatsLocked(GraphicsEnv::Api::API_VK, true, mGpuStats.vkDriverLoadingTime); in hintActivityLaunch()
200 mGpuStats.driverPackageName = driverPackageName; in setGpuStats()
201 mGpuStats.driverVersionName = driverVersionName; in setGpuStats()
202 mGpuStats.driverVersionCode = driverVersionCode; in setGpuStats()
203 mGpuStats.driverBuildTime = driverBuildTime; in setGpuStats()
204 mGpuStats.appPackageName = appPackageName; in setGpuStats()
205 mGpuStats.vulkanVersion = vulkanVersion; in setGpuStats()
216 if (mGpuStats.glDriverToLoad == GraphicsEnv::Driver::NONE || in setDriverToLoad()
217 mGpuStats.glDriverToLoad == GraphicsEnv::Driver::GL) { in setDriverToLoad()
218 mGpuStats.glDriverToLoad = driver; in setDriverToLoad()
222 if (mGpuStats.glDriverFallback == GraphicsEnv::Driver::NONE) { in setDriverToLoad()
223 mGpuStats.glDriverFallback = driver; in setDriverToLoad()
229 if (mGpuStats.vkDriverToLoad == GraphicsEnv::Driver::NONE || in setDriverToLoad()
230 mGpuStats.vkDriverToLoad == GraphicsEnv::Driver::VULKAN) { in setDriverToLoad()
231 mGpuStats.vkDriverToLoad = driver; in setDriverToLoad()
235 if (mGpuStats.vkDriverFallback == GraphicsEnv::Driver::NONE) { in setDriverToLoad()
236 mGpuStats.vkDriverFallback = driver; in setDriverToLoad()
250 const bool doNotSend = mGpuStats.appPackageName.empty(); in setDriverLoaded()
252 if (doNotSend) mGpuStats.glDriverToSend = true; in setDriverLoaded()
253 mGpuStats.glDriverLoadingTime = driverLoadingTime; in setDriverLoaded()
255 if (doNotSend) mGpuStats.vkDriverToSend = true; in setDriverLoaded()
256 mGpuStats.vkDriverLoadingTime = driverLoadingTime; in setDriverLoaded()
278 gpuService->setTargetStats(mGpuStats.appPackageName, mGpuStats.driverVersionCode, stats, in setTargetStats()
288 if (mGpuStats.appPackageName.empty()) return; in sendGpuStatsLocked()
300 mGpuStats.driverPackageName.c_str(), mGpuStats.driverVersionName.c_str(), in sendGpuStatsLocked()
301 mGpuStats.driverVersionCode, mGpuStats.driverBuildTime, mGpuStats.appPackageName.c_str(), in sendGpuStatsLocked()
302 mGpuStats.vulkanVersion, static_cast<int32_t>(api), isDriverLoaded, driverLoadingTime); in sendGpuStatsLocked()
307 driver = mGpuStats.glDriverToLoad; in sendGpuStatsLocked()
309 isDriverLoaded && (mGpuStats.glDriverFallback == GraphicsEnv::Driver::NONE); in sendGpuStatsLocked()
311 driver = mGpuStats.vkDriverToLoad; in sendGpuStatsLocked()
313 isDriverLoaded && (mGpuStats.vkDriverFallback == GraphicsEnv::Driver::NONE); in sendGpuStatsLocked()
318 gpuService->setGpuStats(mGpuStats.driverPackageName, mGpuStats.driverVersionName, in sendGpuStatsLocked()
319 mGpuStats.driverVersionCode, mGpuStats.driverBuildTime, in sendGpuStatsLocked()
320 mGpuStats.appPackageName, mGpuStats.vulkanVersion, driver, in sendGpuStatsLocked()