commit | 9dc2f03d8086a9b60136c3585abb83aca356a676 | [log] [tgz] |
---|---|---|
author | Maksim Sisov <msisov@igalia.com> | Fri Sep 07 09:36:33 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Sep 07 09:36:33 2018 |
tree | c39fafa57bff25f7099d83af8288cd3c0441900e | |
parent | 570d2fe38723a40261821a3e88bdad9ca1932c9b [diff] |
[ozone/common] Make gbm_wrapper to be compiled with system libgbm This patch makes use of new minigbm APi names, which are aligned with Linux libgbm. Also, it defines certain definitions, which are different between libgbm and minigbm. What is more, it adds USING_MINIGBM for internal usage to be able to distinguish between system linux gbm and minigbm. Last but not least, drmPrimeHandleToFd is used in case of linux system libgbm in order to be able to get mappable fds per each plane, which is neede to add GpuMemoryBuffers support. Bug: 869206, 578890, 820047 Change-Id: I0a743aef1c8bad2bb5792a58ab29abec45ea4585 Reviewed-on: https://chromium-review.googlesource.com/1158234 Commit-Queue: Maksim Sisov <msisov@igalia.com> Reviewed-by: Michael Spang <spang@chromium.org> Reviewed-by: Robert Kroeger <rjkroege@chromium.org> Cr-Commit-Position: refs/heads/master@{#589475}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .