Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/api/
Dtest_mem_object_info.cpp420 cl_mem imageObject; in test_get_image_info() local
556imageObject = clCreateImage( context, imageFlags[i], &imageFormat, &imageInfo, image, &error ); in test_get_image_info()
564 … error = clSetMemObjectDestructorCallback( imageObject, mem_obj_destructor_callback, image ); in test_get_image_info()
568 … TEST_MEM_OBJECT_PARAM( imageObject, CL_MEM_HOST_PTR, ptr, image, "host pointer", "%p", void * ) in test_get_image_info()
569 …int ret = test_get_imageObject_info( &imageObject, imageFlags[i], &imageInfo, &imageFormat, pixelS… in test_get_image_info()
574 clReleaseMemObject(imageObject); in test_get_image_info()
589imageObject = clCreateImage( context, imageFlags[i], &imageFormat, &imageInfo, image, &error ); in test_get_image_info()
597 … error = clSetMemObjectDestructorCallback( imageObject, mem_obj_destructor_callback, image ); in test_get_image_info()
600 … TEST_MEM_OBJECT_PARAM( imageObject, CL_MEM_HOST_PTR, ptr, image, "host pointer", "%p", void * ) in test_get_image_info()
601 …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.cpp4551 egl::Image *imageObject = static_cast<egl::Image *>(image); in ValidateEGLImageTargetTexture2DOES() local
4554 if (!context->getDisplay()->isValidImage(imageObject)) in ValidateEGLImageTargetTexture2DOES()
4560 if (imageObject->getSamples() > 0) in ValidateEGLImageTargetTexture2DOES()
4566 if (!imageObject->isTexturable(context)) in ValidateEGLImageTargetTexture2DOES()
4572 if (imageObject->isLayered() && type != TextureType::_2DArray) in ValidateEGLImageTargetTexture2DOES()
4579 if (imageObject->isYUV() && type != TextureType::External) in ValidateEGLImageTargetTexture2DOES()
4609 egl::Image *imageObject = static_cast<egl::Image *>(image); in ValidateEGLImageTargetRenderbufferStorageOES() local
4612 if (!context->getDisplay()->isValidImage(imageObject)) in ValidateEGLImageTargetRenderbufferStorageOES()
4618 if (!imageObject->isRenderable(context)) in ValidateEGLImageTargetRenderbufferStorageOES()
DContext.cpp8584 egl::Image *imageObject = static_cast<egl::Image *>(image); in eGLImageTargetTexture2D() local
8585 ANGLE_CONTEXT_TRY(texture->setEGLImageTarget(this, target, imageObject)); in eGLImageTargetTexture2D()
8591 egl::Image *imageObject = static_cast<egl::Image *>(image); in eGLImageTargetRenderbufferStorage() local
8592 ANGLE_CONTEXT_TRY(renderbuffer->setStorageEGLImageTarget(this, imageObject)); in eGLImageTargetRenderbufferStorage()