Home
last modified time | relevance | path

Searched refs:imageObject (Results 1 – 5 of 5) sorted by relevance

/external/OpenCL-CTS/test_conformance/api/
Dtest_mem_object_info.cpp411 cl_mem imageObject; in test_get_image_info() local
547imageObject = clCreateImage( context, imageFlags[i], &imageFormat, &imageInfo, image, &error ); in test_get_image_info()
555 … error = clSetMemObjectDestructorCallback( imageObject, mem_obj_destructor_callback, image ); in test_get_image_info()
559 … TEST_MEM_OBJECT_PARAM( imageObject, CL_MEM_HOST_PTR, ptr, image, "host pointer", "%p", void * ) in test_get_image_info()
560 …int ret = test_get_imageObject_info( &imageObject, imageFlags[i], &imageInfo, &imageFormat, pixelS… in test_get_image_info()
565 clReleaseMemObject(imageObject); in test_get_image_info()
580imageObject = clCreateImage( context, imageFlags[i], &imageFormat, &imageInfo, image, &error ); in test_get_image_info()
588 … error = clSetMemObjectDestructorCallback( imageObject, mem_obj_destructor_callback, image ); in test_get_image_info()
591 … TEST_MEM_OBJECT_PARAM( imageObject, CL_MEM_HOST_PTR, ptr, image, "host pointer", "%p", void * ) in test_get_image_info()
592 …ret = test_get_imageObject_info( &imageObject, imageFlags[i], &imageInfo, &imageFormat, pixelSize,… in test_get_image_info()
[all …]
/external/vulkan-validation-layers/tests/
Dvklayertests_imageless_framebuffer.cpp131 VkImageObj imageObject(m_device); in TEST_F() local
132 imageObject.init(&imageCreateInfo); in TEST_F()
133 VkImage image = imageObject.image(); in TEST_F()
278 imageViewCreateInfo.image = imageObject.image(); in TEST_F()
/external/angle/src/libANGLE/
DvalidationES.cpp4983 egl::Image *imageObject = context->getDisplay()->getImage(imageID); in ValidateEGLImageObject() local
4984 if (imageObject->getSamples() > 0) in ValidateEGLImageObject()
4990 if (!imageObject->isTexturable(context)) in ValidateEGLImageObject()
4997 size_t depth = static_cast<size_t>(imageObject->getExtents().depth); in ValidateEGLImageObject()
4998 if (imageObject->isYUV() && type != TextureType::External) in ValidateEGLImageObject()
5012 if (imageObject->isCubeMap() && type != TextureType::CubeMapArray && in ValidateEGLImageObject()
5019 if (imageObject->getLevelCount() > 1 && type == TextureType::External) in ValidateEGLImageObject()
5032 if (imageObject->hasProtectedContent() && !context->getState().hasProtectedContent()) in ValidateEGLImageObject()
5112 egl::Image *imageObject = context->getDisplay()->getImage(image); in ValidateEGLImageTargetRenderbufferStorageOES() local
5113 if (!imageObject->isRenderable(context)) in ValidateEGLImageTargetRenderbufferStorageOES()
[all …]
DvalidationESEXT.cpp3575 egl::Image *imageObject = context->getDisplay()->getImage(image); in ValidateEGLImageTargetTexStorageEXT() local
3588 GLsizei levelCount = imageObject->getLevelCount(); in ValidateEGLImageTargetTexStorageEXT()
3589 Extents size = imageObject->getExtents(); in ValidateEGLImageTargetTexStorageEXT()
3593 GLenum internalformat = imageObject->getFormat().info->sizedInternalFormat; in ValidateEGLImageTargetTexStorageEXT()
DContext.cpp9159 egl::Image *imageObject = mDisplay->getImage(image); in eGLImageTargetTexStorage() local
9161 imageObject, attrib_list)); in eGLImageTargetTexStorage()
9172 egl::Image *imageObject = mDisplay->getImage(image); in eGLImageTargetTexture2D() local
9173 ANGLE_CONTEXT_TRY(texture->setEGLImageTarget(this, target, imageObject)); in eGLImageTargetTexture2D()
9179 egl::Image *imageObject = mDisplay->getImage(image); in eGLImageTargetRenderbufferStorage() local
9180 ANGLE_CONTEXT_TRY(renderbuffer->setStorageEGLImageTarget(this, imageObject)); in eGLImageTargetRenderbufferStorage()