From 2f667e11edafa426c4f4b43acf07a0de29c5d757 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 27 Nov 2017 18:17:51 +0100 Subject: [PATCH] Add notes about GPU profiling on mobile. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 014399d5..d998e84e 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,8 @@ To mark a GPU zone use the `TracyGpuZone( name )` macro, where `name` is a strin You also need to periodically collect the GPU events using the `TracyGpuCollect` macro. A good place to do it is after swap buffers function call. +GPU profiling is not supported on OSX, iOS (because Apple is unable to implement standards properly). Android devices do work, if GPU drivers are not broken. Disjoint events are not currently handled, so some readings may be a bit spotty. + ## Good practices - Remember to set thread names for proper identification of threads. You may use the functions exposed in the `tracy/common/TracySystem.hpp` header to do so. Note that the max thread name length in pthreads is limited to 15 characters. Proper thread naming support is available in MSVC only if you are using Windows SDK 10.0.15063 or newer.