Searched refs:bytePerPixel (Results 1 – 2 of 2) sorted by relevance
77 const int bytePerPixel = fBuffer.format == WINDOW_FORMAT_RGB_565 ? 2 : 4; in getBackbufferSurface() local83 info, fBuffer.bits, fBuffer.stride * bytePerPixel, nullptr); in getBackbufferSurface()