Home
last modified time | relevance | path

Searched refs:mappedResource (Results 1 – 10 of 10) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/d3d11/
DIndexBuffer11.cpp81 D3D11_MAPPED_SUBRESOURCE mappedResource; in mapBuffer() local
83 &mappedResource)); in mapBuffer()
85 *outMappedMemory = static_cast<char *>(mappedResource.pData) + offset; in mapBuffer()
130 D3D11_MAPPED_SUBRESOURCE mappedResource; in discard() local
132 &mappedResource)); in discard()
DVertexBuffer11.cpp76 D3D11_MAPPED_SUBRESOURCE mappedResource; in mapResource() local
79 &mappedResource)); in mapResource()
81 mMappedResourceData = static_cast<uint8_t *>(mappedResource.pData); in mapResource()
153 D3D11_MAPPED_SUBRESOURCE mappedResource; in discard() local
155 &mappedResource)); in discard()
Drenderer11_utils.h312 D3D11_MAPPED_SUBRESOURCE mappedResource = {}; in SetBufferData() local
313 HRESULT result = context->Map(constantBuffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &mappedResource); in SetBufferData()
317 memcpy(mappedResource.pData, &value, sizeof(T)); in SetBufferData()
DBlit11.cpp848 D3D11_MAPPED_SUBRESOURCE mappedResource; in swizzleTexture() local
850 &mappedResource)); in swizzleTexture()
860 support.vertexWriteFunction(area, size, area, size, mappedResource.pData, &stride, &drawCount, in swizzleTexture()
867 &mappedResource)); in swizzleTexture()
869 unsigned int *swizzleIndices = static_cast<unsigned int *>(mappedResource.pData); in swizzleTexture()
978 D3D11_MAPPED_SUBRESOURCE mappedResource; in copyTexture() local
980 &mappedResource)); in copyTexture()
986 support.vertexWriteFunction(sourceArea, sourceSize, destArea, destSize, mappedResource.pData, in copyTexture()
1082 D3D11_MAPPED_SUBRESOURCE mappedResource; in copyDepth() local
1084 &mappedResource)); in copyDepth()
[all …]
DClear11.cpp695 D3D11_MAPPED_SUBRESOURCE mappedResource; in clearFramebuffer() local
697 0, &mappedResource)); in clearFramebuffer()
699 memcpy(mappedResource.pData, &mShaderData, g_ConstantBufferSize); in clearFramebuffer()
DSwapChain11.cpp827 D3D11_MAPPED_SUBRESOURCE mappedResource; in copyOffscreenToBackbuffer() local
829 deviceContext->Map(mQuadVB.get(), 0, D3D11_MAP_WRITE_DISCARD, 0, &mappedResource); in copyOffscreenToBackbuffer()
836 static_cast<d3d11::PositionTexCoordVertex *>(mappedResource.pData); in copyOffscreenToBackbuffer()
DBuffer11.cpp1361 D3D11_MAPPED_SUBRESOURCE mappedResource; in map() local
1366 mRenderer->mapResource(context, mBuffer.get(), 0, d3dMapType, d3dMapFlag, &mappedResource)); in map()
1367 ASSERT(mappedResource.pData); in map()
1368 *mapPointerOut = static_cast<uint8_t *>(mappedResource.pData) + offset; in map()
DRenderer11.h481 D3D11_MAPPED_SUBRESOURCE *mappedResource);
DRenderer11.cpp4255 D3D11_MAPPED_SUBRESOURCE *mappedResource) in mapResource() argument
4257 HRESULT hr = mDeviceContext->Map(resource, subResource, mapType, mapFlags, mappedResource); in mapResource()
/external/angle/src/tests/gl_tests/
DD3D11EmulatedIndexedBufferTest.cpp96 D3D11_MAPPED_SUBRESOURCE mappedResource; in compareContents() local
98 &mappedResource); in compareContents()
101 GLfloat *compareData = static_cast<GLfloat *>(mappedResource.pData); in compareContents()