Home
last modified time | relevance | path

Searched refs:context11 (Results 1 – 22 of 22) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/d3d11/
DQuery11.cpp92 angle::Result Query11::getResultBase(Context11 *context11, T *params) in getResultBase() argument
95 ANGLE_TRY(flush(context11, true)); in getResultBase()
130 angle::Result Query11::pause(Context11 *context11) in pause() argument
149 return flush(context11, false); in pause()
152 angle::Result Query11::resume(Context11 *context11) in resume() argument
156 ANGLE_TRY(flush(context11, false)); in resume()
165 ANGLE_TRY(mRenderer->allocateResource(context11, queryDesc, &mActiveQuery->query)); in resume()
174 ANGLE_TRY(mRenderer->allocateResource(context11, desc, &mActiveQuery->beginTimestamp)); in resume()
175 ANGLE_TRY(mRenderer->allocateResource(context11, desc, &mActiveQuery->endTimestamp)); in resume()
195 angle::Result Query11::flush(Context11 *context11, bool force) in flush() argument
[all …]
DIndexBuffer11.cpp72 Context11 *context11 = GetImplAs<Context11>(context); in mapBuffer() local
73 ANGLE_CHECK_HR(context11, mBuffer.valid(), "Internal index buffer is not initialized.", in mapBuffer()
78 ANGLE_CHECK_HR(context11, !outOfBounds, "Index buffer map range is not inside the buffer.", in mapBuffer()
91 Context11 *context11 = GetImplAs<Context11>(context); in unmapBuffer() local
92 ANGLE_CHECK_HR(context11, mBuffer.valid(), "Internal index buffer is not initialized.", in unmapBuffer()
124 Context11 *context11 = GetImplAs<Context11>(context); in discard() local
125 ANGLE_CHECK_HR(context11, mBuffer.valid(), "Internal index buffer is not initialized.", in discard()
DPixelTransfer11.cpp69 Context11 *context11 = GetImplAs<Context11>(context); in loadResources() local
71 ANGLE_TRY(mRenderer->allocateResource(context11, rasterDesc, &mCopyRasterizerState)); in loadResources()
89 ANGLE_TRY(mRenderer->allocateResource(context11, depthStencilDesc, &mCopyDepthStencilState)); in loadResources()
99 ANGLE_TRY(mRenderer->allocateResource(context11, constantBufferDesc, &mParamsConstantBuffer)); in loadResources()
103 ANGLE_TRY(mRenderer->allocateResource(context11, ShaderData(g_VS_BufferToTexture), in loadResources()
107 ANGLE_TRY(mRenderer->allocateResource(context11, ShaderData(g_GS_BufferToTexture), in loadResources()
239 Context11 *context11 = GetImplAs<Context11>(context); in buildShaderMap() local
241 ANGLE_TRY(mRenderer->allocateResource(context11, ShaderData(g_PS_BufferToTexture_4F), in buildShaderMap()
243 ANGLE_TRY(mRenderer->allocateResource(context11, ShaderData(g_PS_BufferToTexture_4I), in buildShaderMap()
245 ANGLE_TRY(mRenderer->allocateResource(context11, ShaderData(g_PS_BufferToTexture_4UI), in buildShaderMap()
DQuery11.h37 angle::Result pause(Context11 *context11);
38 angle::Result resume(Context11 *context11);
54 angle::Result flush(Context11 *context11, bool force);
55 angle::Result testQuery(Context11 *context11, QueryState *queryState);
58 angle::Result getResultBase(Context11 *context11, T *params);
DClear11.cpp144 Context11 *context11 = GetImplAs<Context11>(context); in getShadersAndLayout() local
150 ANGLE_TRY(mVs9.resolve(context11, renderer)); in getShadersAndLayout()
151 ANGLE_TRY(mPsFloat9.resolve(context11, renderer)); in getShadersAndLayout()
161 ANGLE_TRY(renderer->allocateResource(context11, ilDescArray, &vertexShader, &mIl9)); in getShadersAndLayout()
173 ANGLE_TRY(mVs.resolve(context11, renderer)); in getShadersAndLayout()
180 ANGLE_TRY(mVsMultiview.resolve(context11, renderer)); in getShadersAndLayout()
181 ANGLE_TRY(mGsMultiview.resolve(context11, renderer)); in getShadersAndLayout()
190 ANGLE_TRY(mPsDepth.resolve(context11, renderer)); in getShadersAndLayout()
198 ANGLE_TRY(mPsFloat[numRTs - 1].resolve(context11, renderer)); in getShadersAndLayout()
202 ANGLE_TRY(mPsUInt[numRTs - 1].resolve(context11, renderer)); in getShadersAndLayout()
[all …]
DImage11.cpp274 Context11 *context11 = GetImplAs<Context11>(context); in loadData() local
278 ANGLE_CHECK_GL_MATH(context11, formatInfo.computeRowPitch(type, area.width, unpack.alignment, in loadData()
281 ANGLE_CHECK_GL_MATH(context11, formatInfo.computeDepthPitch(area.height, unpack.imageHeight, in loadData()
284 ANGLE_CHECK_GL_MATH(context11, in loadData()
314 Context11 *context11 = GetImplAs<Context11>(context); in loadCompressedData() local
319 context11, formatInfo.computeRowPitch(GL_UNSIGNED_BYTE, area.width, 1, 0, &inputRowPitch)); in loadCompressedData()
322 context11, formatInfo.computeDepthPitch(area.height, 0, inputRowPitch, &inputDepthPitch)); in loadCompressedData()
546 Context11 *context11 = GetImplAs<Context11>(context); in createStagingTexture() local
570 ANGLE_TRY(mRenderer->allocateTexture(context11, desc, formatInfo, in createStagingTexture()
576 mRenderer->allocateTexture(context11, desc, formatInfo, &mStagingTexture)); in createStagingTexture()
[all …]
DBlit11.cpp592 Context11 *context11 = GetImplAs<Context11>(context); in initResources() local
594 ANGLE_TRY(mRenderer->allocateResource(context11, vbDesc, &mVertexBuffer)); in initResources()
612 ANGLE_TRY(mRenderer->allocateResource(context11, pointSamplerDesc, &mPointSampler)); in initResources()
630 ANGLE_TRY(mRenderer->allocateResource(context11, linearSamplerDesc, &mLinearSampler)); in initResources()
646 ANGLE_TRY(mRenderer->allocateResource(context11, rasterDesc, &mScissorEnabledRasterizerState)); in initResources()
650 ANGLE_TRY(mRenderer->allocateResource(context11, rasterDesc, &mScissorDisabledRasterizerState)); in initResources()
669 ANGLE_TRY(mRenderer->allocateResource(context11, depthStencilDesc, &mDepthStencilState)); in initResources()
680 ANGLE_TRY(mRenderer->allocateResource(context11, swizzleBufferDesc, &mSwizzleCB)); in initResources()
757 Context11 *context11 = GetImplAs<Context11>(context); in getShaderSupport() local
763 ANGLE_TRY(mQuad2DIL.resolve(context11, mRenderer)); in getShaderSupport()
[all …]
DInputLayoutCache.cpp113 Context11 *context11, in getInputLayout() argument
182 ANGLE_TRY(createInputLayout(context11, sortedSemanticIndices, currentAttributes, mode, in getInputLayout()
194 Context11 *context11, in createInputLayout() argument
202 Renderer11 *renderer = context11->getRenderer(); in createInputLayout()
294 ANGLE_TRY(programD3D->getVertexExecutableForCachedInputLayout(context11, &shader, nullptr)); in createInputLayout()
301 ANGLE_TRY(renderer->allocateResource(context11, inputElementArray, &vertexShaderData, in createInputLayout()
DFence11.cpp33 Context11 *context11 = GetImplAs<Context11>(context); in FenceSetHelper() local
35 ANGLE_TRY_HR(context11, result, "Failed to create event query"); in FenceSetHelper()
52 Context11 *context11 = GetImplAs<Context11>(context); in FenceTestHelper() local
55 ANGLE_TRY_HR(context11, result, "Failed to get query data"); in FenceTestHelper()
DExternalImageSiblingImpl11.cpp107 Context11 *context11 = GetImplAs<Context11>(context); in createRenderTarget() local
119 ANGLE_TRY(mRenderer->allocateResource(context11, rtvDesc, mTexture.get(), &rtv)); in createRenderTarget()
133 ANGLE_TRY(mRenderer->allocateResource(context11, srvDesc, mTexture.get(), &srv)); in createRenderTarget()
DBuffer11.cpp570 Context11 *context11 = GetImplAs<Context11>(context); in mapRange() local
571 ANGLE_CHECK_GL_ALLOC(context11, mMappedStorage); in mapRange()
1539 Context11 *context11 = GetImplAs<Context11>(context); in getBuffer() local
1567 ANGLE_CHECK_GL_ALLOC(context11, mIndicesMemoryBuffer.resize(indicesDataSize)); in getBuffer()
1583 ANGLE_CHECK_GL_ALLOC(context11, expandedData.resize(expandedDataSize)); in getBuffer()
1665 Context11 *context11 = GetImplAs<Context11>(context); in resize() local
1666 ANGLE_CHECK_GL_ALLOC(context11, mMemoryBuffer.resize(size)); in resize()
1723 Context11 *context11 = GetImplAs<Context11>(context); in resize() local
1724 ANGLE_CHECK_GL_ALLOC(context11, mMemoryBuffer.resize(size)); in resize()
1848 Context11 *context11 = GetImplAs<Context11>(context); in resize() local
[all …]
DInputLayoutCache.h103 Context11 *context11,
DRenderer11.cpp1293 angle::Result Renderer11::flush(Context11 *context11) in flush() argument
1299 angle::Result Renderer11::finish(Context11 *context11) in finish() argument
1307 ANGLE_TRY(allocateResource(context11, queryDesc, &mSyncQuery)); in finish()
1321 ANGLE_TRY_HR(context11, result, "Failed to get event query data"); in finish()
1335 ANGLE_CHECK(context11, false, "Device was lost while waiting for sync.", in finish()
1564 angle::Result Renderer11::drawWithGeometryShaderAndTransformFeedback(Context11 *context11, in drawWithGeometryShaderAndTransformFeedback() argument
1569 const gl::State &glState = context11->getState(); in drawWithGeometryShaderAndTransformFeedback()
1588 ANGLE_TRY(programD3D->getPixelExecutableForCachedOutputLayout(context11, &pixelExe, nullptr)); in drawWithGeometryShaderAndTransformFeedback()
1600 ANGLE_TRY(programD3D->getGeometryExecutableForPrimitiveType(context11, glState, mode, in drawWithGeometryShaderAndTransformFeedback()
2714 Context11 *context11 = GetImplAs<Context11>(context); in createRenderTarget() local
[all …]
DRenderer11.h127 angle::Result flush(Context11 *context11);
128 angle::Result finish(Context11 *context11);
432 angle::Result getScratchMemoryBuffer(Context11 *context11,
571 angle::Result drawWithGeometryShaderAndTransformFeedback(Context11 *context11,
DTextureStorage11.cpp764 Context11 *context11 = GetImplAs<Context11>(context); in setData() local
770 ANGLE_CHECK_GL_MATH(context11, in setData()
774 ANGLE_CHECK_GL_MATH(context11, internalFormatInfo.computeDepthPitch( in setData()
778 context11, internalFormatInfo.computeSkipBytes(type, srcRowPitch, srcDepthPitch, unpack, in setData()
798 ANGLE_TRY(mRenderer->getScratchMemoryBuffer(context11, neededSize, &conversionBuffer)); in setData()
1311 Context11 *context11 = GetImplAs<Context11>(context); in getRenderTarget() local
1324 mRenderer->allocateResource(context11, rtvDesc, mLevelZeroTexture.get(), &rtv)); in getRenderTarget()
1345 ANGLE_TRY(mRenderer->allocateResource(context11, rtvDesc, texture->get(), &rtv)); in getRenderTarget()
1365 ANGLE_TRY(mRenderer->allocateResource(context11, dsvDesc, texture->get(), &dsv)); in getRenderTarget()
2362 Context11 *context11 = GetImplAs<Context11>(context); in getRenderTarget() local
[all …]
DStateManager11.cpp1747 Context11 *context11 = GetImplAs<Context11>(context); in onMakeCurrent() local
1751 ANGLE_TRY(query->pause(context11)); in onMakeCurrent()
1761 ANGLE_TRY(query11->resume(context11)); in onMakeCurrent()
2894 Context11 *context11 = GetImplAs<Context11>(context); in syncProgram() local
2895 ANGLE_TRY(context11->triggerDrawCallProgramRecompilation(context, drawMode)); in syncProgram()
2907 ANGLE_TRY(mProgramD3D->getVertexExecutableForCachedInputLayout(context11, &vertexExe, nullptr)); in syncProgram()
2910 ANGLE_TRY(mProgramD3D->getPixelExecutableForCachedOutputLayout(context11, &pixelExe, nullptr)); in syncProgram()
2913 ANGLE_TRY(mProgramD3D->getGeometryExecutableForPrimitiveType(context11, glState, drawMode, in syncProgram()
2948 Context11 *context11 = GetImplAs<Context11>(context); in syncProgramForCompute() local
2949 ANGLE_TRY(context11->triggerDispatchCallProgramRecompilation(context)); in syncProgramForCompute()
[all …]
DFramebuffer11.cpp381 Context11 *context11 = GetImplAs<Context11>(context); in getImplementationColorReadFormat() local
382 const Renderer11DeviceCaps &caps = context11->getRenderer()->getRenderer11DeviceCaps(); in getImplementationColorReadFormat()
/external/angle/src/tests/gl_tests/
DD3D11InputLayoutCacheTest.cpp69 rx::Context11 *context11 = rx::GetImplAs<rx::Context11>(context); in TEST_P() local
70 rx::Renderer11 *renderer11 = context11->getRenderer(); in TEST_P()
DD3D11FormatTablesTest.cpp43 rx::Context11 *context11 = rx::GetImplAs<rx::Context11>(context); in TEST_P() local
44 rx::Renderer11 *renderer = context11->getRenderer(); in TEST_P()
DD3D11EmulatedIndexedBufferTest.cpp34 rx::Context11 *context11 = rx::GetImplAs<rx::Context11>(mContext); in testSetUp() local
35 mRenderer = context11->getRenderer(); in testSetUp()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/
Dexample-context-11.kt6 package kotlinx.coroutines.guide.context11
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/test/
DDispatcherGuideTest.kt103 …test("KotlinxCoroutinesGuideContext11") { kotlinx.coroutines.guide.context11.main() }.verifyLinesF… in <lambda>()