/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/angle/src/tests/perf_tests/ |
D | DynamicPromotionPerfTest.cpp | 92 std::vector<Vector3> colorData; in initializeBenchmark() local 106 colorData.push_back(color); in initializeBenchmark() 123 glBufferSubData(GL_ARRAY_BUFFER, positionArraySize, colorArraySize, colorData.data()); in initializeBenchmark()
|
/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/rasterization/ |
D | vktRasterizationTests.cpp | 184 …nst std::vector<tcu::Vec4>& positionData, const std::vector<tcu::Vec4>& colorData, VkPrimitiveTopo… 655 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives() local 657 drawPrimitives(result, vertexData, colorData, primitiveTopology); in drawPrimitives() 660 …nst std::vector<tcu::Vec4>& positionData, const std::vector<tcu::Vec4>& colorData, VkPrimitiveTopo… in drawPrimitives() argument 662 …drawPrimitives(result, positionData, colorData, primitiveTopology, *m_image, *m_resolvedImage, *m_… in drawPrimitives() 664 …nst std::vector<tcu::Vec4>& positionData, const std::vector<tcu::Vec4>& colorData, VkPrimitiveTopo… in drawPrimitives() argument 806 …cast<deUint8*>(vertexBufferMemory->getHostPtr()) + attributeBatchSize, colorData.data(), attribut… in drawPrimitives() 1462 const std::vector<tcu::Vec4> colorData(drawBuffer.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in compareAndVerify() local 1471 …drawPrimitives(additionalResultImage, drawBuffer, colorData, m_primitiveTopology, *m_additionalIma… in compareAndVerify() 1847 const tcu::Vec4 colorData (point.color); in drawPoint() local [all …]
|
/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/protected_memory/ |
D | vktProtectedMemYCbCrConversionTests.cpp | 1252 YCbCrValidationData colorData; in conversionTest() local 1253 colorData.coord = posCoords[ndx].toWidth<4>(); in conversionTest() 1254 colorData.minBound = tcu::Vec4(0.0f, 0.9f, 0.0f, 1.0f); in conversionTest() 1255 colorData.maxBound = tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f); in conversionTest() 1257 colorReferenceData.push_back(colorData); in conversionTest()
|
/external/angle/src/tests/gl_tests/ |
D | StateChangeTest.cpp | 953 std::vector<GLColor> colorData(6, GLColor::green); in TEST_P() local 954 glBufferData(GL_ARRAY_BUFFER, colorData.size() * sizeof(GLColor), colorData.data(), in TEST_P() 963 std::fill(colorData.begin(), colorData.end(), GLColor::red); in TEST_P() 964 glBufferSubData(GL_ARRAY_BUFFER, 0, colorData.size() * sizeof(GLColor), colorData.data()); in TEST_P() 2113 const GLfloat colorData[] = {0.515f, 0.515f, 0.515f, 1.0f}; in TEST_P() local 2114 constexpr size_t colorBufferSize = colorOffset + sizeof(colorData); in TEST_P() 2116 memcpy(reinterpret_cast<void *>(colorDataUnaligned + colorOffset), colorData, in TEST_P() 2117 sizeof(colorData)); in TEST_P() 2176 std::vector<GLColor> colorData(6, GLColor::red); in TEST_P() local 2180 glBufferData(GL_ARRAY_BUFFER, sizeof(GLColor) * colorData.size(), colorData.data(), in TEST_P()
|
D | RobustResourceInitTest.cpp | 1091 GLColor colorData[8] = { in TEST_P() local 1096 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 2, 2, GL_RGBA, GL_UNSIGNED_BYTE, colorData); in TEST_P()
|
/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/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelinePushConstantTests.cpp | 819 std::vector<float> colorData; in generateColorData() local 825 colorData.push_back(deRandom_getFloat(&random)); in generateColorData() 827 return colorData; in generateColorData()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cComputeShaderTests.cpp | 4384 std::vector<GLubyte> colorData(4 * 4 * 4); in Run() local 4385 glReadPixels(0, 0, 4, 4, GL_RGBA, GL_UNSIGNED_BYTE, &colorData[0]); in Run() 4389 vec4(static_cast<GLfloat>(colorData[i] / 255.), static_cast<GLfloat>(colorData[i + 1] / 255.), in Run() 4390 … 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 | 1739 deUint8* colorData = reinterpret_cast<deUint8*>(pixelBufferAccess.getDataPtr()); in renderPassContinueTest() local 1741 if (colorData[i * 4 + colorComponent] != clearColor[colorComponent]) in renderPassContinueTest()
|