Lines Matching refs:permutation
51 swizzlePermutation permutation; in SwizzleTest() local
52 permutation.swizzleRed = r; in SwizzleTest()
53 permutation.swizzleGreen = g; in SwizzleTest()
54 permutation.swizzleBlue = b; in SwizzleTest()
55 permutation.swizzleAlpha = a; in SwizzleTest()
56 mPermutations.push_back(permutation); in SwizzleTest()
171 for (const auto &permutation : mPermutations) in runTest2D() local
173 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_R, permutation.swizzleRed); in runTest2D()
174 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_G, permutation.swizzleGreen); in runTest2D()
175 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_B, permutation.swizzleBlue); in runTest2D()
176 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_A, permutation.swizzleAlpha); in runTest2D()
181 EXPECT_PIXEL_EQ(0, 0, getExpectedValue(permutation.swizzleRed, unswizzled), in runTest2D()
182 getExpectedValue(permutation.swizzleGreen, unswizzled), in runTest2D()
183 getExpectedValue(permutation.swizzleBlue, unswizzled), in runTest2D()
184 getExpectedValue(permutation.swizzleAlpha, unswizzled)); in runTest2D()