/external/skia/src/pdf/ |
D | SkPDFGradientShader.cpp | 148 ColorTuple *colorData = colorDataAlloc.get(); in gradient_function_code() local 150 colorData[i][0] = SkColorGetR(info.fColors[i]); in gradient_function_code() 151 colorData[i][1] = SkColorGetG(info.fColors[i]); in gradient_function_code() 152 colorData[i][2] = SkColorGetB(info.fColors[i]); in gradient_function_code() 157 SkPDFUtils::AppendColorComponent(colorData[0][0], result); in gradient_function_code() 159 SkPDFUtils::AppendColorComponent(colorData[0][1], result); in gradient_function_code() 161 SkPDFUtils::AppendColorComponent(colorData[0][2], result); in gradient_function_code() 181 colorData[i], colorData[i - 1], result); in gradient_function_code() 187 SkPDFUtils::AppendColorComponent(colorData[info.fColorCount - 1][0], result); in gradient_function_code() 189 SkPDFUtils::AppendColorComponent(colorData[info.fColorCount - 1][1], result); in gradient_function_code() [all …]
|
/external/skqp/src/pdf/ |
D | SkPDFGradientShader.cpp | 148 ColorTuple *colorData = colorDataAlloc.get(); in gradient_function_code() local 150 colorData[i][0] = SkColorGetR(info.fColors[i]); in gradient_function_code() 151 colorData[i][1] = SkColorGetG(info.fColors[i]); in gradient_function_code() 152 colorData[i][2] = SkColorGetB(info.fColors[i]); in gradient_function_code() 157 SkPDFUtils::AppendColorComponent(colorData[0][0], result); in gradient_function_code() 159 SkPDFUtils::AppendColorComponent(colorData[0][1], result); in gradient_function_code() 161 SkPDFUtils::AppendColorComponent(colorData[0][2], result); in gradient_function_code() 181 colorData[i], colorData[i - 1], result); in gradient_function_code() 187 SkPDFUtils::AppendColorComponent(colorData[info.fColorCount - 1][0], result); in gradient_function_code() 189 SkPDFUtils::AppendColorComponent(colorData[info.fColorCount - 1][1], result); in gradient_function_code() [all …]
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cComputeShaderTests.cpp | 1209 std::vector<GLubyte> colorData(kWidth * kHeight * 4); in RunIteration() local 1210 glReadPixels(0, 0, kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, &colorData[0]); in RunIteration() 1216 vec4(static_cast<GLfloat>(colorData[i] / 255.), static_cast<GLfloat>(colorData[i + 1] / 255.), in RunIteration() 1217 static_cast<GLfloat>(colorData[i + 2] / 255.), static_cast<GLfloat>(colorData[i + 3] / 255.)); in RunIteration() 4160 std::vector<GLubyte> colorData(4 * 4 * 4); in Run() local 4161 glReadPixels(0, 0, 4, 4, GL_RGBA, GL_UNSIGNED_BYTE, &colorData[0]); in Run() 4165 vec4(static_cast<GLfloat>(colorData[i] / 255.), static_cast<GLfloat>(colorData[i + 1] / 255.), in Run() 4166 … static_cast<GLfloat>(colorData[i + 2] / 255.), static_cast<GLfloat>(colorData[i + 3] / 255.)); in Run() 4335 std::vector<GLubyte> colorData(128 * 128 * 4); in Run() local 4336 glReadPixels(0, 0, 128, 128, GL_RGBA, GL_UNSIGNED_BYTE, &colorData[0]); in Run() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemYCbCrConversionTests.cpp | 1220 YCbCrValidationData colorData; in conversionTest() local 1221 colorData.coord = posCoords[ndx].toWidth<4>(); in conversionTest() 1222 colorData.minBound = tcu::Vec4(0.0f, 0.9f, 0.0f, 1.0f); in conversionTest() 1223 colorData.maxBound = tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f); in conversionTest() 1225 colorReferenceData.push_back(colorData); in conversionTest()
|
/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/ |
D | vt320.java | 1279 String[] colorData = osc.split(";"); in handle_osc() local 1282 int colorIndex = Integer.parseInt(colorData[1]); in handle_osc() 1284 if ("rgb:".equals(colorData[2].substring(0, 4))) { in handle_osc() 1285 String[] rgb = colorData[2].substring(4).split("/"); in handle_osc()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelinePushConstantTests.cpp | 800 std::vector<float> colorData; in generateColorData() local 806 colorData.push_back(deRandom_getFloat(&random)); in generateColorData() 808 return colorData; in generateColorData()
|
/external/deqp/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationTests.cpp | 601 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives() local 603 drawPrimitives(result, vertexData, colorData, primitiveTopology); in drawPrimitives() 606 …nst std::vector<tcu::Vec4>& positionData, const std::vector<tcu::Vec4>& colorData, VkPrimitiveTopo… in drawPrimitives() argument 722 …cast<deUint8*>(vertexBufferMemory->getHostPtr()) + attributeBatchSize, colorData.data(), attribut… in drawPrimitives() 2544 …const std::vector<tcu::Vec4> colorData (positionData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0… in drawPrimitives() local 2553 …_cast<deUint8*>(vertexBufferMemory->getHostPtr()) + attributeBatchSize, colorData.data(), attribut… in drawPrimitives()
|
/external/deqp/modules/gles2/functional/ |
D | es2fRasterizationTests.cpp | 188 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives() local 190 drawPrimitives(result, vertexData, colorData, primitiveType); in drawPrimitives() 193 …const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec4>& colorData, glw::GLenum pri… in drawPrimitives() argument 207 gl.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, 0, &colorData[0]); in drawPrimitives()
|
/external/deqp/modules/gles3/functional/ |
D | es3fRasterizationTests.cpp | 354 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives() local 356 drawPrimitives(result, vertexData, colorData, primitiveType); in drawPrimitives() 359 …const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec4>& colorData, glw::GLenum pri… in drawPrimitives() argument 373 gl.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, 0, &colorData[0]); in drawPrimitives()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cComputeShaderTests.cpp | 4386 std::vector<GLubyte> colorData(4 * 4 * 4); in Run() local 4387 glReadPixels(0, 0, 4, 4, GL_RGBA, GL_UNSIGNED_BYTE, &colorData[0]); in Run() 4391 vec4(static_cast<GLfloat>(colorData[i] / 255.), static_cast<GLfloat>(colorData[i + 1] / 255.), in Run() 4392 … static_cast<GLfloat>(colorData[i + 2] / 255.), static_cast<GLfloat>(colorData[i + 3] / 255.)); in Run()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCommandBuffersTests.cpp | 1703 deUint8* colorData = reinterpret_cast<deUint8*>(pixelBufferAccess.getDataPtr()); in renderPassContinueTest() local 1705 if (colorData[i * 4 + colorComponent] != clearColor[colorComponent]) in renderPassContinueTest()
|