<feed xmlns='http://www.w3.org/2005/Atom'>
<title>device_generic_goldfish-opengl, branch sdk-release</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/device_generic_goldfish-opengl/'/>
<entry>
<title>Snap for 6877830 from 16dbce711df7ed86dd4f2960af335c461c0d6127 to sdk-release</title>
<updated>2020-10-01T20:29:35+00:00</updated>
<author>
<name>android-build-prod (mdb)</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2020-10-01T20:29:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/device_generic_goldfish-opengl/commit/?id=371d5e67abefe8e27add5ffc6ecdf35c7458a9a7'/>
<id>371d5e67abefe8e27add5ffc6ecdf35c7458a9a7</id>
<content type='text'>
Change-Id: I84aa10c1578e6da24300aa015c749e4a39fdcd36
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I84aa10c1578e6da24300aa015c749e4a39fdcd36
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Switch to vk_icdInitializeOpenInNamespaceCallback"</title>
<updated>2020-10-01T14:09:51+00:00</updated>
<author>
<name>cstout</name>
<email>cstout@google.com</email>
</author>
<published>2020-10-01T14:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/device_generic_goldfish-opengl/commit/?id=16dbce711df7ed86dd4f2960af335c461c0d6127'/>
<id>16dbce711df7ed86dd4f2960af335c461c0d6127</id>
<content type='text'>
This reverts commit 4b18053d54987324b93870c34d275526035cfc44.

Reason for revert: Fails Fuchsia CQ because some prebuilts have not yet adopted the new Vulkan Loader. Will restore ASAP.

Change-Id: I7fcf5a4c765a8fb6bec262fabe7d08759abf34b2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 4b18053d54987324b93870c34d275526035cfc44.

Reason for revert: Fails Fuchsia CQ because some prebuilts have not yet adopted the new Vulkan Loader. Will restore ASAP.

Change-Id: I7fcf5a4c765a8fb6bec262fabe7d08759abf34b2
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to vk_icdInitializeOpenInNamespaceCallback</title>
<updated>2020-09-30T21:11:04+00:00</updated>
<author>
<name>Craig Stout</name>
<email>cstout@google.com</email>
</author>
<published>2020-09-30T21:10:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/device_generic_goldfish-opengl/commit/?id=4b18053d54987324b93870c34d275526035cfc44'/>
<id>4b18053d54987324b93870c34d275526035cfc44</id>
<content type='text'>
fxb/60206

Change-Id: I95b40de991f665223d38327ea21d31fc4b86a688
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fxb/60206

Change-Id: I95b40de991f665223d38327ea21d31fc4b86a688
</pre>
</div>
</content>
</entry>
<entry>
<title>fuchsia: Set sysmem constraints only if format/tiling/usage valid on host.</title>
<updated>2020-09-18T20:44:16+00:00</updated>
<author>
<name>Yilong Li</name>
<email>liyl@google.com</email>
</author>
<published>2020-09-18T17:07:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/device_generic_goldfish-opengl/commit/?id=ab89e17faf95f6180907067b5f79023972ef48c0'/>
<id>ab89e17faf95f6180907067b5f79023972ef48c0</id>
<content type='text'>
Host Vulkan driver may not support some specific format, tiling and
image usage combinations. Before guest ICD set up sysmem buffer
collection constraints, guest needs to verify the image properties
to ensure that this works on host Vulkan driver, otherwise it may
cause further issues with the ColorBuffer/guest Vulkan image.

TEST=chromium test on FEMU.

Change-Id: I391c564a39cfecf35e8e2ca6486f8e35bed5ee96
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Host Vulkan driver may not support some specific format, tiling and
image usage combinations. Before guest ICD set up sysmem buffer
collection constraints, guest needs to verify the image properties
to ensure that this works on host Vulkan driver, otherwise it may
cause further issues with the ColorBuffer/guest Vulkan image.

TEST=chromium test on FEMU.

Change-Id: I391c564a39cfecf35e8e2ca6486f8e35bed5ee96
</pre>
</div>
</content>
</entry>
<entry>
<title>Use VkEncoder.inl.* instead of letting it be generated (guest)</title>
<updated>2020-09-17T22:15:10+00:00</updated>
<author>
<name>Lingfeng Yang</name>
<email>lfy@google.com</email>
</author>
<published>2020-09-17T06:50:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/device_generic_goldfish-opengl/commit/?id=dcac4016ab98b5b54a98bded4ec371e776194d3b'/>
<id>dcac4016ab98b5b54a98bded4ec371e776194d3b</id>
<content type='text'>
Change-Id: I1f7e22406dcb93f60afe94b9e3f6b4e74706479a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I1f7e22406dcb93f60afe94b9e3f6b4e74706479a
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Don't try to do robust buffer access checks on non-linked attrib indices"</title>
<updated>2020-09-17T22:14:48+00:00</updated>
<author>
<name>Lingfeng Yang</name>
<email>lfy@google.com</email>
</author>
<published>2020-09-17T22:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/device_generic_goldfish-opengl/commit/?id=3cee6dfa624d3944e9bf8d5e2d9cb16f988669d7'/>
<id>3cee6dfa624d3944e9bf8d5e2d9cb16f988669d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't try to do robust buffer access checks on non-linked attrib indices</title>
<updated>2020-09-17T03:33:43+00:00</updated>
<author>
<name>Lingfeng Yang</name>
<email>lfy@google.com</email>
</author>
<published>2020-09-17T01:55:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/device_generic_goldfish-opengl/commit/?id=62054e92be714b2f17aeea2f9347cfa0139f30c2'/>
<id>62054e92be714b2f17aeea2f9347cfa0139f30c2</id>
<content type='text'>
There's no danger from allowing out of bounds access there if the shader
program does nothing with it.

Don't upload client arrays in that case either.

Change-Id: Ic356a75d28fcf880608f3d44ca123bba18913c65
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's no danger from allowing out of bounds access there if the shader
program does nothing with it.

Don't upload client arrays in that case either.

Change-Id: Ic356a75d28fcf880608f3d44ca123bba18913c65
</pre>
</div>
</content>
</entry>
<entry>
<title>vulkan: Use heap type to determine buffer collection type</title>
<updated>2020-09-17T01:51:36+00:00</updated>
<author>
<name>Yilong Li</name>
<email>liyl@google.com</email>
</author>
<published>2020-09-17T01:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/device_generic_goldfish-opengl/commit/?id=452ffebe65e6d0d8db786f16f1adafea466082a4'/>
<id>452ffebe65e6d0d8db786f16f1adafea466082a4</id>
<content type='text'>
Instead of using coherency domain, goldfish should use |heap|
properties to determine the buffer collection type, and reject
all the non-goldfish buffer collections.

TEST=chromium on core.qemu-x64

Change-Id: Ia8d11519f89ce9e880525a188c327dba7cc286dc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of using coherency domain, goldfish should use |heap|
properties to determine the buffer collection type, and reject
all the non-goldfish buffer collections.

TEST=chromium on core.qemu-x64

Change-Id: Ia8d11519f89ce9e880525a188c327dba7cc286dc
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "vulkan: Support imported host-visible memory on Fuchsia."</title>
<updated>2020-09-16T21:15:45+00:00</updated>
<author>
<name>Yilong Li</name>
<email>liyl@google.com</email>
</author>
<published>2020-09-16T21:15:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/device_generic_goldfish-opengl/commit/?id=e8f712f5d1edd931aa919d6b3857ff1c33891ccf'/>
<id>e8f712f5d1edd931aa919d6b3857ff1c33891ccf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vulkan: Support imported host-visible memory on Fuchsia.</title>
<updated>2020-09-16T19:35:00+00:00</updated>
<author>
<name>Yilong Li</name>
<email>liyl@google.com</email>
</author>
<published>2020-09-13T01:55:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/device_generic_goldfish-opengl/commit/?id=1ce350b9e9f9783d404a4c821080bd78b2de5e33'/>
<id>1ce350b9e9f9783d404a4c821080bd78b2de5e33</id>
<content type='text'>
This change adds required logic to support GOLDFISH_HOST_VISIBLE
heap and host-visible external memory allocation on Fuchsia.

It includes the following parts:

(1) BufferCollectionConstraints:

    Now both DEVICE_LOCAL and HOST_VISIBLE domain can be added to
    the buffer_constraints.

    Currently, the domain of buffer collection constraints set in
    "setBufferCollectionConstraints(collection, image_create_info)"
    suppots both Heap types; other sysmem participants need to specify
    buffer memory constraints (cpu_supported, ram_supported,
    inaccessible_supported) or directly specify HeapType to choose
    the actual Heap.

(2) Stride:

    The stride of the Image will be determined by host GPU using
    vkGetLinearImageLayoutGOOGLE() method; other sysmem participants
    should NOT specify stride / offset requirements.

(3) Usage:

    Currently the VMO and VMAR rights is completely determined by the
    VkImage usage. It is writeable only when the usages in their
    ImageCreateInfo contains some writeable types (e.g. TRANSFER_DST).

TEST=terminal and spinning-square-rs on FEMU (software-gpu).

     Both apps uses host rendering and allocates image buffers from sysmem
     host-visible Heap.

Bug: fuchsia:54153
Change-Id: I8268b5fbe6d8a547bde2b02537130530849831f7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds required logic to support GOLDFISH_HOST_VISIBLE
heap and host-visible external memory allocation on Fuchsia.

It includes the following parts:

(1) BufferCollectionConstraints:

    Now both DEVICE_LOCAL and HOST_VISIBLE domain can be added to
    the buffer_constraints.

    Currently, the domain of buffer collection constraints set in
    "setBufferCollectionConstraints(collection, image_create_info)"
    suppots both Heap types; other sysmem participants need to specify
    buffer memory constraints (cpu_supported, ram_supported,
    inaccessible_supported) or directly specify HeapType to choose
    the actual Heap.

(2) Stride:

    The stride of the Image will be determined by host GPU using
    vkGetLinearImageLayoutGOOGLE() method; other sysmem participants
    should NOT specify stride / offset requirements.

(3) Usage:

    Currently the VMO and VMAR rights is completely determined by the
    VkImage usage. It is writeable only when the usages in their
    ImageCreateInfo contains some writeable types (e.g. TRANSFER_DST).

TEST=terminal and spinning-square-rs on FEMU (software-gpu).

     Both apps uses host rendering and allocates image buffers from sysmem
     host-visible Heap.

Bug: fuchsia:54153
Change-Id: I8268b5fbe6d8a547bde2b02537130530849831f7
</pre>
</div>
</content>
</entry>
</feed>
