[Piglit] [PATCH 08/16] namespace-pollution: Add glGetTexImage as an operation to test

Emil Velikov emil.l.velikov at gmail.com
Thu Jan 7 09:31:05 PST 2016


On 7 January 2016 at 02:53, Ian Romanick <idr at freedesktop.org> wrote:

>  static bool
> +do_GetTexImage(bool silent_skip)
> +{

> +       generate_random_data(data, sizeof(data), GL_PIXEL_UNPACK_BUFFER, pbo);
GL_TEXTURE_2D ?

> +       glBindTexture(GL_TEXTURE_2D, tex);
> +       glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, 16, 16, 0, GL_RGBA,
> +                    GL_UNSIGNED_BYTE, data);
> +

-Emil


More information about the Piglit mailing list