author Chris Lord <>
Wed, 31 Aug 2011 18:25:25 +0100
changeset 76342 891e5dbae3ec7f84ee003213e6377b2602066119
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 683514 - Add support for the GL_EXT_unpack_subimage extension. r=joe A GLES 2.0 extension exists that allows us to use GL_UNPACK_ROW_LENGTH, amongst other variables. This really helps us when uploading sub-regions of a buffer that don't span the entire width of that buffer (for example, when scrolling horizontally). This extension is available on Android tablets, and possibly other Tegra 2 devices, so is very much worth taking advantage of. Details:



for i in "${@}"
    case "$i" in
        i="$(echo "${i}" | sed -e 's|^-I\(.\):/|-I/\1/|')"

    args="${args} '${i}'"

eval "exec perl $args"