Mesa (master): 26 new commits
Axel Davy
axeldavy at kemper.freedesktop.org
Tue Dec 20 22:47:20 UTC 2016
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=123e947228241e743a4d0fdb8a911f57a3dd4ef9
Author: Axel Davy <axel.davy at ens.fr>
Date: Sun Dec 18 19:21:08 2016 +0100
st/nine: Upload on secondary context for Draw*Up
Avoid synchronization by using the secondary context
for uploading the vertex data for Draw*Up.
v2: Rely on u_upload_mgr to use persistent coherent
buffers. Do not flush.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ec4e5f630ed68ece3f176b174cfd66eff023904
Author: Axel Davy <axel.davy at ens.fr>
Date: Tue Dec 13 01:16:21 2016 +0100
st/nine: Dirty MANAGED buffers at Lock time
Tests suggest MANAGED buffers are made dirty
at Lock time, not at Unlock time.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bad7f7cc638391acc93f070fce3e1b7035dc48f8
Author: Axel Davy <axel.davy at ens.fr>
Date: Sun Dec 4 20:34:59 2016 +0100
st/nine: Implement new buffer upload path
This new buffer upload path enables to lock
faster than the normal path when using
DISCARD/NOOVERWRITE.
v2: Diverse cleanups and fixes.
v3: Fix allocation size for 'lone' buffers and
add more debug info.
v4: Rewrite of the path to handle when DISCARD/NOOVERWRITE
is not used anymore. The resource content is copied to the
new resource used.
v5: flush for safety after unmap (not sure it is really required
here, but safer to flush).
v6: Do not use the path if persistent coherent mapping is unavailable.
Fix buffer creation flags.
v7: Do not flush since it is not needed.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8960be0e939bc6c0f9f34c5d4a16891af7e325fd
Author: Axel Davy <axel.davy at ens.fr>
Date: Sun Dec 4 19:23:11 2016 +0100
st/nine: Allow non-zero resource offset for vertex buffers
Next patches will introduce an offset.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e64be6f91652e7e5ba60c86c379ee41bb7e4f81
Author: Axel Davy <axel.davy at ens.fr>
Date: Sun Dec 4 10:34:34 2016 +0100
st/nine: Do not wait for DEFAULT lock for volumes when we can
If the volumes (and the texture container) are not referenced,
then they are no pending operations on them. We can lock directly.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4f16615ef6546c6f8eab8a2d2a50cdab1773a91
Author: Axel Davy <axel.davy at ens.fr>
Date: Sun Dec 4 10:33:19 2016 +0100
st/nine: Do not wait for DEFAULT lock for surfaces when we can
If the surfaces (and the texture container) are not referenced,
then they are no pending operations on them. We can lock directly.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=525a1b292a3d65857db06832e175fba840b75ff8
Author: Axel Davy <axel.davy at ens.fr>
Date: Sun Dec 4 10:32:01 2016 +0100
st/nine: Add arguments to context's blit and copy_region
The new arguments enable to reference the objects while
the function hasn't run.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=325324c749c2331162e7889efc335bfcfcd27005
Author: Axel Davy <axel.davy at ens.fr>
Date: Sun Dec 4 01:13:25 2016 +0100
st/nine: Idem for nine_context_gen_mipmap
Will enable to use the bind count as an information for
whether the surface/volume is used in the worker thread.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7089d88199d607d8a135a9605f14ec6393134205
Author: Axel Davy <axel.davy at ens.fr>
Date: Sun Dec 4 01:10:34 2016 +0100
st/nine: Bind destination for surface/volume uploads
Will enable to use the bind count as an information for
whether the surface/volume is used in the worker thread.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4a9b21feb890c149f0aa44b0bb6ea63a9932925
Author: Axel Davy <axel.davy at ens.fr>
Date: Sun Dec 4 00:29:16 2016 +0100
st/nine: Use nine_context_box_upload for volumes
Use nine_context_box_upload for uploads:
. systemmem volume to default volume
. managed volume internal content to its resource.
Check the uploads are executed before any action
that can alter the data, that is LockBox and
volume destruction.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f04263923132bcf0425e1297da460543e93a95fe
Author: Axel Davy <axel.davy at ens.fr>
Date: Mon Dec 5 00:12:52 2016 +0100
st/nine: Fix leak with volume dtor
The last level was not released.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76e392d85239718e6a7b20c914b4827db2828b40
Author: Axel Davy <axel.davy at ens.fr>
Date: Mon Dec 5 00:12:07 2016 +0100
st/nine: Fix leak with cubetexture dtor
The last level was not released.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fec0b7f0672b3d4d6507dd705abb9e2a74943401
Author: Axel Davy <axel.davy at ens.fr>
Date: Sun Dec 4 00:19:45 2016 +0100
st/nine: Use nine_context_box_upload for surfaces
Use nine_context_box_upload for uploads:
. systemmem surface to default surface
. managed surface internal content to its resource.
Check the uploads are executed before any action
that can alter the data, that is LockRect,
NineSurface9_CopyDefaultToMem and surface destruction.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c873a2bd0c5a9fcb6e83f23e4494b5f53d71288b
Author: Axel Davy <axel.davy at ens.fr>
Date: Sat Dec 3 23:18:30 2016 +0100
st/nine: Implement nine_context_box_upload
This function will be used for surface and volume uploads
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cadc7a5d9459b7a47d934cf0055a1a06d1f774d4
Author: Axel Davy <axel.davy at ens.fr>
Date: Sat Dec 3 23:04:07 2016 +0100
st/nine: Use nine_context_gen_mipmap in BaseTexture9
Generate mipmaps in the worker thread.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d3e0f2187d146e7b34abe1f852320ea5e14732e
Author: Axel Davy <axel.davy at ens.fr>
Date: Sat Dec 3 23:01:56 2016 +0100
st/nine: Implement nine_context_gen_mipmap
To offload mipmap generation as well.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=16b6fb65ae03902f731b863802c094c4d854def1
Author: Axel Davy <axel.davy at ens.fr>
Date: Thu Dec 1 22:50:22 2016 +0100
st/nine: Optimize managed buffer upload
Do the upload in the other thread.
Usually managed buffers are used once per frame.
It is then very likely pending_upload is 0 at Lock
time.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a78b5f437865fc976154d226eb87b67ef2f098d2
Author: Axel Davy <axel.davy at ens.fr>
Date: Thu Dec 1 22:44:06 2016 +0100
st/nine: Implement nine_context_range_upload
Will be used to upload buffers.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1843e36b03ed04d24a8baaac81eda3a84e676c72
Author: Axel Davy <axel.davy at ens.fr>
Date: Sat Dec 3 19:41:40 2016 +0100
st/nine: Do not bind the container if forward is false
This doesn't make sense to bind the container in that specific case.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2fc8ef1401d455e3861bb233f09de4158d56a6be
Author: Axel Davy <axel.davy at ens.fr>
Date: Sat Dec 3 19:37:06 2016 +0100
st/nine: Comment and simplify iunknown
The behaviour is a bit less obscure now.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=098ba64c4c2e15defb469b791fb3e88f89ae8759
Author: Axel Davy <axel.davy at ens.fr>
Date: Sat Dec 3 18:58:00 2016 +0100
st/nine: Detach buffers in swapchain dtor.
BackBuffers can survive swapchain dtor if
the user has a reference on them.
The swapchain itself has no reference on the buffer.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=14875ebd83fe746fc8c42496c385cc261e495dd2
Author: Axel Davy <axel.davy at ens.fr>
Date: Sat Dec 3 18:46:26 2016 +0100
st/nine: Fix NineUnknown_Detach
We don't bind the container in AddRef.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=930f479acf07296b25806fc55a07bff6e307d5c6
Author: Axel Davy <axel.davy at ens.fr>
Date: Sat Dec 3 17:52:12 2016 +0100
st/nine: Simplify ARG_BIND_REF
Remove some noop operations.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c4b4e8809f1e6e076c01ba7b11dc1636c2a26b4
Author: Axel Davy <axel.davy at ens.fr>
Date: Sun Nov 13 16:28:33 2016 +0100
st/nine: Avoid flushing the queue for queries GetData
Use the newly introduced counter to know when we don't
need synchronization.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a69343f1e8c59137d7b746e5ca8ef1e7944c7d6
Author: Patrick Rudolph <siro at das-labor.org>
Date: Sun Nov 13 15:41:58 2016 +0100
st/nine: Add CSMT_NO_WAIT_WITH_COUNTER
Similar to the other macros, but introduces a counter,
which enables to know when the instructions has been
executed.
Signed-off-by: Patrick Rudolph <siro at das-labor.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=884166a251ec45f2bfac0139f18b162d31db241e
Author: Axel Davy <axel.davy at ens.fr>
Date: Sun Nov 13 12:47:58 2016 +0100
st/nine: Use nine_context_clear_render_target
Enables to not wait for the worker thread for ColorFill.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
More information about the mesa-commit
mailing list