Searched refs:isPow2 (Results 1 – 5 of 5) sorted by relevance
16 inline bool isPow2(int x) in isPow2() function
1157 if (isPow2(width) && isPow2(height)) in creationLevels()1465 if ((getWrapS() != GL_CLAMP_TO_EDGE && !isPow2(width)) in isComplete()1466 || (getWrapT() != GL_CLAMP_TO_EDGE && !isPow2(height))) in isComplete()1473 if (!isPow2(width) || !isPow2(height)) in isComplete()1647 if (!isPow2(mImageArray[0].width) || !isPow2(mImageArray[0].height)) in generateMipmaps()1911 if (!isPow2(size) && (getWrapS() != GL_CLAMP_TO_EDGE || getWrapT() != GL_CLAMP_TO_EDGE)) in isComplete()2314 if (!isPow2(mImageArray[0][0].width) || !isCubeComplete()) in generateMipmaps()
745 …if (width < 0 || height < 0 || (level > 0 && !gl::isPow2(width)) || (level > 0 && !gl::isPow2(heig… in glCompressedTexImage2D()876 … (level > 0 && !gl::isPow2(width)) || (level > 0 && !gl::isPow2(height)) || imageSize < 0) in glCompressedTexSubImage2D()989 if (level > 0 && (!gl::isPow2(width) || !gl::isPow2(height))) in glCopyTexImage2D()4466 if (level > 0 && (!gl::isPow2(width) || !gl::isPow2(height))) in glTexImage2D()
184 ASSERT(alignment > 0 && isPow2(alignment)); in ComputePitch()
529 bool isPow2 = GrIsPow2(width) && GrIsPow2(height); in supportsIndex8PixelConfig() local531 if (!isPow2) { in supportsIndex8PixelConfig()