Lines Matching refs:mGpuStats

162         if (mGpuStats.glDriverToSend) {  in hintActivityLaunch()
163 mGpuStats.glDriverToSend = false; in hintActivityLaunch()
164 sendGpuStatsLocked(GraphicsEnv::Api::API_GL, true, mGpuStats.glDriverLoadingTime); in hintActivityLaunch()
166 if (mGpuStats.vkDriverToSend) { in hintActivityLaunch()
167 mGpuStats.vkDriverToSend = false; in hintActivityLaunch()
168 sendGpuStatsLocked(GraphicsEnv::Api::API_VK, true, mGpuStats.vkDriverLoadingTime); in hintActivityLaunch()
191 mGpuStats.driverPackageName = driverPackageName; in setGpuStats()
192 mGpuStats.driverVersionName = driverVersionName; in setGpuStats()
193 mGpuStats.driverVersionCode = driverVersionCode; in setGpuStats()
194 mGpuStats.driverBuildTime = driverBuildTime; in setGpuStats()
195 mGpuStats.appPackageName = appPackageName; in setGpuStats()
196 mGpuStats.vulkanVersion = vulkanVersion; in setGpuStats()
207 if (mGpuStats.glDriverToLoad == GraphicsEnv::Driver::NONE || in setDriverToLoad()
208 mGpuStats.glDriverToLoad == GraphicsEnv::Driver::GL) { in setDriverToLoad()
209 mGpuStats.glDriverToLoad = driver; in setDriverToLoad()
213 if (mGpuStats.glDriverFallback == GraphicsEnv::Driver::NONE) { in setDriverToLoad()
214 mGpuStats.glDriverFallback = driver; in setDriverToLoad()
220 if (mGpuStats.vkDriverToLoad == GraphicsEnv::Driver::NONE || in setDriverToLoad()
221 mGpuStats.vkDriverToLoad == GraphicsEnv::Driver::VULKAN) { in setDriverToLoad()
222 mGpuStats.vkDriverToLoad = driver; in setDriverToLoad()
226 if (mGpuStats.vkDriverFallback == GraphicsEnv::Driver::NONE) { in setDriverToLoad()
227 mGpuStats.vkDriverFallback = driver; in setDriverToLoad()
241 const bool doNotSend = mGpuStats.appPackageName.empty(); in setDriverLoaded()
243 if (doNotSend) mGpuStats.glDriverToSend = true; in setDriverLoaded()
244 mGpuStats.glDriverLoadingTime = driverLoadingTime; in setDriverLoaded()
246 if (doNotSend) mGpuStats.vkDriverToSend = true; in setDriverLoaded()
247 mGpuStats.vkDriverLoadingTime = driverLoadingTime; in setDriverLoaded()
269 gpuService->setTargetStats(mGpuStats.appPackageName, mGpuStats.driverVersionCode, stats, in setTargetStats()
279 if (mGpuStats.appPackageName.empty()) return; in sendGpuStatsLocked()
291 mGpuStats.driverPackageName.c_str(), mGpuStats.driverVersionName.c_str(), in sendGpuStatsLocked()
292 mGpuStats.driverVersionCode, mGpuStats.driverBuildTime, mGpuStats.appPackageName.c_str(), in sendGpuStatsLocked()
293 mGpuStats.vulkanVersion, static_cast<int32_t>(api), isDriverLoaded, driverLoadingTime); in sendGpuStatsLocked()
298 driver = mGpuStats.glDriverToLoad; in sendGpuStatsLocked()
300 isDriverLoaded && (mGpuStats.glDriverFallback == GraphicsEnv::Driver::NONE); in sendGpuStatsLocked()
302 driver = mGpuStats.vkDriverToLoad; in sendGpuStatsLocked()
304 isDriverLoaded && (mGpuStats.vkDriverFallback == GraphicsEnv::Driver::NONE); in sendGpuStatsLocked()
309 gpuService->setGpuStats(mGpuStats.driverPackageName, mGpuStats.driverVersionName, in sendGpuStatsLocked()
310 mGpuStats.driverVersionCode, mGpuStats.driverBuildTime, in sendGpuStatsLocked()
311 mGpuStats.appPackageName, mGpuStats.vulkanVersion, driver, in sendGpuStatsLocked()