OSDN Git Service

android-x86/frameworks-native.git
8 years agovulkan: Update from version 0.200.0 to 0.202.0
Jesse Hall [Mon, 30 Nov 2015 08:55:29 +0000 (00:55 -0800)]
vulkan: Update from version 0.200.0 to 0.202.0

Change-Id: If8eb49cd7e5516931f9900b691d6d32af2aa98b0
(cherry picked from commit 5b9c3a1af7088351d49431a496ef9f7fd078e9f6)

8 years agovulkan: Update from version 0.198.0 to 0.200.0
Jesse Hall [Mon, 30 Nov 2015 08:42:57 +0000 (00:42 -0800)]
vulkan: Update from version 0.198.0 to 0.200.0

Change-Id: I071a9143332dd8b8c2ef899105073ed8791fc5db
(cherry picked from commit 9568691bea351152b340c0cbb3d31e5246ac469b)

8 years agovulkan: Update from version 0.197.0 to 0.198.0
Jesse Hall [Mon, 30 Nov 2015 08:07:16 +0000 (00:07 -0800)]
vulkan: Update from version 0.197.0 to 0.198.0

Change-Id: I182b21c68374e8eae962b2ae391bb283f07d5517
(cherry picked from commit ef5b7de781a9d803be4fba7ba243e6e96dd61851)

8 years agovulkan: Update from version 0.196.0 to 0.197.0
Jesse Hall [Mon, 30 Nov 2015 07:50:38 +0000 (23:50 -0800)]
vulkan: Update from version 0.196.0 to 0.197.0

Change-Id: I1c7aecd276cb8d831b8d7bf7eef58b5c6ad8b82c
(cherry picked from commit bef4966ad22d7690626b3dc048c59cb9e9eab870)

8 years agovulkan: Update from version 0.194.0 to 0.196.0
Jesse Hall [Mon, 30 Nov 2015 06:10:52 +0000 (22:10 -0800)]
vulkan: Update from version 0.194.0 to 0.196.0

Change-Id: Ib62cc358b1f2575daeaa2a893eb4afca458ec5c3
(cherry picked from commit 48e9a8af39134fc2e995867668e113e56931167b)

8 years agovulkan: Update from version 0.193.0 to 0.194.0
Jesse Hall [Mon, 30 Nov 2015 05:05:26 +0000 (21:05 -0800)]
vulkan: Update from version 0.193.0 to 0.194.0

Change-Id: I6a4508a61414375112bae3ffd16b0490ce3e4294
(cherry picked from commit 83c7f0486d495e9e7ab6f901ddeed931fff9ebad)

8 years agovulkan: Update from version 0.192.0 to 0.193.0
Jesse Hall [Mon, 30 Nov 2015 03:46:20 +0000 (19:46 -0800)]
vulkan: Update from version 0.192.0 to 0.193.0

Change-Id: I4387b28368c38c5165c1da99d8dc4e632ad2b42a
(cherry picked from commit d0534c33c98e8f0c844b37df7c764c9dbd6bbaa3)

8 years agovulkan: Update from version 0.190.0 to 0.192.0
Jesse Hall [Mon, 30 Nov 2015 03:12:15 +0000 (19:12 -0800)]
vulkan: Update from version 0.190.0 to 0.192.0

Change-Id: I5d38543a4ae1c522cacb45a3c011ceab62d2e1d5
(cherry picked from commit c10af6dde1e91deb70ef055838f1b51240fc66f2)

8 years agovulkan: Update from version 0.189.0 to 0.190.0
Jesse Hall [Mon, 30 Nov 2015 02:59:42 +0000 (18:59 -0800)]
vulkan: Update from version 0.189.0 to 0.190.0

Change-Id: I0ac3f2797b65ef49cca90e76a47f1e6ca3a341a3
(cherry picked from commit 888efcf06fdbfa02587ffbfaa8fe6ca8e1b6e58a)

8 years agovulkan: Update from version 0.188.0 to 0.189.0
Jesse Hall [Sun, 29 Nov 2015 22:36:39 +0000 (14:36 -0800)]
vulkan: Update from version 0.188.0 to 0.189.0

Change-Id: Ib8171ce1d3f804f9a866e1c216db0911043056c6
(cherry picked from commit 48c1928e091dd7eb6ca4fc6564e0be072028c38a)

8 years agovulkan: Update from version 0.186.0 to 0.188.0
Jesse Hall [Tue, 24 Nov 2015 20:44:21 +0000 (12:44 -0800)]
vulkan: Update from version 0.186.0 to 0.188.0

Change-Id: Ida08d51f4e892202b594072d1e765ba5c55444db
(cherry picked from commit 2ca0449bdeecd0257c7473f663896b00d0082def)

8 years agovulkan: Update from version 0.185.0 to 0.186.0
Jesse Hall [Tue, 24 Nov 2015 19:37:23 +0000 (11:37 -0800)]
vulkan: Update from version 0.185.0 to 0.186.0

Change-Id: I6acb7742a1d4628930bc0807adfd222bc8349c43
(cherry picked from commit 9148de67a84540aa7d70ae72fbf587e26cbd0891)

8 years agovulkan: Update from version 0.184.0 to 0.185.0
Jesse Hall [Tue, 24 Nov 2015 19:08:36 +0000 (11:08 -0800)]
vulkan: Update from version 0.184.0 to 0.185.0

Change-Id: I1d6012db32441fe3a99480bfed0e41dfce068980
(cherry picked from commit 8b07f118b46ae01f709e7bfd92e29c6f6df5d7c0)

8 years agovulkan.api: Distinguish Vk*Flags from Vk*FlagBits
Jesse Hall [Tue, 24 Nov 2015 18:24:18 +0000 (10:24 -0800)]
vulkan.api: Distinguish Vk*Flags from Vk*FlagBits

Previously Vulkan never used the *FlagBits enums directly as the type
of a parameter or field, only ever using the *Flags typedef. For cases
when a variable should have exactl one of the options, a separate enum
was used. Now Vulkan is switching to using the *FlagBits enum for such
variables, to avoid needing two separate enums for the same thing.

The API file didn't distinguish between these before, it only had one
type for the bitfield, and the vulkan_h.tmpl template synthesized the
*FlagBits name from the *Flags name during generation. Now that we
have cases where some variables need the *FlagBits type and some need
the *Flags type, we need to distinguish them in the API file. This
change does that.

This required some ugly casting in a few places to get around apic's
strict operand type compatibility rules. Most of these can go away
once b/25863296 is fixed.

Change-Id: Ia153d4b0c91abe80e4c34a284ca9d721cc770795
(cherry picked from commit 9f9678461ec3fdefa9c29e84c329cbdd243d7f80)

8 years agovulkan: Update from version 0.183.0 to 0.184.0
Jesse Hall [Sun, 22 Nov 2015 03:31:56 +0000 (19:31 -0800)]
vulkan: Update from version 0.183.0 to 0.184.0

Change-Id: I11802010d9171877e3fc8cc6e0931f8c746660c4
(cherry picked from commit 821c3aebdbac594a9b977e8183a863bed7419132)

8 years agovulkan: Implement VkSurfaceKHR and use vulkanext.h
Jesse Hall [Tue, 24 Nov 2015 01:24:58 +0000 (17:24 -0800)]
vulkan: Implement VkSurfaceKHR and use vulkanext.h

Between header version 0.183.0 and 0.184.0, a copy of vulkan.h which
includes extensions was added to the registry, called vulkanext.h. The
vulkan.h included here is actually the registry's vulkanext.h.
(In a later upstream change, the no-extensions version was removed
from the registry, and vulkanext.h was renamed vulkan.h, matching what
we're doing here.)

The version of the extensions picked up in the header file is later
than the ones used in the previous SDK, so this change also updates
our implementation to the extension versions included in the header.
The main change is replacing the VkSurfaceDescriptionKHR structure
with a VkSurfaceKHR object.

Change-Id: I18fa5a269db0fcdbdbde3e9304167bc15e456f85
(cherry picked from commit 957a59a48a8d2e81ca3bb52aacd8d08b1b43dc74)

8 years agovulkan: Update from version 0.181.0 to 0.183.0
Jesse Hall [Fri, 20 Nov 2015 22:17:03 +0000 (14:17 -0800)]
vulkan: Update from version 0.181.0 to 0.183.0

Change-Id: I721bfc6891974e2bab7dce7e92e7884de360412a
(cherry picked from commit 85009ebe92a71d3c707efad6387118b186cca0c9)

8 years agovulkan: Update from version 0.180.0 to 0.181.0
Jesse Hall [Fri, 20 Nov 2015 06:48:02 +0000 (22:48 -0800)]
vulkan: Update from version 0.180.0 to 0.181.0

Change-Id: I4a7e216d9966f2dcf873bcb952472463dfb59f95
(cherry picked from commit 2c3539bab4b81b6e55d690c5e113d3421cc15021)

8 years agovulkan: Update from version 0.179.0 to 0.180.0
Jesse Hall [Fri, 20 Nov 2015 06:30:07 +0000 (22:30 -0800)]
vulkan: Update from version 0.179.0 to 0.180.0

Change-Id: I2cbf4a8b065e8150734d76d614ab0850bc8324dc
(cherry picked from commit 2b2221bd4c5cbc2580bf7b4e487bffe36fd25c4a)

8 years agovulkan: Update from version 0.177.0 to 0.179.0
Jesse Hall [Fri, 20 Nov 2015 06:17:28 +0000 (22:17 -0800)]
vulkan: Update from version 0.177.0 to 0.179.0

Change-Id: I4d596efec04a712d7b38323e012282fe9f98192b
(cherry picked from commit daf915168b0aea3a47401a838448d737e955c154)

8 years agovulkan: Update from version 0.174.0 to 0.177.0
Jesse Hall [Fri, 20 Nov 2015 05:51:33 +0000 (21:51 -0800)]
vulkan: Update from version 0.174.0 to 0.177.0

Change-Id: I4b837c0bdb4fd6120688e8389ab8591178d370fb
(cherry picked from commit 5804cbcdb3c6444c7bb6904578ed339d9339de83)

8 years agovulkan: Update from version 0.172.2 to 0.174.0
Jesse Hall [Fri, 20 Nov 2015 05:32:50 +0000 (21:32 -0800)]
vulkan: Update from version 0.172.2 to 0.174.0

Change-Id: If89614476735e5fb83cbeb4cf473e32e6f0cc386
(cherry picked from commit 18896311f868ab1b2b8a9a6ca34de4c0de6cf0d7)

8 years agovulkan: Add SDK 0.9 to 0.10 patch stack
Jesse Hall [Tue, 1 Dec 2015 05:53:42 +0000 (21:53 -0800)]
vulkan: Add SDK 0.9 to 0.10 patch stack

Change-Id: I7aaae7966b7a64c2d56f0933b811400a7c892cd6
(cherry picked from commit 7f8155bd9e394073415bc565efca3cd6e2969d5b)

8 years agolibvulkan: Remove dead special cases in GetDeviceProcAddr
Jesse Hall [Fri, 20 Nov 2015 23:46:08 +0000 (15:46 -0800)]
libvulkan: Remove dead special cases in GetDeviceProcAddr

Change-Id: I58c5cad288f3d96acc9903a2323ec9fcf21798fd
(cherry picked from commit 18f7ae3776050529c3c244e639eb5095808963d9)

8 years agovulkan: Update templates for generated extensions
Jesse Hall [Fri, 20 Nov 2015 05:19:17 +0000 (21:19 -0800)]
vulkan: Update templates for generated extensions

When the swapchain extensions were added to the API file, only
the libvulkan/get_proc_addr.cpp template was updated. This change
updates the remaining templates, so that when used they generate the
appropriate output with the new API file:

- libvulkan/entry.cpp: Remove hardcoded extension entry points, now
  that they're autogenerated.
- nulldrv/null_driver_gen.cpp: Exclude all extension entry points;
  this only works because the API currently only includes entry points
  implemented by the loader. Eventually we'll want to replace this
  with an extension blacklist.

Change-Id: Id6ea11fb739390d8262fa5ce77c213fbbdeb0148
(cherry picked from commit 1d40de6ecdd74c47ebd40fadd5926cc2984cc91c)

8 years agoDon't remove elements while iterating through active_layers.
Michael Lentine [Thu, 19 Nov 2015 22:23:06 +0000 (14:23 -0800)]
Don't remove elements while iterating through active_layers.

Change-Id: I595e51aea635dad13b6e919dee2229defc4da55a
(cherry picked from commit b735b6d52dad4d72e16968aa66a8282df2c733ea)

8 years agoDon't assume layers exist when prop is set
Michael Lentine [Thu, 19 Nov 2015 02:28:07 +0000 (18:28 -0800)]
Don't assume layers exist when prop is set

Previously we assumed that layers were valid when set via adb
shellprop but instead we should make sure they exist first. If they
don't ignore it and continue.

Change-Id: I161b7afa58e747080a9eeb112f933976a381b4c0
(cherry picked from commit c9625127034ab237da69d7da766e20d666545b13)

8 years agovulkan: Add DevelopersGuide.pdf
Jesse Hall [Fri, 13 Nov 2015 19:28:20 +0000 (11:28 -0800)]
vulkan: Add DevelopersGuide.pdf

Change-Id: I25b547e8704f78db39f4bcfeb5172439952b870d
(cherry picked from commit 296fd43d133871d7b6c9bacba67cd24ebe509e22)

8 years agoAdd WSI functions to the loader.
Michael Lentine [Thu, 12 Nov 2015 20:49:45 +0000 (12:49 -0800)]
Add WSI functions to the loader.

Modify vulkan.api to include the WSI functions.
Add new wsi functions to generation in get_proc_addr.cpp.tmpl
Add bottom entry points because the WSI functions are not exposed in the
driver.

Change-Id: I63c3a099a489496205b0a9eb82c005a5a48642a1
(cherry picked from commit 23b68ac9fcd2df06ffcc25cf8c4f794dd447bbd1)

8 years agovulkan: allow drivers to see image acquire/release
Jesse Hall [Wed, 4 Nov 2015 18:56:20 +0000 (10:56 -0800)]
vulkan: allow drivers to see image acquire/release

Change-Id: I8143aeebd1f65142486cc55662c685d081ba41eb
(cherry picked from commit 58b4df743ecad9f1a0fc7cb7c0f5340dd8365308)

8 years agovulkan: Allow drivers to add private gralloc usage flags
Jesse Hall [Wed, 4 Nov 2015 17:41:31 +0000 (09:41 -0800)]
vulkan: Allow drivers to add private gralloc usage flags

Change-Id: Iea33990b3a85a761e27d54bb323d866267c88901
(cherry picked from commit c040fbedde52d632a7ceeef3a9266d35b22ce53f)

8 years agolibvulkan: enable scaling for all Vulkan swapchains
Jesse Hall [Wed, 4 Nov 2015 00:11:10 +0000 (16:11 -0800)]
libvulkan: enable scaling for all Vulkan swapchains

Change-Id: I0abe28a06dd24c317ed87270996d308411cb6fa1
(cherry picked from commit 6780552a6f17ee809ecf9b3538bbf9b666d5a160)

8 years agoRemove Noop and move message removal.
Michael Lentine [Tue, 3 Nov 2015 02:32:04 +0000 (18:32 -0800)]
Remove Noop and move message removal.

Previously there were two Noop functions when only one is needed.
Additionally, the debug message was getting removed after the
layer was removed which is incorrect.

Change-Id: Ibee29b5395a8756c5a3e5c70df8e4723abb63e2b
(cherry picked from commit 262b1bddd775510584b50921e007d9eb6d8029c4)

8 years agovknulldrv: Fix several entry point prototypes
Jesse Hall [Fri, 30 Oct 2015 00:14:50 +0000 (17:14 -0700)]
vknulldrv: Fix several entry point prototypes

Entry point implementations were never used where the appropriate
PFN_vk* type was expected, so when the prototypes were wrong the
compiler wouldn't know or be able to tell us. Of course, this means
several of them were wrong after the update to header 0.170.2.

This change adds an explicit static_cast to the appropriate function
pointer type for each function so the compiler will issue an error
when the prototype is wrong. It also fixes all of the resulting
errors.

Change-Id: I44211353476b56c8b429ee5d7ca7a669e8a95afd
(cherry picked from commit 90018472e9c4eed2fae226bd64f29da065d4b1e7)

8 years agolibvulkan: Don't log error if layer dir doesn't exist
Jesse Hall [Thu, 29 Oct 2015 18:20:07 +0000 (11:20 -0700)]
libvulkan: Don't log error if layer dir doesn't exist

It's normal for the global layer dir to not exist, and would be a
serious system bug if the APK native library dir didn't exist. Either
way, a VERBOSE message will be seen by the appropriate people, without
spamming the log during normal operation.

Change-Id: I7419b46304bb98b4dbb6d02effff0a4062c6de79
(cherry picked from commit e0059ade3836ec778f16a7c8998d056a21d2a7ab)

8 years agolibvulkan: Fix check for redundant vkDeviceQueue calls
Jesse Hall [Fri, 30 Oct 2015 01:49:53 +0000 (18:49 -0700)]
libvulkan: Fix check for redundant vkDeviceQueue calls

dEQP test sets typically create a device once, but call
vkGetDeviceQueue in each test case. Due to this bug we were failing
all but the first call.

Change-Id: If5a07ae23d630e64d06b7028b7e62f389533da43
(cherry picked from commit 8be3d02cb116d82aac0e2c8f50168d816bfec4a0)

8 years agolibvulkan: Fail instance/device creation if requested layer not present
Jesse Hall [Wed, 28 Oct 2015 22:59:53 +0000 (15:59 -0700)]
libvulkan: Fail instance/device creation if requested layer not present

Change-Id: I27177597e1aa8f22fa97ee60c5ff8dea6a7dde95
(cherry picked from commit 4113c6571109e03cc99dfb6a073e742c30478abd)

8 years agovulkan: Fix GetSpecific*ProcAddr for extension functions
Jesse Hall [Fri, 23 Oct 2015 16:33:39 +0000 (11:33 -0500)]
vulkan: Fix GetSpecific*ProcAddr for extension functions

Change-Id: Ib19e08b9e057affe348e0da5e6840e139d4ec292
(cherry picked from commit b7f5ef5d5fee72fc16fb3e883b0d1725f2c7feed)

8 years agovulkan: add recursive f/n/vulkan/Android.mk
Jesse Hall [Fri, 16 Oct 2015 04:56:17 +0000 (21:56 -0700)]
vulkan: add recursive f/n/vulkan/Android.mk

This allows using 'mm' to build everything under this dir, instead of
needing to build in each subdir separately.

Change-Id: I0c7692a7be54899b40f1cacdab3bea0e74d80174
(cherry picked from commit ba85347fc30649a17b00a237d81e8861097baeb9)

8 years agovulkan: Use the same dispatch magic value as LunarG
Jesse Hall [Fri, 16 Oct 2015 04:53:37 +0000 (21:53 -0700)]
vulkan: Use the same dispatch magic value as LunarG

Change-Id: I3ac0d3953bd395ffb459aa7b8c7c08914b49008b
(cherry picked from commit 6a4503c5b8d01cc89e1ebde747c162ee326ebbff)

8 years agoUpdate DEBUG_REPORT extension and callback for v170.2
Michael Lentine [Thu, 15 Oct 2015 17:42:22 +0000 (12:42 -0500)]
Update DEBUG_REPORT extension and callback for v170.2

Change-Id: Ica7bb0fb738804c48f165409882086d0300bc294
(cherry picked from commit 647626135721fc28d36364031f04a1541719fb5e)

8 years agovulkan: Add build-install_libvulkan virtual branch
Jesse Hall [Wed, 14 Oct 2015 22:26:43 +0000 (15:26 -0700)]
vulkan: Add build-install_libvulkan virtual branch

Change-Id: I8f028c6aedf6bcc44d1da25cf9b0e16b95f3c10b
(cherry picked from commit d25223b2a824b8b78d6e0783069aecb8981d9428)

8 years agovulkan: Remove sdk-0.9 virtual branch, has been merged
Jesse Hall [Wed, 14 Oct 2015 22:23:24 +0000 (15:23 -0700)]
vulkan: Remove sdk-0.9 virtual branch, has been merged

Change-Id: I67e15c1d5fdd3364232051ab94e24e91a826c6a2
(cherry picked from commit e8faab3a100346438f43178e2c902642f57a0841)

8 years agovulkan: Update to SDK-0.9 version of vk_ext_khr_device_swapchain.h
Jesse Hall [Wed, 14 Oct 2015 20:35:24 +0000 (13:35 -0700)]
vulkan: Update to SDK-0.9 version of vk_ext_khr_device_swapchain.h

Change-Id: I16c1505accd01831ddfcb5c9d047175f1982e3bf
(cherry picked from commit 0316a4ec28abedf4ad2cbfc3fa7464f5b70699e0)

8 years agovulkan: Update from header 0.138.2 to 0.170.2
Jesse Hall [Thu, 8 Oct 2015 21:00:22 +0000 (14:00 -0700)]
vulkan: Update from header 0.138.2 to 0.170.2

Change-Id: I011e1f27d025730d448ee5cfefc6701300b455c2
(cherry picked from commit 6761b6067555557599e8c30096614642a5223646)

8 years agoAdd support for longer than 12 character layers.
Michael Lentine [Tue, 13 Oct 2015 16:08:45 +0000 (11:08 -0500)]
Add support for longer than 12 character layers.

Change-Id: Ic2bf1c21a962e0921a68ec58946817518468c8b0
(cherry picked from commit 17d4cf3b87c688ec35320d3061e26862a891233b)

8 years agoAllow for different layers to be active per device
Michael Lentine [Wed, 16 Sep 2015 20:53:50 +0000 (15:53 -0500)]
Allow for different layers to be active per device

Change-Id: I947ec25bc44072bec825a78fa6ddda3121e1f818
(cherry picked from commit dd12a76d6a89e0fcab4a4adcaec190d8b50909c5)

8 years agovulkan: Add sdk-0.9 virtual branch
Jesse Hall [Fri, 9 Oct 2015 05:22:56 +0000 (22:22 -0700)]
vulkan: Add sdk-0.9 virtual branch

Change-Id: If339b10e9a0cb07cf4bcdeedceaf71b5f609da15
(cherry picked from commit d202e3c7049df2df60828aedaeeb99eae762df58)

8 years agovulkan: Add apk_library_dir virtual branch
Jesse Hall [Fri, 9 Oct 2015 05:21:10 +0000 (22:21 -0700)]
vulkan: Add apk_library_dir virtual branch

Change-Id: Idf479bedf2e8e49612818a816084f91f074c5397
(cherry picked from commit c28bf8bf2c8514cb983fec090c90ddbf0ba43b37)

8 years agoAdd support for loading layers from the apk.
Michael Lentine [Mon, 14 Sep 2015 18:26:59 +0000 (13:26 -0500)]
Add support for loading layers from the apk.

Added the vulkan_layer_path interface which is used to set the path from
ThreadedRenderer. The vulkan loader then uses this path to search for layer
libraries that come preinstalled with the app.

Change-Id: Iee7d56c1950296ba5ece3a119741406d705479a8
(cherry picked from commit 1f920c1e52bbd59405761e5403def5dbc22e331b)

8 years agoAdd default callbacks in the loader.
Michael Lentine [Mon, 14 Sep 2015 22:32:59 +0000 (17:32 -0500)]
Add default callbacks in the loader.

Change-Id: I23d7945efb0fd372e614f895278fc86a853fe429
(cherry picked from commit 9b9938127d1c68cda9b709524aea44ffb0de77b9)

8 years agoAdd support for arbitrary number of layers
Michael Lentine [Mon, 14 Sep 2015 19:43:49 +0000 (14:43 -0500)]
Add support for arbitrary number of layers

Add a static string in vulkan_layer_path that is set by the loader.
This path is then searched inside the loader for layers to load.

Change-Id: Ibd6fa87579d6fd39bba0814935be2bd38a416848
(cherry picked from commit 1dd0ae574084204bbbb614e551125ee84dc5cf3d)

8 years agoAdd support for autoloading callback extension.
Michael Lentine [Mon, 14 Sep 2015 18:26:30 +0000 (13:26 -0500)]
Add support for autoloading callback extension.

This works by checking for the property vulkan.enableLayerCallback. If the
property doesn't exist, is false, or the app has explicitly loaded the callback
extension the change does nothing. If the property is enabled and the app
has not loaded the extension this change forces the loader to enable it.

Change-Id: I52f7afb4136358a360aaf62188d98b34b563778a
(cherry picked from commit adeac8e46bd0034321ea348132d3f9db967b72e9)

8 years agoAdd support for multiple layers in the same so
Michael Lentine [Fri, 11 Sep 2015 21:54:34 +0000 (14:54 -0700)]
Add support for multiple layers in the same so

Change-Id: Iec30d8b969665473e24f5ac24a62aa930339f7d5
(cherry picked from commit 6dee80d5c552d16c2e5fc44290c057b43515fa52)

8 years agoAdd layer loading to android vulkan loader.
Michael Lentine [Wed, 26 Aug 2015 23:27:26 +0000 (18:27 -0500)]
Add layer loading to android vulkan loader.

Change-Id: I500d248f03a14db82ce725e600aef82c115b9b35
(cherry picked from commit ad17ac2e5bec7a65e3170043eb958e5a97107bd4)

8 years agoFix GetSpecific*ProcAddr.
Michael Lentine [Tue, 15 Sep 2015 18:25:36 +0000 (13:25 -0500)]
Fix GetSpecific*ProcAddr.

Change GetSpeicific*ProcAddr to cast to return the value inside of the table
instead of the table itself.

Change-Id: Ib693274cd5c0869d79f0869a6d99a78c31a63b08
(cherry picked from commit 0c8fe76496e1fe6fe63e4e6179f53a98561a7748)

8 years agovulkan: Implement vk_ext_khr_*swapchain extensions
Jesse Hall [Mon, 7 Sep 2015 21:17:37 +0000 (14:17 -0700)]
vulkan: Implement vk_ext_khr_*swapchain extensions

Change-Id: I46312c9ba1332e0a5b8ac4c1b5608f0465c3962c
(cherry picked from commit e5ca41cb11212bbfbd608eddb92d794e12e1528e)

8 years agovulkan: Add skeleton swapchain support
Jesse Hall [Fri, 4 Sep 2015 23:12:33 +0000 (16:12 -0700)]
vulkan: Add skeleton swapchain support

Loader and driver entry points exist and the call chains are hooked up
properly, but functions are just empty stubs for now.

Change-Id: I6ff95e47d1d09ebed41eda8accb71686c8249546
(cherry picked from commit 038c8a740bbda4650bec776023a26a7fcbf93864)

8 years agovulkan: add copyright notices
Jesse Hall [Tue, 8 Sep 2015 14:44:48 +0000 (07:44 -0700)]
vulkan: add copyright notices

Change-Id: I62ec6d02a052c9e9cee9753057d55c165dfc9713
(cherry picked from commit b7f416a9cc3d136ffe4a60b5f6fb2dc8b92a623b)

8 years agovknulldrv: Implement VkImage
Jesse Hall [Wed, 2 Sep 2015 01:07:41 +0000 (18:07 -0700)]
vknulldrv: Implement VkImage

Change-Id: Ief50f433fc9b1ad4f4b0ee28912993d59d9df411
(cherry picked from commit cd1a7c4312ac5828682e580fdbbad7b10dbf5a45)

8 years agovulkan: warn on bogus CreateBuffer args
Jesse Hall [Tue, 1 Sep 2015 23:24:29 +0000 (16:24 -0700)]
vulkan: warn on bogus CreateBuffer args

Change-Id: I415a367f3952ef08f8b659d15ce4278da8c4b70a
(cherry picked from commit f96997afd168a31582217d19fc237163c963dad0)

8 years agovulkan: Set up VkCmdBuffer dispatching
Jesse Hall [Mon, 31 Aug 2015 19:52:03 +0000 (12:52 -0700)]
vulkan: Set up VkCmdBuffer dispatching

Change-Id: Ifb3cea05dab8828c2c00b8ed60c5ad991cdcbea7
(cherry picked from commit 10bf73e13b6904afa606fdcdc05bcc510c605180)

8 years agovknulldrv: Implement creation of no-op object types
Jesse Hall [Mon, 31 Aug 2015 18:34:32 +0000 (11:34 -0700)]
vknulldrv: Implement creation of no-op object types

Change-Id: If093f4c0775415608851b9c0ce356d4916e16ee8
(cherry picked from commit d1a9e4154cdacdba0f84054688f3b2c8d530e073)

8 years agovknulldrv: implement VkDeviceMemory objects
Jesse Hall [Sat, 29 Aug 2015 17:10:59 +0000 (18:10 +0100)]
vknulldrv: implement VkDeviceMemory objects

Change-Id: If9c22b3800058877c7854d59622b7205b79cf731
(cherry picked from commit 4ff851997ef2972b3b846656d93a06e44858259e)

8 years agovknulldrv: implement VkBuffer objects
Jesse Hall [Sat, 29 Aug 2015 16:06:12 +0000 (17:06 +0100)]
vknulldrv: implement VkBuffer objects

Change-Id: Idda564392cf8daae6ea8c3a9809e6df990433a33
(cherry picked from commit aee62ea7ff379dde787344e1377b51fefb2385d6)

8 years agovulkan: add memory property queries to nulldrv and vkinfo
Jesse Hall [Tue, 25 Aug 2015 14:09:15 +0000 (15:09 +0100)]
vulkan: add memory property queries to nulldrv and vkinfo

Change-Id: Ib3ceb46ff4e46a25787d8c980b8339328b471925
(cherry picked from commit 6c5ee23b92f420387f46da97714780f9ce12681a)

8 years agovulkan: initial loader and null driver
Jesse Hall [Mon, 17 Aug 2015 02:51:04 +0000 (19:51 -0700)]
vulkan: initial loader and null driver

Change-Id: Id5ebb5f01e61e9b114990f49c64c88fbbb7b730e
(cherry picked from commit 4df205cdfc61e66de774ba50be9ef59a08cf88bb)

8 years agovulkan: apply 138.0..v138.2 changes to api file
Jesse Hall [Sun, 16 Aug 2015 02:54:28 +0000 (19:54 -0700)]
vulkan: apply 138.0..v138.2 changes to api file

Change-Id: Icdadba710a2990e26ca13472f0efad55f66a403e
(cherry picked from commit 38347619f9d99bb4756ccde83389242e0f3d8986)

8 years agovulkan: import api from upstream
Jesse Hall [Sun, 16 Aug 2015 00:58:48 +0000 (17:58 -0700)]
vulkan: import api from upstream

Imported from 74e25b28dc0e198a69add358d541b25291bcde82, which
corresponds to header version 0.138.0.

Change-Id: Ia9bde11a213527b1c366eb4b82aec8650ca13666
(cherry picked from commit 4e262baf54382c455c191a4c1417dec8d17e8926)

8 years agovulkan: several updates to implementor's guide
Jesse Hall [Mon, 17 Aug 2015 06:36:28 +0000 (23:36 -0700)]
vulkan: several updates to implementor's guide

Change-Id: I1ec78e993da16fe9e0b3c86abc2c67f68e634823
(cherry picked from commit d3e348755504a1a32953b61e88d31478fa82eea2)

8 years agovulkan: add initial vkandroid doc
Jesse Hall [Sun, 16 Aug 2015 00:56:53 +0000 (17:56 -0700)]
vulkan: add initial vkandroid doc

Change-Id: I40aa41941bfbe0f33f30446e83ef62f5358e47d4
(cherry picked from commit 64b41615ead7f7ba1df309889cbbc7aee60cb3f4)

8 years agoMerge "Set cpuset from surfaceflinger."
Tim Murray [Mon, 25 Jan 2016 18:45:04 +0000 (18:45 +0000)]
Merge "Set cpuset from surfaceflinger."

8 years agoMerge "Implementation of HCE for NFC-F." am: 695d489450
Martijn Coenen [Mon, 25 Jan 2016 09:53:32 +0000 (09:53 +0000)]
Merge "Implementation of HCE for NFC-F." am: 695d489450
am: 6c98d282de

* commit '6c98d282de7604fcbdbc07be009d9e5a3a0d9f44':
  Implementation of HCE for NFC-F.

8 years agoMerge "Implementation of HCE for NFC-F."
Martijn Coenen [Mon, 25 Jan 2016 09:51:45 +0000 (09:51 +0000)]
Merge "Implementation of HCE for NFC-F."
am: 695d489450

* commit '695d489450cc6ce102979846fe5e8ac565d9151a':
  Implementation of HCE for NFC-F.

8 years agoMerge "Implementation of HCE for NFC-F."
Martijn Coenen [Mon, 25 Jan 2016 09:47:27 +0000 (09:47 +0000)]
Merge "Implementation of HCE for NFC-F."

8 years agoImplementation of HCE for NFC-F.
Yoshinobu Ito [Mon, 18 Jan 2016 12:02:47 +0000 (21:02 +0900)]
Implementation of HCE for NFC-F.

This impementation includes HCE(Host-based Card Emulation) for NFC-F
which emulates NFC Forum Type 3 Tag on a smartphone.

Signed-off-by: Daisuke Ito <DaisukeE.Ito@jp.sony.com>
               Yoshinobu Ito <Yoshinobu.Ito@jp.sony.com>

Change-Id: I1618a7fba801e0705ff3cc078206a1446b3dd56d

8 years agoMerge "Add NDK Choreographer API headers"
Michael Wright [Fri, 22 Jan 2016 00:31:40 +0000 (00:31 +0000)]
Merge "Add NDK Choreographer API headers"

8 years agoAdd NDK Choreographer API headers
Michael Wright [Mon, 7 Dec 2015 20:26:38 +0000 (15:26 -0500)]
Add NDK Choreographer API headers

Change-Id: Ib75d3341db4e48b328b7b92497a303c01c53fc90

8 years agoMerge "installd: Rename USEJIT to EXTRACTONLY"
David Brazdil [Thu, 21 Jan 2016 10:46:43 +0000 (10:46 +0000)]
Merge "installd: Rename USEJIT to EXTRACTONLY"

8 years agoMerge "media: add OMX_VIDEO_CodingDolbyVision."
Ronghua Wu [Thu, 21 Jan 2016 00:44:18 +0000 (00:44 +0000)]
Merge "media: add OMX_VIDEO_CodingDolbyVision."

8 years agoSet cpuset from surfaceflinger.
Tim Murray [Tue, 10 Nov 2015 22:29:45 +0000 (14:29 -0800)]
Set cpuset from surfaceflinger.

SurfaceFlinger shouldn't be limited to little cores exclusively, as the
binder threads should be placed on big cores when they are in the
critical path for a RenderThread.

bug 25745866

Change-Id: I9fb65f6d951733f91b4735ff27018411b58b2bfb

8 years agoinstalld: Rename USEJIT to EXTRACTONLY
David Brazdil [Wed, 30 Dec 2015 11:16:04 +0000 (11:16 +0000)]
installd: Rename USEJIT to EXTRACTONLY

Change-Id: I8d68e32dd9bbb7f6eee2f3aad886792d85cb12ca

8 years agoMerge "Add profile guided compilation hooks in installd"
Calin Juravle [Tue, 19 Jan 2016 19:51:48 +0000 (19:51 +0000)]
Merge "Add profile guided compilation hooks in installd"

8 years agoAdd profile guided compilation hooks in installd
Calin Juravle [Thu, 24 Dec 2015 10:36:41 +0000 (12:36 +0200)]
Add profile guided compilation hooks in installd

Bug: 26080105
Change-Id: I6aaddffe79c55b9a6560c2d6542cf87abbd4fb11

8 years agoChange permissions of apps' home dir to 0700 for SDK > 23
Janis Danisevskis [Tue, 12 Jan 2016 14:45:55 +0000 (14:45 +0000)]
Change permissions of apps' home dir to 0700 for SDK > 23

This patchset changes the installd such that apps' home
directory has permissions set to 0700 if build for a
target SDK version. In consequence the commands

create_app_data and move_complete_app

get one more parameter, the target SDK version.
Apps built for a lower SDK version will still have
home directories with permissions set to 0751.

Bug: 7208882
Change-Id: I0213834dd946c72f5d7e31965a9dc517ced268db

8 years agoMerge "Remove older migration code."
Jeff Sharkey [Sat, 16 Jan 2016 00:41:09 +0000 (00:41 +0000)]
Merge "Remove older migration code."

8 years agoRemove older migration code.
Jeff Sharkey [Wed, 13 Jan 2016 16:37:46 +0000 (09:37 -0700)]
Remove older migration code.

We used to offer to migrate pre-multi-user devices to the new
multi-user layout around JB, but the new layout has been the default
for many years now, so it's safe to remove this logic.

All core directory creation is now handled by init.rc where FBE
policies can be setup correctly, so we shouldn't be in the business
of doing system bootstrapping here.

Remove some lingering FBE debugging code.

Bug: 26466827
Change-Id: I1dfe9c8fc02b64013a5c45cea99bf8f61f7d1d5b

8 years agoIGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c...
Robert Shih [Fri, 15 Jan 2016 02:21:41 +0000 (02:21 +0000)]
IGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c am: dc9ec35294 am: 9d959e2755 am: edb7c81a1b am: 2a7a1247cb am: 40ba03fc68 am: ea2b6c68e1 am: 6df23e81f7 am: c748125025
am: db5c5bb025

* commit 'db5c5bb0259fa024517d9a151726785facba4f02':
  IGraphicBufferProducer: fix QUEUE_BUFFER info leak

8 years agoIGraphicBufferConsumer: fix ATTACH_BUFFER info leak am: dded8fdbb7 am: 7ee203b59d...
Robert Shih [Fri, 15 Jan 2016 02:21:36 +0000 (02:21 +0000)]
IGraphicBufferConsumer: fix ATTACH_BUFFER info leak am: dded8fdbb7 am: 7ee203b59d am: dc252255af am: 202aaa8f97 am: ec87aa5218 am: c5cb7c489b am: e8cceaf02f am: aef60500d2
am: 362647d373

* commit '362647d37327db2ed53301398a9de7c030af2d42':
  IGraphicBufferConsumer: fix ATTACH_BUFFER info leak

8 years agoIGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c...
Robert Shih [Fri, 15 Jan 2016 02:03:07 +0000 (02:03 +0000)]
IGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c am: dc9ec35294 am: 9d959e2755 am: edb7c81a1b am: 2a7a1247cb am: 40ba03fc68 am: ea2b6c68e1 am: 6df23e81f7
am: c748125025

* commit 'c7481250259144c2f7795408ad971f4a9319d996':
  IGraphicBufferProducer: fix QUEUE_BUFFER info leak

8 years agoIGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c...
Robert Shih [Fri, 15 Jan 2016 02:00:24 +0000 (02:00 +0000)]
IGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c am: dc9ec35294 am: 9d959e2755 am: edb7c81a1b am: 2a7a1247cb am: 40ba03fc68 am: ea2b6c68e1
am: 6df23e81f7

* commit '6df23e81f762ec7bdf3d575582ad51aaef5172cf':
  IGraphicBufferProducer: fix QUEUE_BUFFER info leak

8 years agoIGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c...
Robert Shih [Fri, 15 Jan 2016 01:58:27 +0000 (01:58 +0000)]
IGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c am: dc9ec35294 am: 9d959e2755 am: edb7c81a1b am: 2a7a1247cb am: 40ba03fc68
am: ea2b6c68e1

* commit 'ea2b6c68e14b918972b1390765fdf4f748b49ba2':
  IGraphicBufferProducer: fix QUEUE_BUFFER info leak

8 years agoIGraphicBufferConsumer: fix ATTACH_BUFFER info leak am: dded8fdbb7 am: 7ee203b59d...
Robert Shih [Fri, 15 Jan 2016 01:56:25 +0000 (01:56 +0000)]
IGraphicBufferConsumer: fix ATTACH_BUFFER info leak am: dded8fdbb7 am: 7ee203b59d am: dc252255af am: 202aaa8f97 am: ec87aa5218 am: c5cb7c489b am: e8cceaf02f
am: aef60500d2

* commit 'aef60500d2a505c3dbbea74f62053c0bb072d5a7':
  IGraphicBufferConsumer: fix ATTACH_BUFFER info leak

8 years agoIGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c...
Robert Shih [Fri, 15 Jan 2016 01:56:25 +0000 (01:56 +0000)]
IGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c am: dc9ec35294 am: 9d959e2755 am: edb7c81a1b am: 2a7a1247cb
am: 40ba03fc68

* commit '40ba03fc68e6c234bb8604784716cb2481ad1c67':
  IGraphicBufferProducer: fix QUEUE_BUFFER info leak

8 years agoIGraphicBufferConsumer: fix ATTACH_BUFFER info leak am: dded8fdbb7 am: 7ee203b59d...
Robert Shih [Fri, 15 Jan 2016 01:54:27 +0000 (01:54 +0000)]
IGraphicBufferConsumer: fix ATTACH_BUFFER info leak am: dded8fdbb7 am: 7ee203b59d am: dc252255af am: 202aaa8f97 am: ec87aa5218 am: c5cb7c489b
am: e8cceaf02f

* commit 'e8cceaf02f7e15e1ef0c3446c4287ce58cc325ba':
  IGraphicBufferConsumer: fix ATTACH_BUFFER info leak

8 years agoIGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c...
Robert Shih [Fri, 15 Jan 2016 01:54:27 +0000 (01:54 +0000)]
IGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c am: dc9ec35294 am: 9d959e2755 am: edb7c81a1b
am: 2a7a1247cb

* commit '2a7a1247cb4829daaaa4e6a6ee3e670cd2f068bf':
  IGraphicBufferProducer: fix QUEUE_BUFFER info leak

8 years agoIGraphicBufferConsumer: fix ATTACH_BUFFER info leak am: dded8fdbb7 am: 7ee203b59d...
Robert Shih [Fri, 15 Jan 2016 01:52:25 +0000 (01:52 +0000)]
IGraphicBufferConsumer: fix ATTACH_BUFFER info leak am: dded8fdbb7 am: 7ee203b59d am: dc252255af am: 202aaa8f97 am: ec87aa5218
am: c5cb7c489b

* commit 'c5cb7c489bcc3a52abdd4d02fb353b0a7b8557eb':
  IGraphicBufferConsumer: fix ATTACH_BUFFER info leak

8 years agoIGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c...
Robert Shih [Fri, 15 Jan 2016 01:52:25 +0000 (01:52 +0000)]
IGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c am: dc9ec35294 am: 9d959e2755
am: edb7c81a1b

* commit 'edb7c81a1b99d2456910b03db9e4ac250eac2fab':
  IGraphicBufferProducer: fix QUEUE_BUFFER info leak

8 years agoIGraphicBufferConsumer: fix ATTACH_BUFFER info leak am: dded8fdbb7 am: 7ee203b59d...
Robert Shih [Fri, 15 Jan 2016 01:50:22 +0000 (01:50 +0000)]
IGraphicBufferConsumer: fix ATTACH_BUFFER info leak am: dded8fdbb7 am: 7ee203b59d am: dc252255af am: 202aaa8f97
am: ec87aa5218

* commit 'ec87aa52189d5d3bbf5df214ab099d5de9f5836c':
  IGraphicBufferConsumer: fix ATTACH_BUFFER info leak

8 years agoIGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c...
Robert Shih [Fri, 15 Jan 2016 01:50:22 +0000 (01:50 +0000)]
IGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37 am: 413318311c am: dc9ec35294
am: 9d959e2755

* commit '9d959e275561bcace3aab1f9df009c6c880003fa':
  IGraphicBufferProducer: fix QUEUE_BUFFER info leak