Lines Matching refs:pixels
47 std::vector<unsigned char> pixels(bytes); in TestTextureDrawBasic() local
51 pixels[i * width * bpp + j * bpp + 0] = (0xaa + i) % 0x100; in TestTextureDrawBasic()
52 pixels[i * width * bpp + j * bpp + 1] = (0x00 + j) % 0x100; in TestTextureDrawBasic()
53 pixels[i * width * bpp + j * bpp + 2] = (0x11 + i) % 0x100; in TestTextureDrawBasic()
55 pixels[i * width * bpp + j * bpp + 3] = 0xff; in TestTextureDrawBasic()
61 format, type, pixels.data()); in TestTextureDrawBasic()
86 pixels.data() + i * rowBytes, in TestTextureDrawBasic()
112 std::vector<unsigned char> pixels(bytes); in TestTextureDrawLayer() local
116 pixels[i * width * bpp + j * bpp + 0] = 0xff; in TestTextureDrawLayer()
117 pixels[i * width * bpp + j * bpp + 1] = 0x0; in TestTextureDrawLayer()
118 pixels[i * width * bpp + j * bpp + 2] = 0x0; in TestTextureDrawLayer()
119 pixels[i * width * bpp + j * bpp + 3] = 0xff; in TestTextureDrawLayer()
125 GL_RGBA, type, pixels.data()); in TestTextureDrawLayer()
149 pixels.data(), pixelsOut.data())); in TestTextureDrawLayer()
155 pixels[i * width * bpp + j * bpp + 0] = 0x0; in TestTextureDrawLayer()
156 pixels[i * width * bpp + j * bpp + 1] = 0x0; in TestTextureDrawLayer()
157 pixels[i * width * bpp + j * bpp + 2] = 0xff; in TestTextureDrawLayer()
158 pixels[i * width * bpp + j * bpp + 3] = 0xff; in TestTextureDrawLayer()
164 GL_RGBA, type, pixels.data()); in TestTextureDrawLayer()
169 pixels.data(), pixelsOut.data())); in TestTextureDrawLayer()
194 pixels[i * width * bpp + j * bpp + 0] = 0x0; in TestTextureDrawLayer()
195 pixels[i * width * bpp + j * bpp + 2] = 0xff; in TestTextureDrawLayer()
200 GL_RGBA, type, pixels.data()); in TestTextureDrawLayer()
205 pixels.data(), pixelsOut.data())); in TestTextureDrawLayer()