Home
last modified time | relevance | path

Searched refs:colorIdx (Results 1 – 11 of 11) sorted by relevance

/external/skia/gm/
Daaxfermodes.cpp145 for (size_t colorIdx = 0; colorIdx < SK_ARRAY_COUNT(kShapeColors); colorIdx++) { in draw_pass() local
147 this->setupShapePaint(canvas, kShapeColors[colorIdx], mode, &paint); in draw_pass()
148 SkASSERT(colorIdx == 0 || 255 == paint.getAlpha()); in draw_pass()
/external/skqp/gm/
Daaxfermodes.cpp133 for (size_t colorIdx = 0; colorIdx < SK_ARRAY_COUNT(kShapeColors); colorIdx++) { in draw_pass() local
135 this->setupShapePaint(canvas, kShapeColors[colorIdx], mode, &paint); in draw_pass()
136 SkASSERT(colorIdx == 0 || 255 == paint.getAlpha()); in draw_pass()
/external/harfbuzz_ng/src/
Dhb-ot-color-colr-table.hh42 operator hb_ot_color_layer_t () const { return {glyphId, colorIdx}; } in operator hb_ot_color_layer_t()
52 Index colorIdx; /* Index value to use with a member
/external/perfetto/ui/src/common/
Dcolorizer.ts126 const colorIdx = hash(tid.toString(), MD_PALETTE.length); constant
127 return Object.assign({}, MD_PALETTE[colorIdx]);
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDynamicOffsetTests.cpp414 for (deUint32 colorIdx = 0; colorIdx < kNumTestColors; colorIdx++) in init() local
415 …deMemcpy(&hostBuffer[(deUint32)colorBlockInputSize * colorIdx], &testColors[colorIdx], kColorSize); in init()
979 for (deUint32 colorIdx = 0; colorIdx < kNumTestColors; colorIdx++) in init() local
980 deMemcpy(&hostBuffer[colorBlockInputSizeU32 * colorIdx], &testColors[colorIdx], kColorSize); in init()
DvktPipelinePushDescriptorTests.cpp789 for (deUint32 colorIdx = 0; colorIdx < m_params.numCalls; colorIdx++) in init() local
791 if (colorIdx < DE_LENGTH_OF_ARRAY(defaultTestColors)) in init()
792 m_testColors[colorIdx] = defaultTestColors[colorIdx]; in init()
795 const float mix = static_cast<float>(colorIdx) / static_cast<float>(m_params.numCalls - 1); in init()
799 …m_testColors[colorIdx] = defaultTestColors[0] * mix + defaultTestColors[DE_LENGTH_OF_ARRAY(default… in init()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp760 const deUint32 colorIdx = z % COLOR_TABLE_SIZE; in genVertexData() local
765 const VkClearValue clearValue = getClearValueInt(caseDef, colorIdx); in genVertexData()
772 color = COLOR_TABLE_FLOAT[colorIdx]; in genVertexData()
796 const deUint32 colorIdx = z % COLOR_TABLE_SIZE; in generateExpectedImage() local
802 const VkClearValue clearValue = getClearValueInt(caseDef, colorIdx); in generateExpectedImage()
809 image.setPixel(tcu::linearToSRGB(COLOR_TABLE_FLOAT[colorIdx]), x, y, z); in generateExpectedImage()
811 image.setPixel(COLOR_TABLE_FLOAT[colorIdx], x, y, z); in generateExpectedImage()
1128 const deUint32 colorIdx = layer % COLOR_TABLE_SIZE; in uploadClear() local
1129 …ageIsIntegerFormat ? getClearValueInt(m_caseDef, colorIdx).color : REFERENCE_CLEAR_COLOR_FLOAT[col… in uploadClear()
1213 const deUint32 colorIdx = layer % COLOR_TABLE_SIZE; in uploadCopy() local
[all …]
/external/swiftshader/src/Device/
DBC_Decoder.cpp1516 auto colorIdx = colorIndex(mode, isAnchor, colorIndexBitOffset); in decode() local
1528 output.rgb.r = interpolate(subset[0].rgb.r, subset[1].rgb.r, colorIdx); in decode()
1529 output.rgb.g = interpolate(subset[0].rgb.g, subset[1].rgb.g, colorIdx); in decode()
1530 output.rgb.b = interpolate(subset[0].rgb.b, subset[1].rgb.b, colorIdx); in decode()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp2390 …const deUint32 colorIdx = getBits128(low, high, colorIdxOffset, colorIdxOffset + colorIndexBit… in decompressBc7() local
2391 …mode == 5) ? getBits128(low, high, alphaIdxOffset, alphaIdxOffset + alphaIndexBits - 1) : colorIdx; in decompressBc7()
2392 …const deUint32 r = interpolate(endpointStart[0], endpointEnd[0], colorIdx, colorInterpolation… in decompressBc7()
2393 …const deUint32 g = interpolate(endpointStart[1], endpointEnd[1], colorIdx, colorInterpolation… in decompressBc7()
2394 …const deUint32 b = interpolate(endpointStart[2], endpointEnd[2], colorIdx, colorInterpolation… in decompressBc7()
/external/deqp/modules/gles31/functional/
Des31fSRGBDecodeTests.cpp894 void logColor (const std::string& colorLogMessage, int colorIdx, tcu::Vec4 color) const;
1216 void SRGBTestCase::logColor (const std::string& colorLogMessage, int colorIdx, tcu::Vec4 color) con… in logColor() argument
1221 …message << colorLogMessage << colorIdx << " = (" << color.x() << ", " << color.y() << ", " << colo… in logColor()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp4476 const auto colorIdx = y * m_params.imageExtent.width + x; in iterate() local
4477 const auto& frontColor = colors[colorIdx]; in iterate()
4478 const auto& backColor = colors[colors.size() - 1u - colorIdx]; in iterate()