Add support for EGL_MESA_platform_surfaceless init path#2
Open
mvicomoya wants to merge 5 commits into
Open
Conversation
mvicomoya
commented
Jun 19, 2018
Contributor
- Add a EGL_MESA_platform_surfaceless init path so that we can run kmscube using the allocator with nouveau
- Minor fixes/tweaks here and there
added 5 commits
November 30, 2017 18:17
In init_cube_video(), there were some remaining accesses to the 'gbm' structure, now belonging to 'surfmgr'. Signed-off-by: Miguel A Vico Moya <mvicomoya@nvidia.com>
Add a command line option to select between GBM and Generic Allocator backends for the surface manager. Signed-off-by: Miguel A Vico Moya <mvicomoya@nvidia.com>
In order to initialize EGL when using the allocator backend with Mesa, use the surfaceless platform as EGLDevice is not yet supported. Signed-off-by: Miguel A Vico Moya <mvicomoya@nvidia.com>
Avoid a null dereference by checking for EXT_memory_object support before attempting to use its functions. Signed-off-by: Miguel A Vico Moya <mvicomoya@nvidia.com>
Use the surface manager abstraction layer with drm-legacy so that we can use the allocator without atomics too. Signed-off-by: Miguel A Vico Moya <mvicomoya@nvidia.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.