Home
last modified time | relevance | path

Searched refs:widthValid (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_draw.cpp861 bool widthValid = true; in CheckCompressedTexDimensions() local
873widthValid = (imgArg.level && imgArg.width == 1) || (imgArg.level && imgArg.width == 2) || in CheckCompressedTexDimensions()
883widthValid = (static_cast<uint32_t>(imgArg.width) & static_cast<uint32_t>(imgArg.width - 1)) == 0; in CheckCompressedTexDimensions()
891 if (!widthValid || !heightValid) { in CheckCompressedTexDimensions()