|
e708fc02
|
2014-03-17T10:23:18
|
|
Only use map-write instead of map-write-discard.
In D3D11, map-discard is reserved for DYNAMIC usage buffer,
which are resources that live on the GPU. Staging buffers
don't have the notion of map-discard, and using them with
discard gives a D3D11 error.
This patch fixes crashes in dEQP buffer.map.write.invalidate.
BUG=angle:587
Change-Id: Ie225e72d4e226c69e73826c9fb67bbb940bbc466
Reviewed-on: https://chromium-review.googlesource.com/190072
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
eeba6e1e
|
2014-02-03T13:12:30
|
|
Added methods for applying the current transform feedback buffers.
BUG=angle:495
Change-Id: I2d9fbf9c245bc519b8c5a724ca3912aaa7a23d97
Reviewed-on: https://chromium-review.googlesource.com/185034
Tested-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
|
|
9533dcd3
|
2014-02-24T15:27:20
|
|
Implement BufferStorage11 mapping functions.
BUG=angle:565
Change-Id: I4f416981bc63098f0364653ff279b3f54eeb756e
Reviewed-on: https://chromium-review.googlesource.com/186979
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
d9fa3b94
|
2014-02-19T10:30:51
|
|
Add Map-related stubs to BufferStorage.
BUG=angle:565
Change-Id: I7db13e8e5fb386f5e40dd2a2e273e35f01c1f28c
Reviewed-on: https://chromium-review.googlesource.com/186978
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
ecc8b6f4
|
2014-01-30T10:44:23
|
|
Refactor BufferStorage11.
In preparation for transform feedback, BufferStorage11 needs to be able to
handle a non-staging buffer being updated. Each D3D11 buffer now has an
incrementing data revision associated with it so the most up-to-date
buffer is always known.
Staging buffers are now represented like any other DirectBuffer.
Change-Id: I6e881867cb2bd02d600213d08cce3ebba316c525
Reviewed-on: https://chromium-review.googlesource.com/184395
Tested-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
|
|
9eeecfc2
|
2014-01-29T09:26:48
|
|
Split DXGI format info to a GL mapping and info block.
The GL mapping depends on context client version (for certain depth
textures), but the DXGI base format info is consistent across
versions. Also add DXGI component type information to the table,
and add a few missing formats related to vertex inputs.
Change-Id: I2d1a8ca92b1cb39f4592d94d7d435ae0ada1de65
Reviewed-on: https://chromium-review.googlesource.com/183583
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
9c53f1e9
|
2014-01-08T13:41:47
|
|
Add more D3D11 buffer usages.
Works around performance regressions when index and vertex buffer bind flags are used on the same buffer.
Change-Id: I28bc0d3147c6bd70cec507f20e41d97ec4cc45a5
Reviewed-on: https://chromium-review.googlesource.com/181911
Tested-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
|
|
453aaba4
|
2013-11-20T11:02:23
|
|
Don't let mBufferSize fall out of sync with the actual buffer size. Pervents unnecessary buffer re-creations.
Change-Id: Ie40300865dcd7830fe8eafbccfaa3edad46c7b52
|
|
4461f097
|
2013-10-10T15:10:39
|
|
Add support for the "fast path" (GPU copy) pixel unpack buffers in TexImage2D.
TRAC #23844
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
171ca0ea
|
2013-10-10T15:10:31
|
|
Refactor direct buffer storage to only create two backing buffers, for constant buffers and all other bindings.
This simplifies the logic used in retrieving the ID3D11Buffer.
TRAC #23844
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
d47e0fcc
|
2013-08-29T11:40:43
|
|
Split the d3d9 and d3d11 backends into folders and updated the gyp file to use a python script to generate the file lists for the libGLESv2 and libEGL projects.
|