diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2021-01-04 12:56:51 -0800 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2021-01-05 05:32:52 -0800 |
commit | 7d8ac172d7f1098acc58023819117f7c26d4b604 (patch) | |
tree | 9e7b90e76032c81879236b8a8adae0f188733129 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b3304591f14b437b6bccd8dbff06006c11837031 (diff) |
drm: Add function to convert rect in 16.16 fixed format to regular format
Much more clear to read one function call than four lines doing this
conversion.
v7:
- function renamed
- calculating width and height before truncate
- inlined
v10:
- renamed parameters from source and destination to src and dst
to match sister functions
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: dri-devel@lists.freedesktop.org
Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210104205654.238928-1-jose.souza@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions