/external/OpenCL-CTS/test_conformance/gl/ |
D | test_images_write_common.cpp | 299 cl_image_format *outFormat, ExplicitType *outType, void **outSourceBuffer, in test_cl_image_write() argument 357 *outSourceBuffer = NULL; in test_cl_image_write() 361 *outSourceBuffer = CreateRandomData(*outType, width * height * depth * 4, d); in test_cl_image_write() 364 channelSize * 4 * width * height * depth, *outSourceBuffer, &error ); in test_cl_image_write() 405 cl_image_format *outFormat, ExplicitType *outType, void **outSourceBuffer, in test_image_write() argument 424 width, height, depth, outFormat, outType, outSourceBuffer, d, supports_half ); in test_image_write() 562 void *outSourceBuffer = NULL; in test_image_format_write() local 575 depth, &clFormat, &sourceType, (void **)&outSourceBuffer, d, supports_half ); in test_image_format_write() 578 if (outSourceBuffer) in test_image_format_write() 579 free(outSourceBuffer); in test_image_format_write() [all …]
|
D | test_renderbuffer.cpp | 58 cl_image_format *outFormat, ExplicitType *outType, void **outSourceBuffer, 269 … cl_image_format *outFormat, ExplicitType *outType, MTdata d, void **outSourceBuffer, bool support… in test_attach_renderbuffer_write_to_image() argument 282 imageHeight, 1, outFormat, outType, outSourceBuffer, d, supports_half ); in test_attach_renderbuffer_write_to_image() 317 void *outSourceBuffer; in test_renderbuffer_image_write() local 324 … glRenderbuffer, width, height, &clFormat, &sourceType, d, (void **)&outSourceBuffer, supports_hal… in test_renderbuffer_image_write() 334 …BufferOwningPtr<char> validationSource( convert_to_expected( outSourceBuffer, width * height, sour… in test_renderbuffer_image_write()
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | test_renderbuffer.cpp | 23 ExplicitType *outType, void **outSourceBuffer, MTdata d ); 203 … imageHeight, cl_image_format *outFormat, ExplicitType *outType, MTdata d, void **outSourceBuffer ) in test_attach_renderbuffer_write_to_image() argument 215 …ge_write( context, queue, image, imageWidth, imageHeight, outFormat, outType, outSourceBuffer, d ); in test_attach_renderbuffer_write_to_image() 240 void *outSourceBuffer; in test_renderbuffer_image_write() local 241 … attachment, glRenderbuffer, width, height, &clFormat, &sourceType, d, (void **)&outSourceBuffer ); in test_renderbuffer_image_write() 245 BufferOwningPtr<char> sourceData(outSourceBuffer); in test_renderbuffer_image_write()
|
D | test_images_2D.cpp | 376 … imageHeight, cl_image_format *outFormat, ExplicitType *outType, void **outSourceBuffer, MTdata d ) in test_cl_image_write() argument 414 *outSourceBuffer = CreateRandomData(*outType, imageWidth * imageHeight * 4, d); in test_cl_image_write() 417 …text, CL_MEM_COPY_HOST_PTR, channelSize * 4 * imageWidth * imageHeight, *outSourceBuffer, &error ); in test_cl_image_write() 468 … imageHeight, cl_image_format *outFormat, ExplicitType *outType, void **outSourceBuffer, MTdata d ) in test_image_write() argument 485 …ge_write( context, queue, image, imageWidth, imageHeight, outFormat, outType, outSourceBuffer, d ); in test_image_write() 514 void *outSourceBuffer; in test_image_format_write() local 515 …t, queue, target, glTexture, width, height, &clFormat, &sourceType, (void **)&outSourceBuffer, d ); in test_image_format_write() 519 BufferOwningPtr<char> actualSource(outSourceBuffer); in test_image_format_write()
|