Home
last modified time | relevance | path

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

12

/external/angle/src/libANGLE/renderer/vulkan/
DRenderTargetVk.cpp32 : mImage(other.mImage), in RenderTargetVk()
55 mImage = image; in init()
69 mImage = nullptr; in reset()
87 mLevelIndexGL, 1, mLayerIndex, vk::GetLayerMode(*mImage, mLayerCount), in getSubresourceSerialImpl()
106 ASSERT(!mImage->getActualFormat().hasDepthOrStencilBits()); in onColorDraw()
109 contextVk->onColorDraw(mLevelIndexGL, mLayerIndex, framebufferLayerCount, mImage, mResolveImage, in onColorDraw()
118 ASSERT(!mImage->getActualFormat().hasDepthOrStencilBits()); in onColorResolve()
124 mImage); in onColorResolve()
129 const angle::Format &format = mImage->getActualFormat(); in onDepthStencilDraw()
133 contextVk->onDepthStencilDraw(mLevelIndexGL, mLayerIndex, framebufferLayerCount, mImage, 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()
79 mImageObserverBinding.bind(mImage); in setStorageImpl()
129 ANGLE_TRY(mImage->initExternal(contextVk, gl::TextureType::_2D, extents, in setStorageImpl()
135 ANGLE_TRY(mImage->initMemory(contextVk, false, renderer->getMemoryProperties(), flags, in setStorageImpl()
147 *mImage, robustInit)); in setStorageImpl()
149 mRenderTarget.init(&mMultisampledImage, &mMultisampledImageViews, mImage, &mImageViews, in setStorageImpl()
[all …]
DTextureVk.cpp329 mImage(nullptr), in TextureVk()
463 vk::GetImageCopyBufferAlignment(mImage->getActualFormatID()); in isFastUnpackPossible()
464 return mImage->valid() && !isCombinedDepthStencil && in isFastUnpackPossible()
558 ASSERT(mImage); in shouldUpdateBeStaged()
566 ASSERT(mImage->valid()); in shouldUpdateBeStaged()
567 ASSERT(IsTextureLevelInAllocatedImage(*mImage, textureLevelIndexGL)); in shouldUpdateBeStaged()
568 ASSERT(mImage->getActualFormatID() == dstImageFormatID); in shouldUpdateBeStaged()
575 if (!mImage->valid()) in shouldUpdateBeStaged()
581 if (!IsTextureLevelInAllocatedImage(*mImage, textureLevelIndexGL)) in shouldUpdateBeStaged()
589 if (mImage->getActualFormatID() != dstImageFormatID) in shouldUpdateBeStaged()
[all …]
DImageVk.cpp25 : ImageImpl(state), mOwnsImage(false), mImage(nullptr), mContext(context) in ImageVk()
35 if (mImage != nullptr && mOwnsImage) in onDestroy()
39 mImage->releaseImage(renderer); in onDestroy()
40 mImage->releaseStagedUpdates(renderer); in onDestroy()
41 SafeDelete(mImage); in onDestroy()
49 mImage = nullptr; in onDestroy()
80 mImage = &textureVk->getImage(); in initialize()
92 mImage = renderbufferVk->getImage(); in initialize()
100 mImage = externalImageSibling->getImage(); in initialize()
126 ASSERT(mImage == &textureVk->getImage()); in orphan()
[all …]
DVkImageImageSiblingVk.cpp74 mImage = new vk::ImageHelper(); in initImpl()
75 mImage->init2DWeakReference(displayVk, mVkImage.release(), getSize(), false, intendedFormatID, in initImpl()
83 ASSERT(mImage == nullptr); in onDestroy()
125 return mImage; in getImage()
130 if (mImage != nullptr) in release()
134 mImage->resetImageWeakReference(); in release()
135 mImage->destroy(renderer); in release()
136 SafeDelete(mImage); in release()
DTextureVk.h207 ASSERT(mImage && mImage->valid()); in getImage()
208 return *mImage; in getImage()
213 ASSERT(mImage && mImage->valid()); in getImage()
214 return *mImage; in getImage()
223 bool imageValid() const { return (mImage && mImage->valid()); } in imageValid()
547 return (mImage->valid()) ? mImage->getTilingMode() : VK_IMAGE_TILING_OPTIMAL; in getTilingMode()
634 vk::ImageHelper *mImage; variable
DImageVk.h43 vk::ImageHelper *getImage() const { return mImage; } in getImage()
52 vk::ImageHelper *mImage; variable
DRenderbufferVk.h78 vk::ImageHelper *getImage() const { return mImage; } in getImage()
117 vk::ImageHelper *mImage; variable
DVkImageImageSiblingVk.h48 vk::ImageHelper *mImage = nullptr; variable
Dvk_helpers.cpp1187 ASSERT(mImage == nullptr); in init()
1189 mImage = image; in init()
1196 mImage->setRenderPassUsageFlag(RenderPassUsage::RenderTargetAttachment); in init()
1201 mImage = nullptr; in reset()
1267 ASSERT(!mImage->hasRenderPassUsageFlag(readOnlyAttachmentUsage) || in finalizeLoadStore()
1359 if (mImage) in restoreContent()
1361 ASSERT(mImage->valid()); in restoreContent()
1364 mImage->restoreSubresourceStencilContent(mLevelIndex, mLayerIndex, mLayerCount); in restoreContent()
1368 mImage->restoreSubresourceContent(mLevelIndex, mLayerIndex, mLayerCount); in restoreContent()
5632 ANGLE_VK_TRY(context, mImage.init(context->getDevice(), imageInfo)); in initExternal()
[all …]
DRenderTargetVk.h162 vk::ImageHelper *mImage; variable
/external/OpenCL-CTS/test_common/harness/
DclImageHelper.h38 cl_mem mImage = NULL; in create_image_2d() local
59 mImage = clCreateImage(context, flags, image_format, &image_desc_dest, in create_image_2d()
69 mImage = in create_image_2d()
80 return mImage; in create_image_2d()
92 cl_mem mImage = NULL; in create_image_2d_buffer() local
105 mImage = clCreateImage(context, flags, image_format, &image_desc_dest, NULL, in create_image_2d_buffer()
114 return mImage; in create_image_2d_buffer()
125 cl_mem mImage; in create_image_3d() local
146 mImage = clCreateImage(context, flags, image_format, &image_desc, host_ptr, in create_image_3d()
156 mImage = clCreateImage3D(context, flags, image_format, image_width, in create_image_3d()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp147 mImage(nullptr) in HardwareBufferImageSiblingVkAndroid()
348 mImage = new vk::ImageHelper(); in initImpl()
353 mImage->setTilingMode(imageTilingMode); in initImpl()
365 ANGLE_TRY(mImage->initExternal(displayVk, textureType, vkExtents, format.getIntendedFormatID(), in initImpl()
378 dedicatedAllocInfo.image = mImage->getImage().getHandle(); in initImpl()
401 mImage->updateYcbcrConversionDesc( in initImpl()
412 ANGLE_TRY(mImage->initExternalMemory(displayVk, renderer->getMemoryProperties(), in initImpl()
451 ASSERT(mImage == nullptr); in onDestroy()
507 return mImage; in getImage()
512 if (mImage != nullptr) in release()
[all …]
DHardwareBufferImageSiblingVkAndroid.h62 vk::ImageHelper *mImage; variable
/external/angle/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.h58 EGLImageD3D *mImage; variable
/external/angle/src/libANGLE/renderer/gl/egl/
DImageEGL.cpp34 mImage(EGL_NO_IMAGE) in ImageEGL()
45 mEGL->destroyImageKHR(mImage); in ~ImageEGL()
102 mImage = mEGL->createImageKHR(mContext, mTarget, buffer, attributes.data()); in initialize()
103 if (mImage == EGL_NO_IMAGE) in initialize()
129 functionsGL->eGLImageTargetTexture2DOES(ToGLenum(type), mImage); in setTexture2D()
146 functionsGL->eGLImageTargetRenderbufferStorageOES(GL_RENDERBUFFER, mImage); in setRenderbufferStorage()
DImageEGL.h56 EGLImage mImage; variable
/external/angle/src/libANGLE/renderer/vulkan/linux/
DDmaBufImageSiblingVkLinux.cpp329 mImage(nullptr) in DmaBufImageSiblingVkLinux()
509 mImage = new vk::ImageHelper(); in initWithFormat()
516 ANGLE_TRY(mImage->initExternal( in initWithFormat()
522 mImage->getImage().getMemoryRequirements(renderer->getDevice(), &externalMemoryRequirements); in initWithFormat()
546 mImage->updateYcbcrConversionDesc(renderer, 0, model, range, xChromaOffset, yChromaOffset, in initWithFormat()
552 ANGLE_TRY(GetAllocateInfo(mAttribs, mImage->getImage().getHandle(), planeCount, in initWithFormat()
555 return mImage->initExternalMemory( in initWithFormat()
596 ASSERT(mImage == nullptr); in onDestroy()
637 return mImage; in getImage()
642 if (mImage != nullptr) in release()
[all …]
DDmaBufImageSiblingVkLinux.h73 vk::ImageHelper *mImage; variable
/external/OpenCL-CTS/test_conformance/events/
Daction_classes.cpp319 mImage = create_image_2d(context, CL_MEM_READ_ONLY, &format, mWidth, in Setup()
339 cl_int error = clEnqueueReadImage(queue, mImage, CL_FALSE, origin, region, in Execute()
356 mImage = create_image_3d(context, CL_MEM_READ_ONLY, &format, mWidth, in Setup()
375 cl_int error = clEnqueueReadImage(queue, mImage, CL_FALSE, origin, region, in Execute()
392 mImage = create_image_2d(context, CL_MEM_WRITE_ONLY, &format, mWidth, in Setup()
412 clEnqueueWriteImage(queue, mImage, CL_FALSE, origin, region, 0, 0, in Execute()
429 mImage = create_image_3d(context, CL_MEM_READ_ONLY, &format, mWidth, in Setup()
449 clEnqueueWriteImage(queue, mImage, CL_FALSE, origin, region, 0, 0, in Execute()
722 clEnqueueUnmapMemObject(mQueue, mImage, mMappedPtr, 0, NULL, NULL); in ~MapImageAction()
735 mImage = create_image_2d(context, CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR, in Setup()
[all …]
Daction_classes.h140 clMemWrapper mImage; variable
157 clMemWrapper mImage; variable
171 clMemWrapper mImage;
188 clMemWrapper mImage;
327 clMemWrapper mImage; variable
/external/doclava/src/com/google/doclava/
DPageMetadata.java704 private String mImage; // holds an href, fully qualified or relative to root field in PageMetadata.Node
718 mImage = builder.mImage; in Node()
726 private String mLabel, mCategory, mSummary, mLink, mGroup, mImage, mLang, mType, mTimestamp; field in PageMetadata.Node.Builder
741 public Builder setImage(String mImage) {this.mImage = mImage; return this;} in setImage() argument
828 if (!"".equals(list.get(i).mImage)) { in renderTypes()
829 buf.append(" \"image\":\"" + list.get(i).mImage + "\",\n" ); in renderTypes()
881 if (!"".equals(list.get(i).mImage)) { in renderTypeForSamples()
882 buf.append(" \"image\":\"" + list.get(i).mImage + "\",\n" ); in renderTypeForSamples()
1087 return mImage; in getImage()
1091 mImage = ref; in setImage()
/external/angle/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.h143 EGLImageD3D *mImage;

12