Home
last modified time | relevance | path

Searched refs:deviceContext (Results 1 – 19 of 19) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp211 void UpdateUniformBuffer(ID3D11DeviceContext *deviceContext, in UpdateUniformBuffer() argument
215 deviceContext->UpdateSubresource(buffer->get(), 0, nullptr, storage->getDataPointer(0, 0), 0, in UpdateUniformBuffer()
767 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in setShaderResourceInternal() local
779 deviceContext->VSSetShaderResources(resourceSlot, 1, &srvPtr); in setShaderResourceInternal()
782 deviceContext->PSSetShaderResources(resourceSlot, 1, &srvPtr); in setShaderResourceInternal()
791 deviceContext->CSSetShaderResources(resourceSlot, 1, &srvPtr); in setShaderResourceInternal()
1863 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in unsetConflictingUAVs() local
1872 deviceContext->CSSetUnorderedAccessViews(static_cast<UINT>(resourceIndex), 1, in unsetConflictingUAVs()
1888 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in unsetConflictingRTVs() local
1897 deviceContext->OMSetRenderTargets(0, nullptr, nullptr); in unsetConflictingRTVs()
[all …]
DBlit11.cpp802 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in swizzleTexture() local
863 deviceContext->Unmap(mVertexBuffer.get(), 0); in swizzleTexture()
875 deviceContext->Unmap(mSwizzleCB.get(), 0); in swizzleTexture()
907 deviceContext->Draw(drawCount, 0); in swizzleTexture()
930 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in copyTexture() local
988 deviceContext->Unmap(mVertexBuffer.get(), 0); in copyTexture()
1047 deviceContext->Draw(drawCount, 0); in copyTexture()
1078 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in copyDepth() local
1092 deviceContext->Unmap(mVertexBuffer.get(), 0); in copyDepth()
1135 deviceContext->Draw(drawCount, 0); in copyDepth()
[all …]
DClear11.cpp450 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in clearFramebuffer() local
555 deviceContext->ClearRenderTargetView(framebufferRTV.get(), clearValues); in clearFramebuffer()
558 deviceContext->ClearRenderTargetView(framebufferRTV.get(), clearValues); in clearFramebuffer()
594 deviceContext->ClearDepthStencilView(dsv, clearFlags, depthClear, stencilClear); in clearFramebuffer()
700 deviceContext->Unmap(mConstantBuffer.get(), 0); in clearFramebuffer()
762 deviceContext->Draw(6, 0); in clearFramebuffer()
767 deviceContext->DrawInstanced(6, static_cast<UINT>(fboData.getNumViews()), 0, 0); in clearFramebuffer()
DImage11.cpp465 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in copyWithoutConversion() local
496 deviceContext->ResolveSubresource(resolveTex.get(), 0, textureHelper.get(), in copyWithoutConversion()
499 deviceContext->CopySubresourceRegion(stagingTexture->get(), stagingSubresourceIndex, in copyWithoutConversion()
505 deviceContext->CopySubresourceRegion(stagingTexture->get(), stagingSubresourceIndex, in copyWithoutConversion()
655 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in map() local
656 deviceContext->Unmap(mStagingTexture.get(), mStagingSubresource); in map()
674 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in unmap() local
675 deviceContext->Unmap(mStagingTexture.get(), mStagingSubresource); in unmap()
DResourceManager11.cpp339 ID3D11DeviceContext *deviceContext = renderer->getDeviceContext(); in ClearResource() local
367 deviceContext->ClearDepthStencilView(dsv.get(), clearFlags, kDebugDepthInitValue, in ClearResource()
396 deviceContext->ClearRenderTargetView(rtv.get(), kDebugColorInitClearValue); in ClearResource()
403 deviceContext->ClearRenderTargetView(rtv.get(), kDebugColorInitClearValue); in ClearResource()
416 ID3D11DeviceContext *deviceContext = renderer->getDeviceContext(); in ClearResource() local
435 deviceContext->ClearRenderTargetView(rtv.get(), kDebugColorInitClearValue); in ClearResource()
DPixelTransfer11.cpp198 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in copyBufferToTexture() local
218 d3d11::SetBufferData(deviceContext, mParamsConstantBuffer.get(), shaderParams); in copyBufferToTexture()
228 deviceContext->Draw(numPixels, 0); in copyBufferToTexture()
DSwapChain11.cpp367 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in resetOffscreenColorBuffer() local
369 deviceContext->CopySubresourceRegion(mOffscreenTexture.get(), 0, 0, yoffset, 0, in resetOffscreenColorBuffer()
830 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in copyOffscreenToBackbuffer() local
835 deviceContext->Map(mQuadVB.get(), 0, D3D11_MAP_WRITE_DISCARD, 0, &mappedResource); in copyOffscreenToBackbuffer()
870 deviceContext->Unmap(mQuadVB.get(), 0); in copyOffscreenToBackbuffer()
897 deviceContext->Draw(4, 0); in copyOffscreenToBackbuffer()
DTextureStorage11.cpp596 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in updateSubresourceLevel() local
598 deviceContext->CopySubresourceRegion(dstTexture->get(), dstSubresource, copyArea.x, copyArea.y, in updateSubresourceLevel()
631 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in copySubresourceLevel() local
660 deviceContext->CopySubresourceRegion(dstTexture.get(), dstSubresource, region.x, region.y, in copySubresourceLevel()
898 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in resolveTextureHelper() local
901 deviceContext->ResolveSubresource(texture.get(), subresourceIndexSS, resource->get(), in resolveTextureHelper()
1161 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in useLevelZeroWorkaroundTexture() local
1162 deviceContext->CopySubresourceRegion(mLevelZeroTexture.get(), 0, 0, 0, 0, in useLevelZeroWorkaroundTexture()
1176 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in useLevelZeroWorkaroundTexture() local
1177 deviceContext->CopySubresourceRegion(mTexture.get(), 0, 0, 0, 0, in useLevelZeroWorkaroundTexture()
[all …]
DBuffer11.cpp1218 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in copyFromStorage() local
1219 deviceContext->CopySubresourceRegion(mBuffer.get(), 0, in copyFromStorage()
1259 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in resize() local
1260 deviceContext->CopySubresourceRegion(newBuffer.get(), 0, 0, 0, 0, mBuffer.get(), 0, in resize()
Drenderer11_utils.h75 ID3D11DeviceContext *deviceContext,
Drenderer11_utils.cpp1414 ID3D11DeviceContext *deviceContext, in GenerateCaps() argument
/external/angle/src/libANGLE/renderer/gl/wgl/
DPbufferSurfaceWGL.cpp26 HDC deviceContext, in PbufferSurfaceWGL() argument
35 mParentDeviceContext(deviceContext), in PbufferSurfaceWGL()
DPbufferSurfaceWGL.h31 HDC deviceContext,
DDXGISwapChainWindowSurfaceWGL.h33 HDC deviceContext,
DD3DTextureSurfaceWGL.h32 HDC deviceContext,
DD3DTextureSurfaceWGL.cpp244 HDC deviceContext, in D3DTextureSurfaceWGL() argument
258 mDeviceContext(deviceContext), in D3DTextureSurfaceWGL()
DDXGISwapChainWindowSurfaceWGL.cpp30 HDC deviceContext, in DXGISwapChainWindowSurfaceWGL() argument
41 mWGLDevice(deviceContext), in DXGISwapChainWindowSurfaceWGL()
DDisplayWGL.cpp935 HDC deviceContext,
951 HDC deviceContext, in WorkerContextWGL() argument
953 : mFunctionsWGL(functions), mPbuffer(pbuffer), mDeviceContext(deviceContext), mContext(context) in WorkerContextWGL()
/external/skia/src/ports/
DSkFontHost_win.cpp112 static void dcfontname_to_skstring(HDC deviceContext, const LOGFONT& lf, SkString* familyName) { in dcfontname_to_skstring() argument
114 if (0 == (fontNameLen = GetTextFace(deviceContext, 0, nullptr))) { in dcfontname_to_skstring()
116 if (0 == (fontNameLen = GetTextFace(deviceContext, 0, nullptr))) { in dcfontname_to_skstring()
122 if (0 == GetTextFace(deviceContext, fontNameLen, fontName.get())) { in dcfontname_to_skstring()
124 if (0 == GetTextFace(deviceContext, fontNameLen, fontName.get())) { in dcfontname_to_skstring()