/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()
|
D | vk_helpers.cpp | 2484 ASSERT(gl::isPow2(prevAlignment)); in requireAlignment() 2491 if (gl::isPow2(prevAlignment * alignment)) in requireAlignment() 2499 ASSERT(prevAlignment % 3 != 0 || gl::isPow2(prevAlignment / 3)); in requireAlignment() 2500 ASSERT(alignment % 3 != 0 || gl::isPow2(alignment / 3)); in requireAlignment()
|
D | ContextVk.cpp | 916 ASSERT(gl::isPow2(mRenderer->getPhysicalDeviceProperties().limits.nonCoherentAtomSize)); in initialize() 917 ASSERT(gl::isPow2( in initialize()
|
/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/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()
|
D | validationES2.cpp | 1644 if (!isPow2(width) || !isPow2(height)) in ValidateES2TexStorageParametersBase()
|
D | formatutils.cpp | 1669 ASSERT(alignment > 0 && isPow2(alignment)); in computeRowPitch()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
D | pipeline.cc | 180 const bool isPow2 = in SetShaderRequiredSubgroupSize() local 182 if (subgroupSize == 0 || subgroupSize > 128 || !isPow2) { in SetShaderRequiredSubgroupSize()
|
/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir.h | 841 bool isPow2() const;
|
D | nv50_ir.cpp | 421 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/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | renderer_utils.cpp | 987 ASSERT(gl::isPow2(sampleCount)); in GetSamplePosition()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/ |
D | Image.cpp | 517 ASSERT(alignment > 0 && sw::isPow2(alignment)); in ComputePitch()
|