Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
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()
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()
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.cpp1366 D3D11_MAPPED_SUBRESOURCE mappedResource; in map() local
1371 mRenderer->mapResource(context, mBuffer.get(), 0, d3dMapType, d3dMapFlag, &mappedResource)); in map()
1372 ASSERT(mappedResource.pData); in map()
1373 *mapPointerOut = static_cast<uint8_t *>(mappedResource.pData) + offset; in map()
DRenderer11.h483 D3D11_MAPPED_SUBRESOURCE *mappedResource);
DRenderer11.cpp4266 D3D11_MAPPED_SUBRESOURCE *mappedResource) in mapResource() argument
4268 HRESULT hr = mDeviceContext->Map(resource, subResource, mapType, mapFlags, mappedResource); in mapResource()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
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()
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()
Drenderer11_utils.h313 D3D11_MAPPED_SUBRESOURCE mappedResource = {}; in SetBufferData() local
314 HRESULT result = context->Map(constantBuffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &mappedResource); in SetBufferData()
318 memcpy(mappedResource.pData, &value, sizeof(T)); in SetBufferData()
DBlit11.cpp844 D3D11_MAPPED_SUBRESOURCE mappedResource; in swizzleTexture() local
846 &mappedResource)); in swizzleTexture()
856 support.vertexWriteFunction(area, size, area, size, mappedResource.pData, &stride, &drawCount, in swizzleTexture()
863 &mappedResource)); in swizzleTexture()
865 unsigned int *swizzleIndices = static_cast<unsigned int *>(mappedResource.pData); in swizzleTexture()
974 D3D11_MAPPED_SUBRESOURCE mappedResource; in copyTexture() local
976 &mappedResource)); in copyTexture()
982 support.vertexWriteFunction(sourceArea, sourceSize, destArea, destSize, mappedResource.pData, in copyTexture()
1078 D3D11_MAPPED_SUBRESOURCE mappedResource; in copyDepth() local
1080 &mappedResource)); in copyDepth()
[all …]
DClear11.cpp697 D3D11_MAPPED_SUBRESOURCE mappedResource; in clearFramebuffer() local
699 0, &mappedResource)); in clearFramebuffer()
701 memcpy(mappedResource.pData, &mShaderData, g_ConstantBufferSize); in clearFramebuffer()
DSwapChain11.cpp809 D3D11_MAPPED_SUBRESOURCE mappedResource; in copyOffscreenToBackbuffer() local
811 deviceContext->Map(mQuadVB.get(), 0, D3D11_MAP_WRITE_DISCARD, 0, &mappedResource); in copyOffscreenToBackbuffer()
818 static_cast<d3d11::PositionTexCoordVertex *>(mappedResource.pData); in copyOffscreenToBackbuffer()
DBuffer11.cpp1245 D3D11_MAPPED_SUBRESOURCE mappedResource; in map() local
1250 mRenderer->mapResource(context, mBuffer.get(), 0, d3dMapType, d3dMapFlag, &mappedResource)); in map()
1251 ASSERT(mappedResource.pData); in map()
1252 *mapPointerOut = static_cast<uint8_t *>(mappedResource.pData) + offset; in map()
DRenderer11.h502 D3D11_MAPPED_SUBRESOURCE *mappedResource);
DRenderer11.cpp3916 D3D11_MAPPED_SUBRESOURCE *mappedResource) in mapResource() argument
3918 HRESULT hr = mDeviceContext->Map(resource, subResource, mapType, mapFlags, mappedResource); in mapResource()
/third_party/flutter/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DD3D12ResourceWrappingTests.cpp441 D3D11_MAPPED_SUBRESOURCE mappedResource; in ExpectPixelRGBA8EQ() local
443 &mappedResource); in ExpectPixelRGBA8EQ()
446 const uint8_t* colorData = static_cast<uint8_t*>(mappedResource.pData); in ExpectPixelRGBA8EQ()
/third_party/flutter/skia/third_party/externals/sdl/src/render/direct3d11/
DSDL_render_d3d11.c2366 D3D11_MAPPED_SUBRESOURCE mappedResource; in D3D11_UpdateVertexBuffer() local
2372 &mappedResource in D3D11_UpdateVertexBuffer()
2378 SDL_memcpy(mappedResource.pData, vertexData, dataSizeInBytes); in D3D11_UpdateVertexBuffer()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvbaseenc.c1218 resource->nv_mapped_resource.mappedResource); in gst_nv_base_enc_bitstream_thread()
1431 in_buf->nv_mapped_resource.mappedResource); in gst_nv_base_enc_free_buffers()
2537 resource->nv_mapped_resource.mappedResource, in gst_nv_base_enc_handle_frame()
DnvEncodeAPI.h1949 …NV_ENC_INPUT_PTR mappedResource; /**< [out]: Mapped pointer corresponding to … member
/third_party/ffmpeg/libavcodec/
Dnvenc.c1583 … p_nvenc->nvEncUnmapInputResource(ctx->nvencoder, ctx->registered_frames[i].in_map.mappedResource); in ff_nvenc_encode_close()
1844 … nvenc_frame->input_surface = ctx->registered_frames[reg_idx].in_map.mappedResource; in nvenc_upload_frame()
1997 …apInputResource(ctx->nvencoder, ctx->registered_frames[tmpoutsurf->reg_idx].in_map.mappedResource); in process_output_surface()