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()
43 mImage = image; in init()
54 mImage = nullptr; in reset()
63 ASSERT(mImage && mImage->valid()); in getAssignSerial()
67 Serial imageSerial = mImage->getAssignSerial(contextVk); in getAssignSerial()
77 ASSERT(!mImage->getFormat().actualImageFormat().hasDepthOrStencilBits()); in onColorDraw()
80 mImage); in onColorDraw()
89 ASSERT(mImage->getFormat().actualImageFormat().hasDepthOrStencilBits()); in onDepthStencilDraw()
91 const angle::Format &format = mImage->getFormat().actualImageFormat(); in onDepthStencilDraw()
94 contextVk->onRenderPassImageWrite(aspectFlags, vk::ImageLayout::DepthStencilAttachment, mImage); in onDepthStencilDraw()
[all …]
DRenderbufferVk.cpp21 : RenderbufferImpl(state), mOwnsImage(false), mImage(nullptr) in RenderbufferVk()
47 if (mImage != nullptr && mImage->valid()) in setStorageImpl()
58 if ((mImage == nullptr || !mImage->valid()) && (width != 0 && height != 0)) in setStorageImpl()
60 if (mImage == nullptr) in setStorageImpl()
62 mImage = new vk::ImageHelper(); in setStorageImpl()
75 ANGLE_TRY(mImage->init(contextVk, gl::TextureType::_2D, extents, vkFormat, in setStorageImpl()
79 ANGLE_TRY(mImage->initMemory(contextVk, renderer->getMemoryProperties(), flags)); in setStorageImpl()
81 mRenderTarget.init(mImage, &mImageViews, 0, 0); in setStorageImpl()
113 mImage = imageVk->getImage(); in setStorageEGLImageTarget()
123 if (mImage->isQueueChangeNeccesary(rendererQueueFamilyIndex)) in setStorageEGLImageTarget()
[all …]
DTextureVk.cpp115 mImage(nullptr), in TextureVk()
250 ANGLE_TRY(mImage->CalculateBufferInfo( in setSubImageImpl()
284 ANGLE_TRY(mImage->stageSubresourceUpdateImpl( in setSubImageImpl()
295 ANGLE_TRY(mImage->stageSubresourceUpdate( in setSubImageImpl()
447 bool forceCPUPath = ForceCPUPathForCopy(renderer, *mImage); in copySubImageImpl()
465 ANGLE_TRY(mImage->stageSubresourceUpdateFromFramebuffer( in copySubImageImpl()
501 bool forceCPUPath = ForceCPUPathForCopy(renderer, *mImage); in copySubTextureImpl()
531 ANGLE_TRY(mImage->stageSubresourceUpdateAndGetData( in copySubTextureImpl()
591 if (mImage->valid()) in copySubImageImplWithTransfer()
598 mImage)); in copySubImageImplWithTransfer()
[all …]
DImageVk.cpp25 : ImageImpl(state), mImageLevel(0), mOwnsImage(false), mImage(nullptr), mContext(context) in ImageVk()
35 if (mImage != nullptr && mOwnsImage) in onDestroy()
37 mImage->releaseImage(renderer); in onDestroy()
38 mImage->releaseStagingBuffer(renderer); in onDestroy()
39 SafeDelete(mImage); in onDestroy()
47 mImage = nullptr; in onDestroy()
63 mImage = &textureVk->getImage(); in initialize()
80 mImage = renderbufferVk->getImage(); in initialize()
89 mImage = externalImageSibling->getImage(); in initialize()
101 mImage->initStagingBuffer(renderer, mImage->getFormat(), vk::kStagingBufferFlags, in initialize()
[all …]
DTextureVk.h162 if (mImage->valid() && (vkFormat.intendedFormatID == vkFormat.actualImageFormatID) && in isFastUnpackPossible()
173 ASSERT(mImage && mImage->valid()); in getImage()
174 return *mImage; in getImage()
179 ASSERT(mImage && mImage->valid()); in getImage()
180 return *mImage; in getImage()
409 vk::ImageHelper *mImage; variable
DImageVk.h41 vk::ImageHelper *getImage() const { return mImage; } in getImage()
52 vk::ImageHelper *mImage; variable
DRenderbufferVk.h48 vk::ImageHelper *getImage() const { return mImage; } in getImage()
74 vk::ImageHelper *mImage; variable
Dvk_helpers.cpp1947 : mImage(std::move(other.mImage)), in ImageHelper()
2063 ANGLE_VK_TRY(context, mImage.init(context->getDevice(), imageInfo)); in initExternal()
2073 renderer->collectGarbageAndReinit(&mUse, &mImage, &mDeviceMemory); in releaseImage()
2089 mImage.reset(); in resetImageWeakReference()
2112 commandBuffer.copyBufferToImage(stagingBuffer.getBuffer().getHandle(), mImage, in initializeNonZeroMemory()
2133 ANGLE_TRY(AllocateImageMemory(context, flags, nullptr, &mImage, &mDeviceMemory, &size)); in initMemory()
2168 extraAllocationInfo, &mImage, &mDeviceMemory)); in initExternalMemory()
2198 viewInfo.image = mImage.getHandle(); in initLayerImageView()
2229 mImage.destroy(device); in destroy()
2254 mImage.setHandle(handle); in init2DWeakReference()
[all …]
DRenderTargetVk.h85 vk::ImageHelper *mImage;
Dvk_helpers.h798 bool valid() const { return mImage.valid(); } in valid()
813 const Image &getImage() const { return mImage; } in getImage()
1118 Image mImage; variable
/external/OpenCL-CTS/test_common/harness/
DclImageHelper.h41 cl_mem mImage = NULL; in create_image_2d() local
55 mImage = clCreateImage( context, flags, image_format, &image_desc_dest, host_ptr, errcode_ret ); in create_image_2d()
63mImage = clCreateImage2D( context, flags, image_format, image_width, image_height, image_row_pitch… in create_image_2d()
71 return mImage; in create_image_2d()
86 cl_mem mImage = NULL; in create_image_2d_buffer() local
99 mImage = clCreateImage( context, flags, image_format, &image_desc_dest, NULL, errcode_ret ); in create_image_2d_buffer()
106 return mImage; in create_image_2d_buffer()
122 cl_mem mImage; in create_image_3d() local
136 mImage = clCreateImage( context, in create_image_3d()
149 mImage = clCreateImage3D( context, in create_image_3d()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp26 mImage(nullptr) in HardwareBufferImageSiblingVkAndroid()
128 mImage = new vk::ImageHelper(); in initImpl()
129 ANGLE_TRY(mImage->initExternal(displayVk, gl::TextureType::_2D, vkExtents, vkFormat, 1, usage, in initImpl()
140 dedicatedAllocInfo.image = mImage->getImage().getHandle(); in initImpl()
149 ANGLE_TRY(mImage->initExternalMemory(displayVk, renderer->getMemoryProperties(), in initImpl()
170 ASSERT(mImage == nullptr); in onDestroy()
201 return mImage; in getImage()
206 if (mImage != nullptr) in release()
208 mImage->releaseImage(renderer); in release()
209 mImage->releaseStagingBuffer(renderer); in release()
[all …]
DHardwareBufferImageSiblingVkAndroid.h52 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()
72 mImage = nullptr; in setStorageMultisample()
81 mImage = GetImplAs<EGLImageD3D>(image); in setStorageEGLImageTarget()
90 if (mImage) in getRenderTarget()
92 return mImage->getRenderTarget(context, outRenderTarget); in getRenderTarget()
DRenderbufferD3D.h56 EGLImageD3D *mImage; variable
/external/angle/src/libANGLE/renderer/gl/egl/
DImageEGL.cpp34 mImage(EGL_NO_IMAGE) in ImageEGL()
45 mEGL->destroyImageKHR(mImage); in ~ImageEGL()
92 mImage = mEGL->createImageKHR(mContext, mTarget, buffer, attributes.data()); in initialize()
93 if (mImage == EGL_NO_IMAGE) in initialize()
119 functionsGL->eGLImageTargetTexture2DOES(ToGLenum(type), mImage); in setTexture2D()
136 functionsGL->eGLImageTargetRenderbufferStorageOES(GL_RENDERBUFFER, mImage); in setRenderbufferStorage()
DImageEGL.h56 EGLImage mImage; variable
/external/OpenCL-CTS/test_conformance/events/
Daction_classes.cpp285mImage = create_image_2d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, 0, NULL, &error ); in Setup()
303 …cl_int error = clEnqueueReadImage( queue, mImage, CL_FALSE, origin, region, 0, 0, mOutput, numWait… in Execute()
318mImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NULL,… in Setup()
335 …cl_int error = clEnqueueReadImage( queue, mImage, CL_FALSE, origin, region, 0, 0, mOutput, numWait… in Execute()
350mImage = create_image_2d( context, CL_MEM_WRITE_ONLY, &format, mWidth, mHeight, 0, NULL, &error ); in Setup()
367 …cl_int error = clEnqueueWriteImage( queue, mImage, CL_FALSE, origin, region, 0, 0, mOutput, numWai… in Execute()
382mImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NULL,… in Setup()
399 …cl_int error = clEnqueueWriteImage( queue, mImage, CL_FALSE, origin, region, 0, 0, mOutput, numWai… in Execute()
628 clEnqueueUnmapMemObject( mQueue, mImage, mMappedPtr, 0, NULL, NULL ); in ~MapImageAction()
640mImage = 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/ozone/
DDisplayOzone.cpp115 mImage(EGL_NO_IMAGE_KHR), in Buffer()
144 if (mImage != EGL_NO_IMAGE_KHR) in reset()
146 mDisplay->mEGL->destroyImageKHR(mImage); in reset()
147 mImage = EGL_NO_IMAGE_KHR; in reset()
209 mImage = mDisplay->mEGL->createImageKHR(EGL_NO_CONTEXT, EGL_LINUX_DMA_BUF_EXT, nullptr, attr); in resize()
210 if (mImage == EGL_NO_IMAGE_KHR) in resize()
221 gl->eGLImageTargetRenderbufferStorageOES(GL_RENDERBUFFER, mImage); in resize()
248 gl->eGLImageTargetTexture2DOES(GL_TEXTURE_2D, mImage); in bindTexImage()
264 ASSERT(mImage != EGL_NO_IMAGE_KHR); in getTexture()
265 gl->eGLImageTargetTexture2DOES(GL_TEXTURE_2D, mImage); in getTexture()
DDisplayOzone.h106 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.cpp277 : TextureStorage9(renderer, D3DUSAGE_RENDERTARGET), mImage(image) in TextureStorage9_EGLImage()
299 ANGLE_TRY(mImage->getRenderTarget(context, &renderTargetD3D)); in getSurfaceLevel()
316 return mImage->getRenderTarget(context, outRT); in getRenderTarget()
323 ANGLE_TRY(mImage->getRenderTarget(context, &renderTargetD3D)); in getBaseTexture()
358 ANGLE_TRY(mImage->getRenderTarget(context, &sourceRenderTarget)); in copyToStorage()
DTextureStorage9.h130 EGLImageD3D *mImage;
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.h506 EGLImageD3D *mImage; variable

12