/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | mathutil.h | 26 inline bool isPow2(int x) in isPow2() function
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | BufferVk.cpp | 31 static_assert(gl::isPow2(kBufferSizeGranularity), "use as alignment, must be power of two"); 119 ASSERT(gl::isPow2(limitsVk.minUniformBufferOffsetAlignment)); in GetPreferredDynamicBufferInitialSize() 120 ASSERT(gl::isPow2(limitsVk.minStorageBufferOffsetAlignment)); in GetPreferredDynamicBufferInitialSize() 121 ASSERT(gl::isPow2(limitsVk.minTexelBufferOffsetAlignment)); in GetPreferredDynamicBufferInitialSize() 122 ASSERT(gl::isPow2(limitsVk.minMemoryMapAlignment)); in GetPreferredDynamicBufferInitialSize()
|
D | vk_utils.cpp | 1236 ASSERT(gl::isPow2(sampleCount)); in PackSampleCount()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
D | Math.hpp | 147 inline bool isPow2(int x) in isPow2() function
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
D | Math.hpp | 180 inline bool isPow2(int x) in isPow2() function
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | mathutil.h | 37 inline constexpr bool isPow2(T x) in isPow2() function 1377 ASSERT(gl::isPow2(alignment)); 1384 ASSERT(gl::isPow2(alignment));
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | TextureMtl.mm | 717 mIsPow2 = gl::isPow2(size.width) && gl::isPow2(size.height) && gl::isPow2(size.depth); 1257 mIsPow2 = gl::isPow2(size.width) && gl::isPow2(size.height) && gl::isPow2(size.depth); 1397 mIsPow2 = gl::isPow2(size.width) && gl::isPow2(size.height) && gl::isPow2(size.depth);
|
D | mtl_render_utils.mm | 2645 bool isPow2 = gl::isPow2(size.width) && gl::isPow2(size.height) && gl::isPow2(size.depth); 2648 if (isPow2)
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Texture.cpp | 308 samplerState.getWrapS() != GL_CLAMP_TO_BORDER && !isPow2(baseImageDesc.size.width)) || in computeSamplerCompleteness() 310 samplerState.getWrapT() != GL_CLAMP_TO_BORDER && !isPow2(baseImageDesc.size.height))) in computeSamplerCompleteness() 320 if (!isPow2(baseImageDesc.size.width) || !isPow2(baseImageDesc.size.height)) in computeSamplerCompleteness()
|
D | validationEGL.cpp | 1472 (!gl::isPow2(width) || !gl::isPow2(height))) in ValidateCreatePbufferSurface() 1672 (!gl::isPow2(width) || !gl::isPow2(height))) in ValidateCreatePbufferFromClientBuffer()
|
D | validationES2.cpp | 1861 if (!gl::isPow2(width) || !gl::isPow2(height)) in ValidateES2TexStorageParameters() 3988 if (!isPow2(mask + 1)) in ValidateStencilFillPathCHROMIUM() 4158 if (!isPow2(mask + 1)) in ValidateStencilFillPathInstancedCHROMIUM() 4221 if (!isPow2(mask + 1)) in ValidateStencilThenCoverFillPathInstancedCHROMIUM() 6565 (!isPow2(static_cast<int>(texture->getWidth(baseTarget, 0))) || in ValidateGenerateMipmap() 6566 !isPow2(static_cast<int>(texture->getHeight(baseTarget, 0))))) in ValidateGenerateMipmap()
|
D | validationES.cpp | 814 (level != 0 && (!isPow2(width) || !isPow2(height) || !isPow2(depth)))) in ValidImageSizeParameters() 1043 ASSERT(isPow2(typeSize) && typeSize > 0); in ValidateWebGLVertexAttribPointer()
|
D | validationES.h | 840 ASSERT(isPow2(GetDrawElementsTypeSize(type)) && GetDrawElementsTypeSize(type) > 0); in ValidateDrawElementsCommon()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | BufferVk.cpp | 29 static_assert(gl::isPow2(kBufferSizeGranularity), "use as alignment, must be power of two");
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | mathutil.h | 37 inline constexpr bool isPow2(T x) in isPow2() function 1254 ASSERT(gl::isPow2(alignment));
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Texture.cpp | 365 samplerState.getWrapS() != GL_CLAMP_TO_BORDER && !isPow2(baseImageDesc.size.width)) || in computeSamplerCompleteness() 367 samplerState.getWrapT() != GL_CLAMP_TO_BORDER && !isPow2(baseImageDesc.size.height))) in computeSamplerCompleteness() 377 if (!isPow2(baseImageDesc.size.width) || !isPow2(baseImageDesc.size.height)) in computeSamplerCompleteness()
|
D | validationES.cpp | 1018 (level != 0 && (!isPow2(width) || !isPow2(height) || !isPow2(depth)))) in ValidImageSizeParameters() 1068 if (!isPow2(width) || !isPow2(height)) in ValidCompressedImageSize() 1287 ASSERT(isPow2(typeSize) && typeSize > 0); in ValidateWebGLVertexAttribPointer() 1959 (!isPow2(static_cast<int>(texture->getWidth(baseTarget, 0))) || in ValidateGenerateMipmapBase() 1960 !isPow2(static_cast<int>(texture->getHeight(baseTarget, 0))))) in ValidateGenerateMipmapBase()
|
D | validationEGL.cpp | 2579 (!gl::isPow2(width) || !gl::isPow2(height))) in ValidateCreatePbufferSurface() 2858 (!gl::isPow2(width) || !gl::isPow2(height))) in ValidateCreatePbufferFromClientBuffer()
|
D | validationES.h | 1075 ASSERT(isPow2(GetDrawElementsTypeSize(type)) && GetDrawElementsTypeSize(type) > 0); in ValidateDrawElementsCommon()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | turbojpeg.c | 53 #define isPow2(x) (((x) & (x - 1)) == 0) macro 866 if (width <= 0 || height <= 0 || dstBuf == NULL || pad < 0 || !isPow2(pad) || in tjEncodeYUV3() 1514 if (srcBuf == NULL || pad < 0 || !isPow2(pad) || subsamp < 0 || in tjDecodeYUV() 1726 pad < 1 || !isPow2(pad) || height < 0) in tjDecompressToYUV2()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir.h | 839 bool isPow2() const;
|
D | nv50_ir.cpp | 425 ImmediateValue::isPow2() const in isPow2() function in nv50_ir::ImmediateValue
|
D | nv50_ir_peephole.cpp | 1101 } else if (!imm0.isNegative() && imm0.isPow2()) { in opnd() 1226 if (i->dType == TYPE_U32 && imm0.isPow2()) { in opnd() 1298 if (s == 1 && imm0.isPow2()) { in opnd()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 405 if ((gl::isPow2(width) && gl::isPow2(height) && gl::isPow2(depth)) || in creationLevels()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 397 if ((gl::isPow2(width) && gl::isPow2(height) && gl::isPow2(depth)) || in creationLevels()
|