Home
last modified time | relevance | path

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

/external/skia/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/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.hh50 Index colorIdx; /* Index value to use with a member
111 layers[i].color_index = segment_layers.arrayZ[i].colorIdx; in get_glyph_layers()
/external/perfetto/ui/src/frontend/
Dcolorizer.ts80 const colorIdx = hash(tid.toString(), MD_PALETTE.length); constant
81 return Object.assign({}, MD_PALETTE[colorIdx]);
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDynamicOffsetTests.cpp356 for (deUint32 colorIdx = 0; colorIdx < numColors; colorIdx++) in init() local
357 deMemcpy(&hostBuffer[(deUint32)offsetAlignment * colorIdx], &testColors[colorIdx], 16); in init()
820 for (deUint32 colorIdx = 0; colorIdx < numColors; colorIdx++) in init() local
821 deMemcpy(&hostBuffer[(deUint32)offsetAlignment * colorIdx], &testColors[colorIdx], 16); in init()
DvktPipelinePushDescriptorTests.cpp775 for (deUint32 colorIdx = 0; colorIdx < m_params.numCalls; colorIdx++) in init() local
777 if (colorIdx < DE_LENGTH_OF_ARRAY(defaultTestColors)) in init()
778 m_testColors[colorIdx] = defaultTestColors[colorIdx]; in init()
781 const float mix = static_cast<float>(colorIdx) / static_cast<float>(m_params.numCalls - 1); in init()
785 …m_testColors[colorIdx] = defaultTestColors[0] * mix + defaultTestColors[DE_LENGTH_OF_ARRAY(default… in init()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp818 const deUint32 colorIdx = z % COLOR_TABLE_SIZE; in genVertexData() local
823 const VkClearValue clearValue = getClearValueInt(caseDef, colorIdx); in genVertexData()
830 color = COLOR_TABLE_FLOAT[colorIdx]; in genVertexData()
854 const deUint32 colorIdx = z % COLOR_TABLE_SIZE; in generateExpectedImage() local
860 const VkClearValue clearValue = getClearValueInt(caseDef, colorIdx); in generateExpectedImage()
867 image.setPixel(tcu::linearToSRGB(COLOR_TABLE_FLOAT[colorIdx]), x, y, z); in generateExpectedImage()
869 image.setPixel(COLOR_TABLE_FLOAT[colorIdx], x, y, z); in generateExpectedImage()
1186 const deUint32 colorIdx = layer % COLOR_TABLE_SIZE; in uploadClear() local
1187 …ageIsIntegerFormat ? getClearValueInt(m_caseDef, colorIdx).color : REFERENCE_CLEAR_COLOR_FLOAT[col… in uploadClear()
1271 const deUint32 colorIdx = layer % COLOR_TABLE_SIZE; in uploadCopy() local
[all …]
/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.cpp893 void logColor (const std::string& colorLogMessage, int colorIdx, tcu::Vec4 color) const;
1203 void SRGBTestCase::logColor (const std::string& colorLogMessage, int colorIdx, tcu::Vec4 color) con… in logColor() argument
1208 …message << colorLogMessage << colorIdx << " = (" << color.x() << ", " << color.y() << ", " << colo… in logColor()