27 Commits

Author SHA1 Message Date
Greg Spencer
a4e7f37ba2
Fix lint errors in vulkan directory. (#19991)
This fixes lint errors in the vulkan directory. This might be a little more controversial, but the reason that the lints were failing here was because of an include path problem that I think I solved.
2020-08-10 09:50:28 -07:00
gaaclarke
21efd7325e
Made the linter print out more information in its output and fixed bugs (#19895) 2020-07-22 15:38:09 -07:00
David Reveman
d024ae4009
[fuchsia] Use memory_requirements_2 extension. (#19678)
This is required by some Vulkan 1.0 drivers. For example,
MoltenVK through goldfish ICD when running in the emulator.

Co-authored-by: David Reveman <reveman@google.com>
2020-07-13 17:37:20 -04:00
Guruji Panda
6734ab3914
Fix include paths to help building flutter runner for Fuchsia in Google3. (#18840)
Include header file without absolute path if the header file belongs to
the same directory as source file.
2020-06-06 16:05:04 -07:00
George Wright
9f31d81dcd
Enable Vulkan validation layers for shell_test (#17684) 2020-04-17 13:00:02 -07:00
Dan Field
89f3471fa7
the the fix (#15973) 2020-01-24 12:43:32 -08:00
Craig Stout
82c9104143 Remove old Fuchsia external mem,sem extensions 2019-03-29 11:00:18 -07:00
Craig Stout
51f23fedf2 [vulkan] Add FUCHSIA external sem/mem extensions
The KHR versions will be renamed once references are removed.

MA-510 #comment
2019-03-26 12:51:40 -07:00
Craig Stout
f3de9c98c7 [vulkan] Remove magma native surface
The Vulkan surface extension as used here is meant for testing only.
Since this isn't used, remove it so we don't have to maintain it.
Also remove the attempt to locate all related Vulkan entry points.

Test:
pixelbook:build topaz, launch a spinning cube
2018-12-10 10:09:53 -08:00
Michael Goderbauer
70a1106b50
Unify copyright lines (#6757) 2018-11-07 12:24:35 -08:00
Chinmay Garde
9f8285ac6c
Remove all dependencies on Garnet. (#5869) 2018-07-26 12:49:34 -07:00
Zachary Anderson
6cd1ee15ad
Revert: Remove uses of ReleaseOwnership from vulkan backend (#5484) 2018-06-07 10:42:48 -07:00
egdaniel
44863aa4f5 Remove uses of ReleaseOwnership from vulkan backend (#5458)
* Remove uses of ReleaseOwnership from vulkan backend.

Flutter no longer needs to release ownership of objects to skia so this change removes the api calls.

* Remove Release call from vulkan_device.cc

* Update vulkan_application.h

* Update vulkan_application.cc

* Update vulkan_handle.h
2018-06-04 15:46:24 -04:00
Brian Salomon
8a218122f8 Vulkan swap chain setup no longer uses GrPixelConfig and doesn't include from skia/src (#4856) 2018-03-23 12:38:41 -04:00
mikejurka
b8fc6b788d
Vulkan: Enable Fuchsia memory extensions on initialization. (#4301)
Refactor querying of supported Vulkan extensions.
2017-10-31 12:08:27 -07:00
mikejurka
9db1c6ba3b
Don't query for deprecated magma extension (#4292) 2017-10-30 10:09:38 -07:00
Craig Stout
9c518cb751 Update vulkan semaphore extension
Use fuchsia specific extension to avoid casting handles as fds.
2017-09-26 11:34:34 -07:00
Michael Goderbauer
08961f8ec5 Format all c-like sources with clang-format (#4088)
* format

* license script adaptions

* updated licenses

* review comments
2017-09-12 15:36:20 -07:00
George Kulakowski
3aa7522c11 Rename ftl to fxl in Fuchsia specific code (#4090) 2017-09-11 15:58:48 -07:00
freiling
1c99b3f470 [content handler] pipeline surface submission to mozart (#3915)
This change basically moves the singaling of the surface acquire event into the gpu driver, eliminating the VkQueueWaitIdle on surface submission

This change depends on https://skia-review.googlesource.com/c/25641/ so do not submit until Flutter has rolled Skia past that point
2017-09-05 12:39:18 -07:00
John Bauman
4b96f40947 Enable VK_GOOGLE_external_memory_magma extension on Fuchsia (#3999)
Newer version of the vulkan validation layer check that this
extension is enabled before allowing vkExportDeviceMemoryMAGMA.
2017-08-23 11:53:22 -07:00
Chinmay Garde
9740093f67 Account for updated GrVkFormatToPixelConfig signature. (#3615)
Fixes Vulkan backend.
2017-04-21 15:15:36 -07:00
Chinmay Garde
ad64948112 Account for GrVkBackendContext assuming ownership of the VkInstance and VkDevice. (#3604) 2017-04-18 14:21:42 -07:00
Chinmay Garde
cd19497b3b Fix breaking build after formats reorder in #3384 (#3385) 2017-02-01 15:01:16 -08:00
Chinmay Garde
dd45346928 [Vulkan] Try a desired list of surface formats before picking one at random. (#3384) 2017-02-01 14:54:10 -08:00
Chinmay Garde
0c3e6ff414 Account for vk.GetPhysicalDeviceSurfaceCapabilitiesKHR returning invalid extents. (#3376) 2017-01-30 16:27:00 -08:00
Chinmay Garde
94306f4103 Add a Vulkan backend for Fuchsia and Android. (#3282) 2017-01-20 14:37:10 -08:00