Searched refs:outputPitch (Results 1 - 3 of 3) sorted by relevance
/external/swiftshader/src/OpenGL/libGL/ |
H A D | Context.cpp | 2183 GLsizei outputPitch = ComputePitch(width, format, type, mState.packAlignment); local 2188 int requiredSize = outputPitch * height; 2217 memcpy(dest + j * outputPitch, source + j * inputPitch, (rect.x1 - rect.x0) * 4); 2307 dest[4 * i + j * outputPitch + 0] = (unsigned char)(255 * r + 0.5f); 2308 dest[4 * i + j * outputPitch + 1] = (unsigned char)(255 * g + 0.5f); 2309 dest[4 * i + j * outputPitch + 2] = (unsigned char)(255 * b + 0.5f); 2310 dest[4 * i + j * outputPitch + 3] = (unsigned char)(255 * a + 0.5f); 2319 dest[4 * i + j * outputPitch + 0] = (unsigned char)(255 * b + 0.5f); 2320 dest[4 * i + j * outputPitch + 1] = (unsigned char)(255 * g + 0.5f); 2321 dest[4 * i + j * outputPitch [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Context.cpp | 3338 GLsizei outputPitch = gl::ComputePitch(outputWidth, format, type, mState.packParameters.alignment); local 3346 int requiredSize = outputPitch * height; 3373 sw::Surface *externalSurface = sw::Surface::create(width, height, 1, gl::ConvertReadFormatType(format, type), pixels, outputPitch, outputPitch * outputHeight);
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
H A D | Context.cpp | 2427 GLsizei outputPitch = gl::ComputePitch(width, format, type, mState.packAlignment); local 2432 int requiredSize = outputPitch * height; 2666 dest += outputPitch;
|
Completed in 123 milliseconds