From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Keith Packard" Subject: Re: [PATCH 1/3] vulkan: Define new VK_MESA_query_timestamp extension [v2] Date: Wed, 11 Jul 2018 08:56:22 -0700 Message-ID: <871sc9lqah.fsf@keithp.com> References: <20180623151521.8306-1-keithp@keithp.com> <20180623151521.8306-2-keithp@keithp.com> <1642da34868.27ad.c6988b7ea6112e3e892765a0d4287e0c@jlekstrand.net> <20180710101615.610c7966@eldfell> <87fu0rklzk.fsf@keithp.com> <20180711103110.333b1523@eldfell> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1611997729==" Return-path: In-Reply-To: <20180711103110.333b1523@eldfell> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: mesa-dev-bounces@lists.freedesktop.org Sender: "mesa-dev" To: Pekka Paalanen Cc: mesa-dev@lists.freedesktop.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1611997729== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Pekka Paalanen writes: > I did not mean you would be solving that problem. I meant that it would > be good to figure out what people actually want from the API to be able > to solve the problem themselves. Thanks for the clarification. I'd suggest that we not try and solve that problem until we have someone who needs it? What I'm using this extension for is to correlate GPU times with WSI times as required by the GOOGLE_display_timing extension. That extension reports the time gap between the end of rendering and when a frame is displayed as reported by the WSI backend, so I needed some way to translate between those two time domains. To do this, I call this new function once per presentation, which means I'm getting recent values for both clocks which should track any minor clock skew. =2D-=20 =2Dkeith --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAltGKKYACgkQ2yIaaQAA ABEbZQ/+OmfrzxFZ2pJ1rTcSfyIH9i/Bzxif1erwqv95lRgAEd0002OLvfbgoU02 TiXjJMuaUNHXr164bVPAZ3tMafhkz/WoFD3bmZlHF6wW5TXxzQA3XScsX4XwbnHJ mucvRlYBJEMmBqPwrWqG1EewVpzpe3QHxn3mUwtBkQ7Qpptw9PgUgqhIKfXdRIdE JqvO/c5GNxEInfOiG5Mry1hGExi/imRi1VxciIMMP4wsEpN6+YZ5IIYugPhYoGDY Qn4dGEJfw3dr57mN4Ht+/N1bNvlxyniaCmqqYjKghzGGQuTiKu/wd1JBOSTYNjPJ Zz2eb3L/rQnUtpVST6LCUeTK3hg5P/i2MEojeClW0PUrmfBT/3WC8w0oSavNICf5 EyEEOZCuP905KouKS6+oSmHckXmiktPdfz+OAGq45/Uu2rEVkyirapheyfMNg9oA A+kPfhhNxnALjhr5v7VvQ3VZDM7uNc5T0gdLUb25qEhLFfU65mJqglHeywiGFTjz faA/HbyXx7yd61mW3+OvzaxDNmVvL6wCzs8ZIE5X4H2XTRLZPbfALLIuL19lwtZ3 TIYRmHhfRvWIfiaFy/XBp+xJ/DY3BlFAllmvR5fjytB3FW03YVDNcpdJlgmiMAy/ Hp4fWY9+tFfSDPExBJv1dx5L4eCn1mi+ve2jG9G3WyLUvzoTfk4= =sAQl -----END PGP SIGNATURE----- --=-=-=-- --===============1611997729== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbWVzYS1kZXYg bWFpbGluZyBsaXN0Cm1lc2EtZGV2QGxpc3RzLmZyZWVkZXNrdG9wLm9yZwpodHRwczovL2xpc3Rz LmZyZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL21lc2EtZGV2Cg== --===============1611997729==--