Test group #039
Drawing surface pixels reading and writing

file automatically generated by AmanithVG testsuite

# Reference AmanithVG RMS Description Comment
390001

100%

Test vgSetPixels with VG_SCISSORING disable (i.e. no scissoring is performed)
390002

100%

Test vgSetPixels with VG_SCISSORING enabled (two scissor rectangles)
390003

100%

Test vgWritePixels with VG_SCISSORING disable (i.e. no scissoring is performed)
390004

100%

Test vgWritePixels with VG_SCISSORING enabled (two scissor rectangles)
390005

100%

Test vgWritePixels with VG_SCISSORING enabled, but a void VG_SCISSOR_RECTS is submitted According to OpenVG specifications, "If scissoring is enabled and no valid scissoring rectangles are present, no drawing occurs", so the image must be completely cleared
390006

100%

Test vgWritePixels with VG_SCISSORING enabled, two scissor rectangles are submitted but none of them include (nor overlap) the written region by the vgWritePixels call, no drawing occurs The resulting image must be just completely empty/cleared
390007

100%

Test vgWritePixels with VG_SCISSORING disable (i.e. no scissoring is performed). The written region has non power-of-two dimensions
390008

100%

Test a set of vgSetPixels calls, in order to copy different portion of the same image into different surface locations Negative source and destination coordinates have been used, in order to test correct clipping by vgSetPixels operations
390009

100%

Test a set of vgWritePixels calls, in order to copy different portion of the same image into different surface locations; some calls are performed with VG_SCISSORING disabled, some others with VG_SCISSORING enabled Negative source and destination coordinates have been used, in order to test correct clipping by vgWritePixels operations
390010

100%

Test a set of vgGetPixels calls, in order to reconstruct the original image Negative source and destination coordinates have been used, in order to test correct clipping by vgGetPixels operations
390011

100%

Test a set of vgReadPixels calls, in order to reconstruct the original image Negative source and destination coordinates have been used, in order to test correct clipping by vgReadPixels operations
390012

100%

Test a set of vgCopyPixels calls, in order to scramble several sub-regions of the drawing surface Negative source and destination coordinates have been used, in order to test correct clipping by vgCopyPixels operations
390013

100%

Test vgCopyPixels in order to copy pixels between two overlapping regions of drawing surface According to OpenVG specifications, "Copies between overlapping regions are allowed and always produce consistent results identical to copying the entire source region to a scratch buffer followed by copying the scratch buffer into the destination region"