Home
last modified time | relevance | path

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

1234567

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DBlit11Helper_autogen.inc925 ANGLE_TRY(addBlitShaderToMap(context, blitShaderType, SHADER_2D,
930 ANGLE_TRY(addBlitShaderToMap(context, blitShaderType, SHADER_2D,
935 ANGLE_TRY(addBlitShaderToMap(context, blitShaderType, SHADER_2D,
940 ANGLE_TRY(addBlitShaderToMap(context, blitShaderType, SHADER_2D,
945 ANGLE_TRY(addBlitShaderToMap(context, blitShaderType, SHADER_2D,
950 ANGLE_TRY(addBlitShaderToMap(context, blitShaderType, SHADER_2D,
955 ANGLE_TRY(addBlitShaderToMap(context, blitShaderType, SHADER_2D,
960 ANGLE_TRY(addBlitShaderToMap(context, blitShaderType, SHADER_2D,
965 ANGLE_TRY(addBlitShaderToMap(context, blitShaderType, SHADER_2D,
970 ANGLE_TRY(addBlitShaderToMap(context, blitShaderType, SHADER_2D,
[all …]
DTextureStorage11.cpp224 ANGLE_TRY(resolveTexture(context)); in getSRVForSampler()
245 ANGLE_TRY(useLevelZeroWorkaroundTexture(context, mipLevels == 1)); in getSRVForSampler()
270 ANGLE_TRY(ensureDropStencilTexture(context, &result)); in getSRVForSampler()
281 ANGLE_TRY(getCachedOrCreateSRVForSampler(context, key, outSRV)); in getSRVForSampler()
305 ANGLE_TRY(getSwizzleTexture(context, &texture)); in getCachedOrCreateSRVForSampler()
316 ANGLE_TRY(getResource(context, &texture)); in getCachedOrCreateSRVForSampler()
322 ANGLE_TRY(createSRVForSampler(context, key.baseLevel, key.mipLevels, format, *texture, &srv)); in getCachedOrCreateSRVForSampler()
337 ANGLE_TRY(resolveTexture(context)); in getSRVLevel()
351 ANGLE_TRY(getResource(context, &resource)); in getSRVLevel()
355 ANGLE_TRY(createSRVForSampler(context, mipLevel, 1, resourceFormat, *resource, in getSRVLevel()
[all …]
DBuffer11.cpp397 ANGLE_TRY(getBufferStorage(context, BUFFER_USAGE_SYSTEM_MEMORY, &systemMemoryStorage)); in getData()
430 ANGLE_TRY(getLatestBufferStorage(context, &latestStorage)); in setSubData()
433 ANGLE_TRY(getBufferStorage(context, BUFFER_USAGE_STRUCTURED, &writeBuffer)); in setSubData()
437 ANGLE_TRY(getBufferStorage(context, BUFFER_USAGE_UNIFORM, &writeBuffer)); in setSubData()
442 ANGLE_TRY(getBufferStorage(context, BUFFER_USAGE_SYSTEM_MEMORY, &writeBuffer)); in setSubData()
447 ANGLE_TRY(getStagingStorage(context, &writeBuffer)); in setSubData()
451 ANGLE_TRY(getBufferStorage(context, BUFFER_USAGE_SYSTEM_MEMORY, &writeBuffer)); in setSubData()
461 ANGLE_TRY(writeBuffer->resize(context, requiredSize, preserveData)); in setSubData()
464 ANGLE_TRY(writeBuffer->setData(context, static_cast<const uint8_t *>(data), offset, size)); in setSubData()
484 ANGLE_TRY(getLatestBufferStorage(context, &copyDest)); in copySubData()
[all …]
DFramebuffer11.cpp44 ANGLE_TRY(textureD3D->getNativeTexture(context, &texStorage)); in MarkAttachmentsDirty()
74 ANGLE_TRY(MarkAttachmentsDirty(context, &colorAttachment)); in markAttachmentsDirty()
80 ANGLE_TRY(MarkAttachmentsDirty(context, dsAttachment)); in markAttachmentsDirty()
103 ANGLE_TRY(clearer->clearFramebuffer(context, presentPathFastClearParams, mState)); in clearImpl()
107 ANGLE_TRY(clearer->clearFramebuffer(context, clearParams, mState)); in clearImpl()
110 ANGLE_TRY(markAttachmentsDirty(context)); in clearImpl()
175 ANGLE_TRY(invalidateAttachment(context, colorAttachment)); in invalidateBase()
210 ANGLE_TRY(invalidateAttachment(context, mState.getDepthAttachment())); in invalidateBase()
215 ANGLE_TRY(invalidateAttachment(context, mState.getStencilAttachment())); in invalidateBase()
238 ANGLE_TRY(attachment->getRenderTarget(context, 0, &renderTarget)); in invalidateAttachment()
[all …]
DBlit11.cpp598 ANGLE_TRY(mRenderer->allocateResource(context11, vbDesc, &mVertexBuffer)); in initResources()
616 ANGLE_TRY(mRenderer->allocateResource(context11, pointSamplerDesc, &mPointSampler)); in initResources()
634 ANGLE_TRY(mRenderer->allocateResource(context11, linearSamplerDesc, &mLinearSampler)); in initResources()
650 ANGLE_TRY(mRenderer->allocateResource(context11, rasterDesc, &mScissorEnabledRasterizerState)); in initResources()
654 ANGLE_TRY(mRenderer->allocateResource(context11, rasterDesc, &mScissorDisabledRasterizerState)); in initResources()
673 ANGLE_TRY(mRenderer->allocateResource(context11, depthStencilDesc, &mDepthStencilState)); in initResources()
684 ANGLE_TRY(mRenderer->allocateResource(context11, swizzleBufferDesc, &mSwizzleCB)); in initResources()
767 ANGLE_TRY(mQuad2DIL.resolve(context11, mRenderer)); in getShaderSupport()
768 ANGLE_TRY(mQuad2DVS.resolve(context11, mRenderer)); in getShaderSupport()
778 ANGLE_TRY(mQuad3DIL.resolve(context11, mRenderer)); in getShaderSupport()
[all …]
DImage11.cpp56 ANGLE_TRY(dest->map(context, D3D11_MAP_WRITE, &destMapped)); in GenerateMipmap()
60 ANGLE_TRY(src->map(context, D3D11_MAP_READ, &srcMapped)); in GenerateMipmap()
89 ANGLE_TRY(dest->map(context, D3D11_MAP_WRITE, &destMapped)); in CopyImage()
93 ANGLE_TRY(source->map(context, D3D11_MAP_READ, &srcMapped)); in CopyImage()
160 ANGLE_TRY(storage11->releaseAssociatedImage(context, index, this)); in copyToStorage()
165 ANGLE_TRY(getStagingTexture(context, &stagingTexture, &stagingSubresourceIndex)); in copyToStorage()
166 ANGLE_TRY(storage11->updateSubresourceLevel(context, *stagingTexture, stagingSubresourceIndex, in copyToStorage()
191 ANGLE_TRY(createStagingTexture(context)); in recoverFromAssociatedStorage()
197 ANGLE_TRY(mAssociatedStorage->copySubresourceLevel( in recoverFromAssociatedStorage()
298 ANGLE_TRY(map(context, D3D11_MAP_WRITE, &mappedImage)); in loadData()
[all …]
DClear11.cpp150 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()
206 ANGLE_TRY(mPsSInt[numRTs - 1].resolve(context11, renderer)); in getShadersAndLayout()
[all …]
DContext11.cpp109 ANGLE_TRY(storage->getData(context, &bufferData)); in ReadbackIndirectBuffer()
268 ANGLE_TRY(mRenderer->getStateManager()->updateState( in drawArrays()
280 ANGLE_TRY(mRenderer->getStateManager()->updateState(context, mode, first, count, in drawArraysInstanced()
294 ANGLE_TRY(mRenderer->getStateManager()->updateState(context, mode, first, count, in drawArraysInstancedBaseInstance()
316 ANGLE_TRY(context->getState().getVertexArray()->getIndexRange( in drawElementsImpl()
319 ANGLE_TRY(ComputeStartVertex(GetImplAs<Context11>(context), indexRange, baseVertex, in drawElementsImpl()
321 ANGLE_TRY(mRenderer->getStateManager()->updateState( in drawElementsImpl()
329 ANGLE_TRY(mRenderer->getStateManager()->updateState(context, mode, 0, indexCount, indexType, in drawElementsImpl()
421 ANGLE_TRY(ReadbackIndirectBuffer(context, indirect, &cmd)); in drawArraysIndirect()
423 ANGLE_TRY(mRenderer->getStateManager()->updateState( in drawArraysIndirect()
[all …]
DStateManager11.cpp658 ANGLE_TRY(renderer->mapResource(context, driverConstantBuffer.get(), 0, D3D11_MAP_WRITE_DISCARD, in updateBuffer()
898 ANGLE_TRY(generateSwizzlesForShader(context, gl::ShaderType::Compute)); in updateStateForCompute()
917 ANGLE_TRY(syncTexturesForCompute(context)); in updateStateForCompute()
920 ANGLE_TRY(syncTexturesForCompute(context)); in updateStateForCompute()
924 ANGLE_TRY(applyComputeUniforms(context, mProgramD3D)); in updateStateForCompute()
927 ANGLE_TRY(syncUniformBuffers(context)); in updateStateForCompute()
930 ANGLE_TRY(syncAtomicCounterBuffers(context)); in updateStateForCompute()
933 ANGLE_TRY(syncShaderStorageBuffers(context)); in updateStateForCompute()
936 ANGLE_TRY(syncProgramForCompute(context)); in updateStateForCompute()
1267 ANGLE_TRY(mRenderer->getBlendState(context, key, &dxBlendState)); in syncBlendState()
[all …]
DPixelTransfer11.cpp71 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()
111 ANGLE_TRY(buildShaderMap(context)); in loadResources()
162 ANGLE_TRY(loadResources(context)); in copyBufferToTexture()
187 ANGLE_TRY(bufferStorage11->getSRV(context, srvFormat, &bufferSRV)); in copyBufferToTexture()
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()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp55 ANGLE_TRY(bufferD3D->getData(context, &bufferData)); in GetUnpackPointer()
96 ANGLE_TRY(initializeStorage(context, false)); in getNativeTexture()
100 ANGLE_TRY(updateStorage(context)); in getNativeTexture()
116 ANGLE_TRY(image->copyFromTexStorage(context, index, mTexStorage)); in getImageAndSyncFromStorage()
249 ANGLE_TRY(GetUnpackPointer(context, unpack, unpackBuffer, pixels, layerOffset, &pixelData)); in setImageImpl()
255 ANGLE_TRY( in setImageImpl()
262 ANGLE_TRY(image->loadData(context, fullImageArea, unpack, type, pixelData, in setImageImpl()
284 ANGLE_TRY(GetUnpackPointer(context, unpack, unpackBuffer, pixels, layerOffset, &pixelData)); in subImage()
296 ANGLE_TRY(image->loadData(context, area, unpack, type, pixelData, index.usesTex3D())); in subImage()
297 ANGLE_TRY(commitRegion(context, index, area)); in subImage()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DOverlayVk.cpp68 ANGLE_TRY(createFont(contextVk)); in init()
72 ANGLE_TRY(contextVk->flushImpl(nullptr, RenderPassClosureReason::OverlayFontCreation)); in init()
103 ANGLE_TRY(fontDataBuffer.get().init(contextVk, bufferCreateInfo, in createFont()
107 ANGLE_TRY(fontDataBuffer.get().map(contextVk, &fontData)); in createFont()
111 ANGLE_TRY(fontDataBuffer.get().flush(renderer, 0, fontDataBuffer.get().getSize())); in createFont()
118 ANGLE_TRY( in createFont()
124 ANGLE_TRY(mFontImage.initMemory(contextVk, false, renderer->getMemoryProperties(), in createFont()
126 ANGLE_TRY(mFontImage.initImageView(contextVk, gl::TextureType::_2DArray, in createFont()
136 ANGLE_TRY(contextVk->getOutsideRenderPassCommandBuffer(access, &fontDataUpload)); in createFont()
172 ANGLE_TRY(enabledWidgetsBuffer.get().init(contextVk, bufferCreateInfo, in cullWidgets()
[all …]
DQueryVk.cpp210 ANGLE_TRY(allocateQuery(contextVk)); in onRenderPassStart()
234 ANGLE_TRY(query.get().getUint64Result(contextVk, &v)); in accumulateStashedQueryResult()
276 ANGLE_TRY(shareQuery->allocateQuery(contextVk)); in setupBegin()
295 ANGLE_TRY(allocateQuery(contextVk)); in setupBegin()
316 ANGLE_TRY(setupBegin(contextVk)); in begin()
324 ANGLE_TRY(contextVk->beginRenderPassQuery(this)); in begin()
327 ANGLE_TRY(mQueryHelper.get().beginQuery(contextVk)); in begin()
335 ANGLE_TRY(contextVk->getQueryPool(mType)->allocateQuery( in begin()
339 ANGLE_TRY(mQueryHelperTimeElapsedBegin.flushAndWriteTimestamp(contextVk)); in begin()
382 ANGLE_TRY(contextVk->endRenderPassQuery(this)); in end()
[all …]
DBufferVk.cpp271 ANGLE_TRY(mShadowBuffer.allocate(size)); in initializeShadowBuffer()
338 ANGLE_TRY(buffer->initExternal(contextVk, memoryPropertyFlags, createInfo, clientBuffer)); in setExternalBufferData()
378 ANGLE_TRY(setExternalBufferData(context, target, clientBuffer, size, memoryPropertyFlags)); in setDataWithUsageFlags()
460 ANGLE_TRY(acquireBufferHelper(contextVk, size, BufferUpdateType::StorageRedefined)); in setDataWithMemoryType()
468 ANGLE_TRY(initializeShadowBuffer(contextVk, target, size)); in setDataWithMemoryType()
478 ANGLE_TRY(setDataImpl(contextVk, static_cast<const uint8_t *>(data), size, 0, updateType)); in setDataWithMemoryType()
493 ANGLE_TRY(setDataImpl(contextVk, static_cast<const uint8_t *>(data), size, offset, in setSubData()
520 ANGLE_TRY(sourceVk->mapRangeImpl(contextVk, sourceOffset, size, GL_MAP_READ_BIT, &mapPtr)); in copySubData()
526 ANGLE_TRY(sourceVk->unmapImpl(contextVk)); in copySubData()
542 ANGLE_TRY(contextVk->getOutsideRenderPassCommandBuffer(access, &commandBuffer)); in copySubData()
[all …]
DVertexArrayVk.cpp83 ANGLE_TRY(dynamicBuffer->allocate(contextVk, bytesToAllocate, &dst, nullptr, bufferOffsetOut, in StreamVertexData()
107 ANGLE_TRY(dynamicBuffer->flush(contextVk)); in StreamVertexData()
187 ANGLE_TRY(mTranslatedByteIndexData.allocate(contextVk, sizeof(GLushort) * srcDataSize, nullptr, in convertIndexBufferGPU()
226 ANGLE_TRY(mTranslatedByteIndexData.allocate(contextVk, sizeof(GLushort) * srcDataSize, nullptr, in convertIndexBufferIndirectGPU()
230 ANGLE_TRY(mTranslatedByteIndirectData.allocate(contextVk, sizeof(VkDrawIndexedIndirectCommand), in convertIndexBufferIndirectGPU()
263 ANGLE_TRY(mLineLoopHelper.streamIndicesIndirect( in handleLineLoopIndexIndirect()
298 ANGLE_TRY(mLineLoopHelper.streamArrayIndirect(contextVk, maxVertexCount + 1, indirectBufferVk, in handleLineLoopIndirectDraw()
319 ANGLE_TRY(mDynamicIndexData.allocate(contextVk, amount, &dst, nullptr, in convertIndexBufferCPU()
395 ANGLE_TRY(conversion->data.allocate(contextVk, numVertices * dstFormatSize, nullptr, nullptr, in convertVertexBufferGPU()
412 ANGLE_TRY(contextVk->getUtils().convertVertexBuffer( in convertVertexBufferGPU()
[all …]
DContextVk.cpp778 ANGLE_TRY(mQueryPools[gl::QueryType::AnySamples].init(this, VK_QUERY_TYPE_OCCLUSION, in initialize()
780 ANGLE_TRY(mQueryPools[gl::QueryType::AnySamplesConservative].init( in initialize()
786 ANGLE_TRY(mQueryPools[gl::QueryType::Timestamp].init(this, VK_QUERY_TYPE_TIMESTAMP, in initialize()
788 ANGLE_TRY(mQueryPools[gl::QueryType::TimeElapsed].init(this, VK_QUERY_TYPE_TIMESTAMP, in initialize()
794 ANGLE_TRY(mQueryPools[gl::QueryType::TransformFeedbackPrimitivesWritten].init( in initialize()
804 ANGLE_TRY(mQueryPools[gl::QueryType::PrimitivesGenerated].init( in initialize()
817 ANGLE_TRY(getDescriptorSetLayoutCache().getDescriptorSetLayout( in initialize()
838 ANGLE_TRY(mDriverUniformsDescriptorPools[pipeline].init( in initialize()
868 ANGLE_TRY(vk::CommandBuffer::InitializeCommandPool( in initialize()
870 ANGLE_TRY( in initialize()
[all …]
DSemaphoreVk.cpp71 ANGLE_TRY(contextVk->syncExternalMemory()); in wait()
86 ANGLE_TRY(contextVk->getOutsideRenderPassCommandBuffer({}, &commandBuffer)); in wait()
106 ANGLE_TRY(contextVk->getOutsideRenderPassCommandBuffer({}, &commandBuffer)); in wait()
140 ANGLE_TRY(contextVk->onBufferReleaseToExternal(bufferHelper)); in signal()
142 ANGLE_TRY(contextVk->getOutsideRenderPassCommandBuffer({}, &commandBuffer)); in signal()
168 ANGLE_TRY(textureVk->ensureImageInitialized(contextVk, ImageMipLevels::EnabledLevels)); in signal()
170 ANGLE_TRY(contextVk->onImageReleaseToExternal(image)); in signal()
172 ANGLE_TRY(contextVk->getOutsideRenderPassCommandBuffer({}, &commandBuffer)); in signal()
183 ANGLE_TRY(contextVk->syncExternalMemory()); in signal()
186 ANGLE_TRY(contextVk->flushImpl(&mSemaphore, RenderPassClosureReason::ExternalSemaphoreSignal)); in signal()
DUtilsVk.cpp1126 ANGLE_TRY(contextVk->getDescriptorSetLayoutCache().getDescriptorSetLayout( in ensureResourcesInitialized()
1148 ANGLE_TRY(mDescriptorPools[function].init( in ensureResourcesInitialized()
1166 ANGLE_TRY(contextVk->getPipelineLayoutCache().getPipelineLayout(contextVk, pipelineLayoutDesc, in ensureResourcesInitialized()
1298 ANGLE_TRY(ensureResourcesInitialized(contextVk, Function::BlitResolve, setSizes, in ensureBlitResolveResourcesInitialized()
1315 ANGLE_TRY(ensureResourcesInitialized(contextVk, Function::BlitResolveStencilNoExport, in ensureBlitResolveStencilNoExportResourcesInitialized()
1349 ANGLE_TRY(ensureResourcesInitialized(contextVk, Function::OverlayDraw, setSizes, in ensureOverlayDrawResourcesInitialized()
1458 ANGLE_TRY(program->getComputePipeline(contextVk, pipelineLayout.get(), &pipeline)); in setupProgram()
1476 ANGLE_TRY(renderer->getPipelineCache(&pipelineCache)); in setupProgram()
1477 ANGLE_TRY(program->getGraphicsPipeline(contextVk, &contextVk->getRenderPassCache(), in setupProgram()
1516 ANGLE_TRY(ensureConvertIndexResourcesInitialized(contextVk)); in convertIndexBuffer()
[all …]
DTextureVk.cpp399 ANGLE_TRY(redefineLevel(context, index, vkFormat, size)); in setImageImpl()
497 ANGLE_TRY(mImage->CalculateBufferInfo( in setSubImageImpl()
526 ANGLE_TRY(copyBufferDataToImage(contextVk, &bufferHelper, index, rowLengthPixels, in setSubImageImpl()
538 ANGLE_TRY(unpackBufferVk->mapImpl(contextVk, GL_MAP_READ_BIT, &mapPtr)); in setSubImageImpl()
543 ANGLE_TRY(mImage->stageSubresourceUpdateImpl( in setSubImageImpl()
550 ANGLE_TRY(unpackBufferVk->unmapImpl(contextVk)); in setSubImageImpl()
555 ANGLE_TRY(mImage->stageSubresourceUpdate( in setSubImageImpl()
564 ANGLE_TRY(ensureImageInitialized(contextVk, ImageMipLevels::EnabledLevels)); in setSubImageImpl()
583 ANGLE_TRY(redefineLevel(context, index, vkFormat, newImageSize)); in copyImage()
619 ANGLE_TRY(redefineLevel(context, index, dstVkFormat, srcImageDesc.size)); in copyTexture()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DResultPerf.cpp43 ANGLE_TRY(ExternalCall()); in CallReturningResult()
44 ANGLE_TRY(ExternalCall()); in CallReturningResult()
45 ANGLE_TRY(ExternalCall()); in CallReturningResult()
46 ANGLE_TRY(ExternalCall()); in CallReturningResult()
47 ANGLE_TRY(ExternalCall()); in CallReturningResult()
48 ANGLE_TRY(ExternalCall()); in CallReturningResult()
49 ANGLE_TRY(ExternalCall()); in CallReturningResult()
50 ANGLE_TRY(ExternalCall()); in CallReturningResult()
51 ANGLE_TRY(ExternalCall()); in CallReturningResult()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DBlitGL.cpp197 ANGLE_TRY(SetClearState(stateManager, bindColor, bindDepth, bindStencil, outClearMask)); in PrepareForClear()
284 ANGLE_TRY(mStateManager->setPixelUnpackState(context, unpack)); in copyImageToLUMAWorkaroundTexture()
285 ANGLE_TRY(mStateManager->setPixelUnpackBuffer( in copyImageToLUMAWorkaroundTexture()
306 ANGLE_TRY(initializeResources(context)); in copySubImageToLUMAWorkaroundTexture()
309 ANGLE_TRY(getBlitProgram(context, gl::TextureType::_2D, GL_FLOAT, GL_FLOAT, &blitProgram)); in copySubImageToLUMAWorkaroundTexture()
353 ANGLE_TRY(scopedState.enter(context, gl::Rectangle(0, 0, sourceArea.width, sourceArea.height))); in copySubImageToLUMAWorkaroundTexture()
356 ANGLE_TRY(setScratchTextureParameter(context, GL_TEXTURE_MIN_FILTER, GL_NEAREST)); in copySubImageToLUMAWorkaroundTexture()
357 ANGLE_TRY(setScratchTextureParameter(context, GL_TEXTURE_MAG_FILTER, GL_NEAREST)); in copySubImageToLUMAWorkaroundTexture()
369 ANGLE_TRY(setVAOState(context)); in copySubImageToLUMAWorkaroundTexture()
391 ANGLE_TRY(orphanScratchTextures(context)); in copySubImageToLUMAWorkaroundTexture()
[all …]
DVertexArrayGL.cpp206 ANGLE_TRY(syncIndexData(context, count, type, indices, primitiveRestartEnabled, in syncDrawState()
237 ANGLE_TRY(recoverForcedStreamingAttributesForDrawArraysInstanced( in syncDrawState()
244 ANGLE_TRY(streamAttributes(context, updatedStreamingAttribsMask, instanceCount, in syncDrawState()
253 ANGLE_TRY( in syncDrawState()
281 ANGLE_TRY(mState.getElementArrayBuffer()->getIndexRange( in syncIndexData()
530 ANGLE_TRY(callVertexAttribPointer(context, static_cast<GLuint>(idx), attrib, in streamAttributes()
590 ANGLE_TRY(callVertexAttribPointer(context, static_cast<GLuint>(idx), attrib, in recoverForcedStreamingAttributesForDrawArraysInstanced()
692 ANGLE_TRY(callVertexAttribPointer(context, static_cast<GLuint>(attribIndex), attrib, in updateAttribPointer()
876 ANGLE_TRY(updateAttribEnabled(context, attribIndex)); in syncDirtyAttrib()
881 ANGLE_TRY(updateAttribPointer(context, attribIndex)); in syncDirtyAttrib()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBlit9.cpp141 ANGLE_TRY((mRenderer->*createShader)(context9, reinterpret_cast<const DWORD *>(shaderCode), in setShader()
191 ANGLE_TRY(initialize(context9)); in boxFilter()
194 ANGLE_TRY(copySurfaceToTexture(context9, source, getSurfaceRect(source), &texture)); in boxFilter()
203 ANGLE_TRY(setVertexShader(context9, SHADER_VS_STANDARD)); in boxFilter()
204 ANGLE_TRY(setPixelShader(context9, SHADER_PS_PASSTHROUGH)); in boxFilter()
230 ANGLE_TRY(initialize(context9)); in copy2D()
236 ANGLE_TRY(colorbuffer->getRenderTarget(context, 0, &renderTarget9)); in copy2D()
244 ANGLE_TRY( in copy2D()
248 ANGLE_TRY(copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copy2D()
264 ANGLE_TRY(initialize(context9)); in copyCube()
[all …]
DTextureStorage9.cpp171 ANGLE_TRY(getBaseTexture(context, &baseTexture)); in getSurfaceLevel()
209 ANGLE_TRY(getBaseTexture(context, &baseTexture)); in getRenderTarget()
212 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, index.getLevelIndex(), false, in getRenderTarget()
235 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, sourceIndex.getLevelIndex(), false, in generateMipmap()
239 ANGLE_TRY( in generateMipmap()
278 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, i, false, &srcSurf)); in copyToStorage()
281 ANGLE_TRY(dest9->getSurfaceLevel(context, gl::TextureTarget::_2D, i, true, &dstSurf)); in copyToStorage()
283 ANGLE_TRY( in copyToStorage()
317 ANGLE_TRY(mImage->getRenderTarget(context, &renderTargetD3D)); in getSurfaceLevel()
352 ANGLE_TRY(mImage->getRenderTarget(context, &renderTargetD3D)); in getBaseTexture()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DTexture.cpp1015 ANGLE_TRY(mTexture->setBaseLevel(context, mState.getEffectiveBaseLevel())); in setBaseLevel()
1209 ANGLE_TRY(releaseTexImageInternal(context)); in setImage()
1212 ANGLE_TRY(orphanImages(context, &releaseImage)); in setImage()
1216 ANGLE_TRY(mTexture->setImage(context, index, internalFormat, size, format, type, unpackState, in setImage()
1222 ANGLE_TRY(handleMipmapGenerationHint(context, level)); in setImage()
1242 ANGLE_TRY(ensureSubImageInitialized(context, index, area)); in setSubImage()
1244 ANGLE_TRY(mTexture->setSubImage(context, index, area, format, type, unpackState, unpackBuffer, in setSubImage()
1247 ANGLE_TRY(handleMipmapGenerationHint(context, level)); in setSubImage()
1266 ANGLE_TRY(releaseTexImageInternal(context)); in setCompressedImage()
1269 ANGLE_TRY(orphanImages(context, &releaseImage)); in setCompressedImage()
[all …]

1234567