Home
last modified time | relevance | path

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

12

/external/angle/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->getFormat().actualImageFormat().hasDepthOrStencilBits()); in onColorDraw()
101 contextVk->onColorDraw(mImage, mResolveImage, packedAttachmentIndex); in onColorDraw()
102 mImage->onWrite(mLevelIndexGL, 1, mLayerIndex, framebufferLayerCount, in onColorDraw()
116 ASSERT(!mImage->getFormat().actualImageFormat().hasDepthOrStencilBits()); in onColorResolve()
122 mImage); in onColorResolve()
128 const angle::Format &format = mImage->getFormat().actualImageFormat(); in onDepthStencilDraw()
[all …]
DRenderbufferVk.cpp29 mImage(nullptr), in RenderbufferVk()
57 if (mImage != nullptr && mImage->valid()) in setStorageImpl()
68 if ((mImage != nullptr && mImage->valid()) || width == 0 || height == 0) in setStorageImpl()
73 if (mImage == nullptr) in setStorageImpl()
75 mImage = new vk::ImageHelper(); in setStorageImpl()
77 mImageObserverBinding.bind(mImage); in setStorageImpl()
106 ANGLE_TRY(mImage->initExternal(contextVk, gl::TextureType::_2D, extents, format, imageSamples, in setStorageImpl()
111 ANGLE_TRY(mImage->initMemory(contextVk, false, renderer->getMemoryProperties(), flags)); in setStorageImpl()
122 *mImage, robustInit)); in setStorageImpl()
124 mRenderTarget.init(&mMultisampledImage, &mMultisampledImageViews, mImage, &mImageViews, in setStorageImpl()
[all …]
DTextureVk.cpp283 mImage(nullptr), in TextureVk()
414 return mImage->valid() && !isCombinedDepthStencil && in isFastUnpackPossible()
422 ASSERT(mImage); in shouldUpdateBeStaged()
425 if (!IsTextureLevelInAllocatedImage(*mImage, textureLevelIndexGL)) in shouldUpdateBeStaged()
430 vk::LevelIndex imageLevelIndexVk = mImage->toVkLevel(textureLevelIndexGL); in shouldUpdateBeStaged()
456 (mImage->valid() && !shouldUpdateBeStaged(gl::LevelIndex(index.getLevelIndex())))) in setSubImageImpl()
471 ANGLE_TRY(mImage->CalculateBufferInfo( in setSubImageImpl()
514 ANGLE_TRY(mImage->stageSubresourceUpdateImpl( in setSubImageImpl()
525 ANGLE_TRY(mImage->stageSubresourceUpdate(contextVk, getNativeImageIndex(index), in setSubImageImpl()
637 srcZ, mImage, dstLevel, dstX, dstY, dstZ, srcWidth, in copyRenderbufferSubData()
[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()
70 mImage = &textureVk->getImage(); in initialize()
87 mImage = renderbufferVk->getImage(); in initialize()
96 mImage = externalImageSibling->getImage(); in initialize()
109 size_t alignment = mImage->getFormat().getValidImageCopyBufferAlignment(); in initialize()
[all …]
DTextureVk.h190 ASSERT(mImage && mImage->valid()); in getImage()
191 return *mImage; in getImage()
196 ASSERT(mImage && mImage->valid()); in getImage()
197 return *mImage; in getImage()
477 return (mImage->valid()) ? mImage->getTilingMode() : VK_IMAGE_TILING_OPTIMAL; in getTilingMode()
539 vk::ImageHelper *mImage; variable
DImageVk.h41 vk::ImageHelper *getImage() const { return mImage; } in getImage()
52 vk::ImageHelper *mImage; variable
DRenderbufferVk.h77 vk::ImageHelper *getImage() const { return mImage; } in getImage()
114 vk::ImageHelper *mImage; variable
DRenderTargetVk.h152 vk::ImageHelper *mImage; variable
Dvk_helpers.cpp3818 mImage(std::move(other.mImage)), in ImageHelper()
4146 ANGLE_VK_TRY(context, mImage.init(context->getDevice(), imageInfo)); in initExternal()
4160 renderer->collectGarbageAndReinit(&mUse, &mImage, &mDeviceMemory); in releaseImage()
4202 mImage.reset(); in resetImageWeakReference()
4255 commandBuffer.copyBufferToImage(stagingBuffer.getBuffer().getHandle(), mImage, in initializeNonZeroMemory()
4262 commandBuffer.copyBufferToImage(stagingBuffer.getBuffer().getHandle(), mImage, in initializeNonZeroMemory()
4291 commandBuffer.clearColorImage(mImage, getCurrentLayout(), clearValue, 1, &subresource); in initializeNonZeroMemory()
4299 commandBuffer.clearDepthStencilImage(mImage, getCurrentLayout(), clearValue, 1, in initializeNonZeroMemory()
4331 ANGLE_TRY(AllocateImageMemory(context, flags, &flags, nullptr, &mImage, &mDeviceMemory, &size)); in initMemory()
4358 extraAllocationInfo, &mImage, &mDeviceMemory)); in initExternalMemory()
[all …]
Dvk_helpers.h1560 bool valid() const { return mImage.valid(); } in valid()
1577 const Image &getImage() const { return mImage; } in getImage()
2071 Image 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.cpp84 mImage(nullptr) in HardwareBufferImageSiblingVkAndroid()
256 mImage = new vk::ImageHelper(); in initImpl()
261 mImage->setTilingMode(imageTilingMode); in initImpl()
262 ANGLE_TRY(mImage->initExternal( in initImpl()
276 dedicatedAllocInfo.image = mImage->getImage().getHandle(); in initImpl()
304 ANGLE_TRY(mImage->initExternalMemory( in initImpl()
312 ANGLE_TRY(mImage->initExternalMemory( in initImpl()
340 ASSERT(mImage == nullptr); in onDestroy()
376 return mImage; in getImage()
381 if (mImage != nullptr) in release()
[all …]
DHardwareBufferImageSiblingVkAndroid.h54 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.h57 EGLImageD3D *mImage; variable
/external/angle/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
/external/OpenCL-CTS/test_conformance/events/
Daction_classes.cpp287mImage = create_image_2d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, 0, NULL, &error ); in Setup()
305 …cl_int error = clEnqueueReadImage( queue, mImage, CL_FALSE, origin, region, 0, 0, mOutput, numWait… in Execute()
320mImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NULL,… in Setup()
337 …cl_int error = clEnqueueReadImage( queue, mImage, CL_FALSE, origin, region, 0, 0, mOutput, numWait… in Execute()
352mImage = create_image_2d( context, CL_MEM_WRITE_ONLY, &format, mWidth, mHeight, 0, NULL, &error ); in Setup()
369 …cl_int error = clEnqueueWriteImage( queue, mImage, CL_FALSE, origin, region, 0, 0, mOutput, numWai… in Execute()
384mImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NULL,… in Setup()
401 …cl_int error = clEnqueueWriteImage( queue, mImage, CL_FALSE, origin, region, 0, 0, mOutput, numWai… in Execute()
630 clEnqueueUnmapMemObject( mQueue, mImage, mMappedPtr, 0, NULL, NULL ); in ~MapImageAction()
642mImage = create_image_2d( context, CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR, &format, mWidth, mHei… in Setup()
[all …]
Daction_classes.h134 clMemWrapper mImage; variable
150 clMemWrapper mImage; variable
163 clMemWrapper mImage;
179 clMemWrapper mImage;
313 clMemWrapper mImage; variable
/external/angle/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->mEGL->destroyImageKHR(mImage); in reset()
142 mImage = EGL_NO_IMAGE_KHR; in reset()
204 mImage = mDisplay->mEGL->createImageKHR(EGL_NO_CONTEXT, EGL_LINUX_DMA_BUF_EXT, nullptr, attr); in resize()
205 if (mImage == EGL_NO_IMAGE_KHR) in resize()
216 gl->eGLImageTargetRenderbufferStorageOES(GL_RENDERBUFFER, mImage); in resize()
243 gl->eGLImageTargetTexture2DOES(GL_TEXTURE_2D, mImage); in bindTexImage()
259 ASSERT(mImage != EGL_NO_IMAGE_KHR); in getTexture()
260 gl->eGLImageTargetTexture2DOES(GL_TEXTURE_2D, mImage); in getTexture()
DDisplayGbm.h94 EGLImageKHR 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.h142 EGLImageD3D *mImage;
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.h530 EGLImageD3D *mImage; variable

12