Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_egl.c299 int i, j, best_bitdiff = -1, bitdiff; in SDL_EGL_ChooseConfig() local
388 bitdiff = 0; in SDL_EGL_ChooseConfig()
402 bitdiff += value - attribs[j + 1]; /* value is always >= attrib */ in SDL_EGL_ChooseConfig()
406 if (bitdiff < best_bitdiff || best_bitdiff == -1) { in SDL_EGL_ChooseConfig()
409 best_bitdiff = bitdiff; in SDL_EGL_ChooseConfig()
412 if (bitdiff == 0) { in SDL_EGL_ChooseConfig()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp2473 int bitdiff; in compare() local
2497 bitdiff = std::min(std::min(bit1, bit2), bit3); in compare()
2500 bitdiff = std::min(bitdiff, copyFormatBitTable[j]); in compare()
2503 if (bitdiff > 0) in compare()
2565 epsilon = 1.0f / ((float)((1 << (bitdiff - 1))) - 1); in compare()
2570 epsilon = 1.0f / ((float)((1 << (bitdiff - 1))) - 1); in compare()
2573 epsilon = 1.0f / ((float)((1 << bitdiff) - 1)); in compare()