Lines Matching refs:mWidth
20 PixelRect(int width, int height) : mWidth(width), mHeight(height), mData(width * height) {} in PixelRect()
27 for (int x = 0; x < mWidth; ++x) in fill()
31 mData[x + y * mWidth] = angle::GLColor(x + (y << 8) + (tag << 16)); in fill()
41 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D()
43 glTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D()
45 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D()
47 glTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D()
49 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D()
51 glTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D()
57 glTexImage2D(target, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, in toTexture2D()
70 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, mWidth, mHeight, depth, 0, GL_RGBA, in toTexture3D()
74 glTexSubImage3D(GL_TEXTURE_3D, 0, 0, 0, z, mWidth, mHeight, 1, GL_RGBA, in toTexture3D()
86 glReadPixels(x, y, mWidth, mHeight, GL_RGBA, GL_UNSIGNED_BYTE, mData.data()); in readFB()
93 for (int i = 0; i < mWidth; ++i) in readPixelRect()
97 angle::GLColor *dest = &mData[i + j * mWidth]; in readPixelRect()
108 if (0 <= x && x < mWidth && 0 <= y && y < mHeight) in getPixel()
110 *colorOut = mData[x + y * mWidth]; in getPixel()
118 ASSERT_EQ(mWidth, expected.mWidth); in compare()
121 for (int x = 0; x < mWidth; ++x) in compare()
125 ASSERT_EQ(expected.mData[x + y * mWidth], mData[x + y * mWidth]) in compare()
132 int mWidth, mHeight; member in __anonea9f421f0111::PixelRect