Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRenderTargetVk.cpp29 : mImage(other.mImage), in RenderTargetVk()
49 mImage = image; in init()
62 mImage = nullptr; in reset()
79 mLevelIndexGL, 1, mLayerIndex, vk::GetLayerMode(*mImage, mLayerCount), in getSubresourceSerialImpl()
98 ASSERT(!mImage->getActualFormat().hasDepthOrStencilBits()); in onColorDraw()
101 contextVk->onColorDraw(mImage, mResolveImage, packedAttachmentIndex); in onColorDraw()
102 mImage->onWrite(mLevelIndexGL, 1, mLayerIndex, framebufferLayerCount, in onColorDraw()
116 ASSERT(!mImage->getActualFormat().hasDepthOrStencilBits()); in onColorResolve()
122 mImage); in onColorResolve()
128 const angle::Format &format = mImage->getActualFormat(); in onDepthStencilDraw()
[all …]
DRenderbufferVk.cpp29 mImage(nullptr), in RenderbufferVk()
58 if (mImage != nullptr && mImage->valid()) in setStorageImpl()
69 if ((mImage != nullptr && mImage->valid()) || width == 0 || height == 0) in setStorageImpl()
74 if (mImage == nullptr) in setStorageImpl()
76 mImage = new vk::ImageHelper(); in setStorageImpl()
78 mImageObserverBinding.bind(mImage); in setStorageImpl()
107 ANGLE_TRY(mImage->initExternal(contextVk, gl::TextureType::_2D, extents, in setStorageImpl()
113 ANGLE_TRY(mImage->initMemory(contextVk, false, renderer->getMemoryProperties(), flags)); in setStorageImpl()
124 *mImage, robustInit)); in setStorageImpl()
126 mRenderTarget.init(&mMultisampledImage, &mMultisampledImageViews, mImage, &mImageViews, in setStorageImpl()
[all …]
DImageVk.cpp25 : ImageImpl(state), mImageLevel(0), mOwnsImage(false), mImage(nullptr), mContext(context) in ImageVk()
35 if (mImage != nullptr && mOwnsImage) in onDestroy()
39 mImage->releaseImage(renderer); in onDestroy()
40 mImage->releaseStagingBuffer(renderer); in onDestroy()
41 SafeDelete(mImage); in onDestroy()
49 mImage = nullptr; in onDestroy()
73 mImage = &textureVk->getImage(); in initialize()
90 mImage = renderbufferVk->getImage(); in initialize()
99 mImage = externalImageSibling->getImage(); in initialize()
112 size_t alignment = vk::GetValidImageCopyBufferAlignment(mImage->getIntendedFormatID(), in initialize()
[all …]
DTextureVk.cpp294 mImage(nullptr), in TextureVk()
427 return mImage->valid() && !isCombinedDepthStencil && in isFastUnpackPossible()
437 ASSERT(mImage); in shouldUpdateBeStaged()
441 if (!mImage->valid()) in shouldUpdateBeStaged()
447 if (!IsTextureLevelInAllocatedImage(*mImage, textureLevelIndexGL)) in shouldUpdateBeStaged()
497 ANGLE_TRY(mImage->CalculateBufferInfo( in setSubImageImpl()
543 ANGLE_TRY(mImage->stageSubresourceUpdateImpl( in setSubImageImpl()
555 ANGLE_TRY(mImage->stageSubresourceUpdate( in setSubImageImpl()
667 srcZ, mImage, dstLevel, dstX, dstY, dstZ, srcWidth, in copyRenderbufferSubData()
693 srcZ, mImage, dstLevel, dstX, dstY, dstZ, srcWidth, in copyTextureSubData()
[all …]
DTextureVk.h191 ASSERT(mImage && mImage->valid()); in getImage()
192 return *mImage; in getImage()
197 ASSERT(mImage && mImage->valid()); in getImage()
198 return *mImage; in getImage()
485 return (mImage->valid()) ? mImage->getTilingMode() : VK_IMAGE_TILING_OPTIMAL; in getTilingMode()
551 vk::ImageHelper *mImage; variable
DImageVk.h43 vk::ImageHelper *getImage() const { return mImage; } in getImage()
54 vk::ImageHelper *mImage; variable
DRenderbufferVk.h77 vk::ImageHelper *getImage() const { return mImage; } in getImage()
114 vk::ImageHelper *mImage; variable
DRenderTargetVk.h155 vk::ImageHelper *mImage; variable
Dvk_helpers.cpp3972 mImage(std::move(other.mImage)), in ImageHelper()
4297 ANGLE_VK_TRY(context, mImage.init(context->getDevice(), imageInfo)); in initExternal()
4370 renderer->collectGarbageAndReinit(&mUse, &mImage, &mDeviceMemory); in releaseImage()
4412 mImage.reset(); in resetImageWeakReference()
4465 commandBuffer.copyBufferToImage(stagingBuffer.getBuffer().getHandle(), mImage, in initializeNonZeroMemory()
4472 commandBuffer.copyBufferToImage(stagingBuffer.getBuffer().getHandle(), mImage, in initializeNonZeroMemory()
4501 commandBuffer.clearColorImage(mImage, getCurrentLayout(), clearValue, 1, &subresource); in initializeNonZeroMemory()
4509 commandBuffer.clearDepthStencilImage(mImage, getCurrentLayout(), clearValue, 1, in initializeNonZeroMemory()
4541 ANGLE_TRY(AllocateImageMemory(context, flags, &flags, nullptr, &mImage, &mDeviceMemory, &size)); in initMemory()
4589 bindImagePlaneMemoryInfoPtr, &mImage, &mDeviceMemory)); in initExternalMemory()
[all …]
Dvk_helpers.h1628 bool valid() const { return mImage.valid(); } in valid()
1646 const Image &getImage() const { return mImage; } in getImage()
2244 Image mImage; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp116 mImage(nullptr) in HardwareBufferImageSiblingVkAndroid()
274 mImage = new vk::ImageHelper(); in initImpl()
279 mImage->setTilingMode(imageTilingMode); in initImpl()
297 ANGLE_TRY(mImage->initExternal(displayVk, textureType, vkExtents, format.getIntendedFormatID(), in initImpl()
310 dedicatedAllocInfo.image = mImage->getImage().getHandle(); in initImpl()
349 ANGLE_TRY(mImage->initExternalMemory( in initImpl()
376 ASSERT(mImage == nullptr); in onDestroy()
417 return mImage; in getImage()
422 if (mImage != nullptr) in release()
426 mImage->releaseImage(renderer); in release()
[all …]
DHardwareBufferImageSiblingVkAndroid.h58 vk::ImageHelper *mImage; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DRenderbufferD3D.cpp21 : RenderbufferImpl(state), mRenderer(renderer), mRenderTarget(nullptr), mImage(nullptr) in RenderbufferD3D()
27 mImage = nullptr; in ~RenderbufferD3D()
79 mImage = nullptr; in setStorageMultisample()
88 mImage = GetImplAs<EGLImageD3D>(image); in setStorageEGLImageTarget()
97 if (mImage) in getRenderTarget()
99 return mImage->getRenderTarget(context, outRenderTarget); in getRenderTarget()
DRenderbufferD3D.h57 EGLImageD3D *mImage; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
DImageEGL.cpp34 mImage(EGL_NO_IMAGE) in ImageEGL()
45 mEGL->destroyImageKHR(mImage); in ~ImageEGL()
95 mImage = mEGL->createImageKHR(mContext, mTarget, buffer, attributes.data()); in initialize()
96 if (mImage == EGL_NO_IMAGE) in initialize()
122 functionsGL->eGLImageTargetTexture2DOES(ToGLenum(type), mImage); in setTexture2D()
139 functionsGL->eGLImageTargetRenderbufferStorageOES(GL_RENDERBUFFER, mImage); in setRenderbufferStorage()
DImageEGL.h56 EGLImage mImage; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/
DDmaBufImageSiblingVkLinux.cpp318 mImage(nullptr) in DmaBufImageSiblingVkLinux()
450 mImage = new vk::ImageHelper(); in initImpl()
457 ANGLE_TRY(mImage->initExternal( in initImpl()
463 mImage->getImage().getMemoryRequirements(renderer->getDevice(), &externalMemoryRequirements); in initImpl()
497 mAttribs, mImage->getImage().getHandle(), planeCount, modifierProperties, &allocateInfo); in initImpl()
499 return mImage->initExternalMemory(displayVk, renderer->getMemoryProperties(), in initImpl()
507 ASSERT(mImage == nullptr); in onDestroy()
548 return mImage; in getImage()
553 if (mImage != nullptr) in release()
557 mImage->releaseImage(renderer); in release()
[all …]
DDmaBufImageSiblingVkLinux.h54 vk::ImageHelper *mImage; variable
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DEGLImageWrappingTests.cpp71 mImage(image), in ScopedEGLImage()
76 if (mImage != nullptr) { in ScopedEGLImage()
77 mDestroyImage(mDisplay, mImage); in ScopedEGLImage()
85 mImage = std::move(other.mImage); in ScopedEGLImage()
93 if (mImage != nullptr) { in ~ScopedEGLImage()
94 mDestroyImage(mDisplay, mImage); in ~ScopedEGLImage()
99 return mImage; in getImage()
110 EGLImage mImage = nullptr; member in __anona28479c90111::ScopedEGLImage
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/gbm/
DDisplayGbm.cpp110 mImage(EGL_NO_IMAGE_KHR), in Buffer()
139 if (mImage != EGL_NO_IMAGE_KHR) in reset()
141 mDisplay->getFunctionsEGL()->destroyImageKHR(mImage); in reset()
142 mImage = EGL_NO_IMAGE_KHR; in reset()
204 mImage = mDisplay->getFunctionsEGL()->createImageKHR(EGL_NO_CONTEXT, EGL_LINUX_DMA_BUF_EXT, in resize()
206 if (mImage == EGL_NO_IMAGE_KHR) in resize()
217 gl->eGLImageTargetRenderbufferStorageOES(GL_RENDERBUFFER, mImage); in resize()
244 gl->eGLImageTargetTexture2DOES(GL_TEXTURE_2D, mImage); in bindTexImage()
260 ASSERT(mImage != EGL_NO_IMAGE_KHR); in getTexture()
261 gl->eGLImageTargetTexture2DOES(GL_TEXTURE_2D, mImage); in getTexture()
DDisplayGbm.h94 EGLImageKHR mImage; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.cpp294 : TextureStorage9(renderer, D3DUSAGE_RENDERTARGET, label), mImage(image) in TextureStorage9_EGLImage()
317 ANGLE_TRY(mImage->getRenderTarget(context, &renderTargetD3D)); in getSurfaceLevel()
345 return mImage->getRenderTarget(context, outRT); in getRenderTarget()
352 ANGLE_TRY(mImage->getRenderTarget(context, &renderTargetD3D)); in getBaseTexture()
387 ANGLE_TRY(mImage->getRenderTarget(context, &sourceRenderTarget)); in copyToStorage()
DTextureStorage9.h142 EGLImageD3D *mImage;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.h533 EGLImageD3D *mImage; variable
DTextureStorage11.cpp1867 mImage(eglImage), in TextureStorage11_EGLImage()
1945 return mImage->getRenderTarget(context, outRT); in getRenderTarget()
2089 ANGLE_TRY(mImage->getRenderTarget(context, &renderTargetD3D)); in getImageRenderTarget()

12