Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DImageVk.cpp47 GetImplAs<ExternalImageSiblingVk>(GetAs<egl::ExternalImageSibling>(mState.source)); in onDestroy()
64 TextureVk *textureVk = GetImplAs<TextureVk>(GetAs<gl::Texture>(mState.source)); in initialize()
89 GetImplAs<RenderbufferVk>(GetAs<gl::Renderbuffer>(mState.source)); in initialize()
98 GetImplAs<ExternalImageSiblingVk>(GetAs<egl::ExternalImageSibling>(mState.source)); in initialize()
138 TextureVk *textureVk = GetImplAs<TextureVk>(GetAs<gl::Texture>(mState.source)); in orphan()
146 GetImplAs<RenderbufferVk>(GetAs<gl::Renderbuffer>(mState.source)); in orphan()
/third_party/benchmark/test/
Doutput_test.h129 T GetAs(const char* entry_name) const;
135 double dval = GetAs<double>(entry_name); in GetCounterAs()
142 T Results::GetAs(const char* entry_name) const { in GetAs() function
188 CHECK_RESULT_VALUE_IMPL(entry, GetAs, var_type, var_name, relationship, value)
194 CHECK_FLOAT_RESULT_VALUE_IMPL(entry, GetAs, double, var_name, relationship, value, eps_factor)
Doutput_test_helper.cc321 double Results::NumIterations() const { return GetAs<double>("iterations"); } in NumIterations()
326 double val = GetAs<double>(which_str); in GetTime()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
DImageEGL.cpp64 const TextureGL *textureGL = GetImplAs<TextureGL>(GetAs<gl::Texture>(mState.source)); in initialize()
71 GetImplAs<RenderbufferGL>(GetAs<gl::Renderbuffer>(mState.source)); in initialize()
78 GetImplAs<ExternalImageSiblingEGL>(GetAs<egl::ExternalImageSibling>(mState.source)); in initialize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DFramebuffer11.cpp48 TextureStorage11 *texStorage11 = GetAs<TextureStorage11>(texStorage); in MarkAttachmentsDirty()
314 RenderTarget11 *readRenderTarget11 = GetAs<RenderTarget11>(readRenderTarget); in blitImpl()
328 RenderTarget11 *drawRenderTarget11 = GetAs<RenderTarget11>(drawRenderTarget); in blitImpl()
353 RenderTarget11 *readRenderTarget11 = GetAs<RenderTarget11>(readRenderTarget); in blitImpl()
369 RenderTarget11 *drawRenderTarget11 = GetAs<RenderTarget11>(drawRenderTarget); in blitImpl()
DRenderer11.cpp390 TextureStorage11 *storage11 = GetAs<TextureStorage11>(storage); in GetTextureD3DResourceFromStorageOrImage()
397 Image11 *image11 = GetAs<Image11>(image); in GetTextureD3DResourceFromStorageOrImage()
1681 return new SwapChain11(this, GetAs<NativeWindow11>(nativeWindow), shareHandle, d3dTexture, in createSwapChain()
1722 mStateManager.setPixelShader(&GetAs<ShaderExecutable11>(pixelExe)->getPixelShader()); in drawWithGeometryShaderAndTransformFeedback()
1729 mStateManager.setGeometryShader(&GetAs<ShaderExecutable11>(geometryExe)->getGeometryShader()); in drawWithGeometryShaderAndTransformFeedback()
2027 IndexBuffer11 *indexBuffer = GetAs<IndexBuffer11>(mLineLoopIB->getIndexBuffer()); in drawLineLoop()
2107 IndexBuffer11 *indexBuffer = GetAs<IndexBuffer11>(mTriangleFanIB->getIndexBuffer()); in drawTriangleFan()
2484 GetAs<RenderTarget11>(destRenderTarget)->getRenderTargetView(); in copyImageInternal()
2547 TextureStorage11_2D *storage11 = GetAs<TextureStorage11_2D>(storage); in copyImage2D()
2573 TextureStorage11_Cube *storage11 = GetAs<TextureStorage11_Cube>(storage); in copyImageCube()
[all …]
DPixelTransfer11.cpp185 Buffer11 *bufferStorage11 = GetAs<Buffer11>(unpackBuffer->getImplementation()); in copyBufferToTexture()
191 GetAs<RenderTarget11>(destRenderTarget)->getRenderTargetView(); in copyBufferToTexture()
DStateManager11.cpp2723 TextureStorage11 *storage11 = GetAs<TextureStorage11>(texStorage); in setTextureForSampler()
2894 TextureStorage11 *storage11 = GetAs<TextureStorage11>(texStorage); in setTextureForImage()
2955 (vertexExe ? &GetAs<ShaderExecutable11>(vertexExe)->getVertexShader() : nullptr); in syncProgram()
2961 pixelShader = (pixelExe ? &GetAs<ShaderExecutable11>(pixelExe)->getPixelShader() : nullptr); in syncProgram()
2968 (vertexExe ? &GetAs<ShaderExecutable11>(vertexExe)->getStreamOutShader() : nullptr); in syncProgram()
2973 (geometryExe ? &GetAs<ShaderExecutable11>(geometryExe)->getGeometryShader() : nullptr); in syncProgram()
2999 (computeExe ? &GetAs<ShaderExecutable11>(computeExe)->getComputeShader() : nullptr); in syncProgramForCompute()
3076 Buffer11 *bufferStorage = attrib.storage ? GetAs<Buffer11>(attrib.storage) : nullptr; in applyVertexBuffers()
3086 buffer = GetAs<VertexBuffer11>(attrib.vertexBuffer.get())->getBuffer().get(); in applyVertexBuffers()
3227 Buffer11 *storage = GetAs<Buffer11>(indexInfo.storage); in applyIndexBuffer()
[all …]
DBuffer11.cpp480 Buffer11 *sourceBuffer = GetAs<Buffer11>(source); in copySubData()
827 *storageOut = GetAs<StorageOutT>(newStorage); in getBufferStorage()
909 *storageOut = GetAs<NativeStorage>(newStorage); in getConstantBufferRangeStorage()
937 StructuredBufferStorage *structuredBufferStorage = GetAs<StructuredBufferStorage>(newStorage); in getStructuredBufferRangeSRV()
1210 const d3d11::Buffer *sourceBuffer = &GetAs<NativeStorage>(source)->getBuffer(); in copyFromStorage()
DInputLayoutCache.cpp296 ShaderExecutableD3D *shader11 = GetAs<ShaderExecutable11>(shader); in createInputLayout()
DImage11.cpp148 TextureStorage11 *storage11 = GetAs<TextureStorage11>(storage); in copyToStorage()
360 TextureStorage11 *storage11 = GetAs<TextureStorage11>(source); in copyFromTexStorage()
DTextureStorage11.cpp664 RenderTarget11 *srcRT11 = GetAs<RenderTarget11>(source); in generateMipmap()
665 RenderTarget11 *dstRT11 = GetAs<RenderTarget11>(dest); in generateMipmap()
714 TextureStorage11 *dest11 = GetAs<TextureStorage11>(destStorage); in copyToStorage()
943 GetAs<TextureStorage11_2DMultisample>(mRenderer->createTextureStorage2DMultisample( in getMultisampledRenderTarget()
1089 TextureStorage11_2D *dest11 = GetAs<TextureStorage11_2D>(destStorage); in copyToStorage()
1955 TextureStorage11_2D *dest11 = GetAs<TextureStorage11_2D>(destStorage); in copyToStorage()
2090 *outRT = GetAs<RenderTarget11>(renderTargetD3D); in getImageRenderTarget()
2199 TextureStorage11_Cube *dest11 = GetAs<TextureStorage11_Cube>(destStorage); in copyToStorage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.cpp272 TextureStorage9_2D *dest9 = GetAs<TextureStorage9_2D>(destStorage); in copyToStorage()
319 RenderTarget9 *renderTarget9 = GetAs<RenderTarget9>(renderTargetD3D); in getSurfaceLevel()
354 RenderTarget9 *renderTarget9 = GetAs<RenderTarget9>(renderTargetD3D); in getBaseTexture()
375 TextureStorage9 *dest9 = GetAs<TextureStorage9>(destStorage); in copyToStorage()
389 RenderTarget9 *sourceRenderTarget9 = GetAs<RenderTarget9>(sourceRenderTarget); in copyToStorage()
555 TextureStorage9_Cube *dest9 = GetAs<TextureStorage9_Cube>(destStorage); in copyToStorage()
DRenderer9.cpp726 return new SwapChain9(this, GetAs<NativeWindow9>(nativeWindow), shareHandle, d3dTexture, in createSwapChain()
1068 TextureStorage9 *storage9 = GetAs<TextureStorage9>(texStorage); in setTexture()
1258 oldest->renderTarget = GetAs<RenderTarget9>(nullRenderTarget); in getNullColorRenderTarget()
1388 IndexBuffer9 *indexBuffer = GetAs<IndexBuffer9>(indexInfo->indexBuffer); in applyIndexBuffer()
1419 IndexBuffer9 *indexBuffer = GetAs<IndexBuffer9>(countingIB->getIndexBuffer()); in drawArraysImpl()
1640 IndexBuffer9 *indexBuffer = GetAs<IndexBuffer9>(mLineLoopIB->getIndexBuffer()); in drawLineLoop()
1770 (vertexExe ? GetAs<ShaderExecutable9>(vertexExe)->getVertexShader() : nullptr); in applyShaders()
1772 (pixelExe ? GetAs<ShaderExecutable9>(pixelExe)->getPixelShader() : nullptr); in applyShaders()
2621 RenderTarget9 *source9 = GetAs<RenderTarget9>(source); in createRenderTargetCopy()
2622 RenderTarget9 *dest9 = GetAs<RenderTarget9>(newRT); in createRenderTargetCopy()
[all …]
DBlit9.cpp243 TextureStorage9 *storage9 = GetAs<TextureStorage9>(storage); in copy2D()
277 TextureStorage9 *storage9 = GetAs<TextureStorage9>(storage); in copyCube()
306 TextureStorage9_2D *sourceStorage9 = GetAs<TextureStorage9_2D>(sourceStorage); in copyTexture()
309 TextureStorage9 *destStorage9 = GetAs<TextureStorage9>(storage); in copyTexture()
DImage9.cpp369 TextureStorage9 *storage9 = GetAs<TextureStorage9>(storage); in setManagedSurface2D()
380 TextureStorage9 *storage9 = GetAs<TextureStorage9>(storage); in setManagedSurfaceCube()
415 TextureStorage9 *storage9 = GetAs<TextureStorage9>(storage); in copyToStorage()
565 RenderTarget9 *renderTarget = GetAs<RenderTarget9>(source); in copyFromRTInternal()
DBuffer9.cpp102 Buffer9 *sourceBuffer = GetAs<Buffer9>(source); in copySubData()
DVertexDeclarationCache.cpp157 VertexBuffer9 *vertexBuffer = GetAs<VertexBuffer9>(attributes[i].vertexBuffer.get()); in applyDeclaration()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DFramebufferAttachment.cpp250 return rx::GetAs<Texture>(mResource); in getTexture()
255 return rx::GetAs<Renderbuffer>(mResource); in getRenderbuffer()
260 return rx::GetAs<egl::Surface>(mResource); in getSurface()
DImage.cpp303 ExternalImageSibling *externalSibling = rx::GetAs<ExternalImageSibling>(mState.source); in onDestroy()
399 return rx::GetAs<ExternalImageSibling>(mState.source)->isTextureable(context); in isTexturable()
445 ExternalImageSibling *externalSibling = rx::GetAs<ExternalImageSibling>(mState.source); in initialize()
Dangletypes.h1006 inline DestT *GetAs(SrcT *src) in GetAs() function
1013 inline const DestT *GetAs(const SrcT *src) in GetAs() function
1025 return GetAs<DestT>(src->getImplementation()); in GetImplAs()
1031 return src != nullptr ? GetAs<DestT>(src->getImplementation()) : nullptr; in SafeGetImplAs()
DOverlay.h98 return rx::GetAs<Widget>(mState.mOverlayWidgets[id].get()); in getWidgetAs()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
DBufferNULL.cpp88 BufferNULL *sourceNULL = GetAs<BufferNULL>(source); in copySubData()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DImageMtl.mm141 GetImplAs<TextureImageSiblingMtl>(GetAs<egl::ExternalImageSibling>(mState.source));
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DBufferGL.cpp124 BufferGL *sourceGL = GetAs<BufferGL>(source); in copySubData()

12