Home
last modified time | relevance | path

Searched refs:colorA (Results 1 - 25 of 39) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
H A Drpza.c79 uint16_t colorA = 0, colorB; in rpza_decode_stream() local
126 colorA = (opcode << 8) | bytestream2_get_byte(&s->gb); in rpza_decode_stream()
129 /* Must behave as opcode 110xxxxx, using colorA computed in rpza_decode_stream()
151 colorA = bytestream2_get_be16(&s->gb); in rpza_decode_stream()
157 pixels[block_ptr] = colorA; in rpza_decode_stream()
168 colorA = bytestream2_get_be16(&s->gb); in rpza_decode_stream()
176 color4[3] = colorA; in rpza_decode_stream()
179 ta = (colorA >> 10) & 0x1F; in rpza_decode_stream()
185 ta = (colorA >> 5) & 0x1F; in rpza_decode_stream()
191 ta = colorA in rpza_decode_stream()
[all...]
H A Drpzaenc.c157 static int diff_colors(uint8_t *colorA, uint8_t *colorB) in diff_colors() argument
161 tot = SQR(colorA[0] - colorB[0]); in diff_colors()
162 tot += SQR(colorA[1] - colorB[1]); in diff_colors()
163 tot += SQR(colorA[2] - colorB[2]); in diff_colors()
171 static int max_component_diff(uint16_t *colorA, uint16_t *colorB) in max_component_diff() argument
175 diff = FFABS(R(colorA[0]) - R(colorB[0])); in max_component_diff()
179 diff = FFABS(G(colorA[0]) - G(colorB[0])); in max_component_diff()
183 diff = FFABS(B(colorA[0]) - B(colorB[0])); in max_component_diff()
/third_party/skia/samplecode/
H A DSampleComplexClip.cpp49 SkColor colorA = SK_ColorCYAN; variable
71 paint.setColor(colorA);
112 paint.setColor(colorA);
118 paint.setColor(colorA);
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/
H A DesextcTextureShadowLodFunctionsTest.cpp495 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() local
499 tcu::fillWithGrid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize >> level), colorA, in initTexture()
536 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() local
541 de::max(1, baseCellSize >> level), colorA, colorB); in initTexture()
578 Vec4 colorA = cBias + cScale * f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture() local
587 tcu::fillWithGrid(access, de::max(1, baseCellSize >> level), colorA, colorB); in initTexture()
654 Vec4 colorA = cBias + cScale * f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture() local
666 de::max(1, baseCellSize >> level), colorA, colorB); in initTexture()
/third_party/vk-gl-cts/framework/common/
H A DtcuTextureUtil.hpp123 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB);
124 void fillWithRepeatableGradient (const PixelBufferAccess& access, const Vec4& colorA, const Vec4& colorB);
H A DtcuTextureUtil.cpp993 static void fillWithGrid1D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB)
1002 access.setPixel(colorA, x, 0);
1006 static void fillWithGrid2D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB)
1018 access.setPixel(colorA, x, y);
1023 static void fillWithGrid3D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB)
1038 access.setPixel(colorA, x, y, z);
1044 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB)
1055 fillWithGrid(getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH), cellSize, colorA, colorB);
1057 fillWithGrid(getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_STENCIL), cellSize, colorA.swizzle(3,2,1,0), colorB.swizzle(3,2,1,0));
1062 fillWithGrid1D(access, cellSize, colorA, color
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fTextureSpecificationTests.cpp987 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*(m_texFormatInfo.valueMax-m_texFormatInfo.valueMin) + m_texFormatInfo.valueMin; in createTexture() local
993 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() local
1044 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*(m_texFormatInfo.valueMax-m_texFormatInfo.valueMin) + m_texFormatInfo.valueMin; in createTexture() local
1049 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelSize, levelSize, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() local
1093 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local
1096 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); in createTexture() local
1163 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local
1166 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); in createTexture() local
1249 Vec4 colorA = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() local
1254 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, color in createTexture()
1328 Vec4 colorA = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); createTexture() local
1401 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; createTexture() local
1405 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); createTexture() local
1477 Vec4 colorA = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); createTexture() local
1831 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; createTexture() local
1835 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); createTexture() local
2000 Vec4 colorA = randomVector<4>(rnd); createTexture() local
2077 Vec4 colorA = randomVector<4>(rnd); createTexture() local
2331 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; createTexture() local
2334 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); createTexture() local
2486 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; createTexture() local
2489 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, m_numLayers, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); createTexture() local
2568 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; createTexture() local
2571 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); createTexture() local
2659 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; createTexture() local
2663 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); createTexture() local
2758 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; createTexture() local
2762 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); createTexture() local
2865 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; createTexture() local
2869 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); createTexture() local
3093 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; createTexture() local
3097 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); createTexture() local
3277 const Vec4 colorA = Vec4(2.0f, 1.5f, -1.0f, 2.0f); createTexture() local
3349 const Vec4 colorA = Vec4(2.0f, 1.5f, -1.0f, 2.0f); createTexture() local
[all...]
H A Des3fTextureFilteringTests.cpp216 deUint32 colorA = 0xff000000 | rgb; in init() local
220 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
507 deUint32 colorA = 0xff000000 | rgb; in init() local
511 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
807 const deUint32 colorA = 0xff000000 | rgb; in init() local
811 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
1053 deUint32 colorA = 0xff000000 | rgb; in init() local
1057 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
H A Des3fVertexTextureTests.cpp611 const deUint32 colorA = 0xff000000 | rgb; in init() local
615 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
931 const deUint32 colorA = 0xff000000 | rgb; in init() local
935 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
1257 const deUint32 colorA = 0xff000000 | rgb; in init() local
1261 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
1597 const deUint32 colorA = 0xff000000 | rgb; in init() local
1601 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
H A Des3fTextureShadowTests.cpp252 deUint32 colorA = 0xff000000 | rgb; in init() local
256 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec(), tcu::RGBA(colorB).toVec()); in init()
524 deUint32 colorA = 0xff000000 | rgb; in init() local
528 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
806 deUint32 colorA = 0xff000000 | rgb; in init() local
810 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureFilteringTests.cpp274 const deUint32 colorA = 0xff000000 | rgb; in Texture2DFilteringTestInstance() local
278 tcu::fillWithGrid(getEffectiveDepthStencilAccess(m_textures[1]->getLevel(levelNdx, 0), tcu::Sampler::MODE_STENCIL), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in Texture2DFilteringTestInstance()
280 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in Texture2DFilteringTestInstance()
498 const deUint32 colorA = 0xff000000 | rgb; in TextureCubeFilteringTestInstance() local
501 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in TextureCubeFilteringTestInstance()
504 tcu::fillWithGrid(getEffectiveDepthStencilAccess(m_textures[1]->getLevel(levelNdx, face), tcu::Sampler::MODE_STENCIL), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in TextureCubeFilteringTestInstance()
506 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in TextureCubeFilteringTestInstance()
749 const deUint32 colorA = 0xff000000 | rgb; in Texture2DArrayFilteringTestInstance() local
753 tcu::fillWithGrid(getEffectiveDepthStencilAccess(m_textures[1]->getLevel(levelNdx, layerNdx), tcu::Sampler::MODE_STENCIL), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in Texture2DArrayFilteringTestInstance()
755 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, layerNdx), 4, tcu::RGBA(colorA) in Texture2DArrayFilteringTestInstance()
959 const deUint32 colorA = 0xff000000 | rgb; Texture3DFilteringTestInstance() local
[all...]
H A DvktTextureShadowTests.cpp309 const deUint32 colorA = 0xff000000 | rgb; in Texture2DShadowTestInstance() local
312 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec(), tcu::RGBA(colorB).toVec()); in Texture2DShadowTestInstance()
552 const deUint32 colorA = 0xff000000 | rgb; in TextureCubeShadowTestInstance() local
555 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in TextureCubeShadowTestInstance()
776 const deUint32 colorA = 0xff000000 | rgb; in Texture2DArrayShadowTestInstance() local
779 tcu::fillWithGrid(m_textures[1]->getTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in Texture2DArrayShadowTestInstance()
1002 const deUint32 colorA = 0xff000000 | rgb; in Texture1DShadowTestInstance() local
1005 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec(), tcu::RGBA(colorB).toVec()); in Texture1DShadowTestInstance()
1227 const deUint32 colorA = 0xff000000 | rgb; in Texture1DArrayShadowTestInstance() local
1230 tcu::fillWithGrid(m_textures[1]->getTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA) in Texture1DArrayShadowTestInstance()
1476 const deUint32 colorA = 0xff000000 | rgb; TextureCubeArrayShadowTestInstance() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureFilteringTests.cpp273 const deUint32 colorA = 0xff000000 | rgb; in Texture2DFilteringTestInstance() local
277 tcu::fillWithGrid(getEffectiveDepthStencilAccess(m_textures[1]->getLevel(levelNdx, 0), tcu::Sampler::MODE_STENCIL), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in Texture2DFilteringTestInstance()
279 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in Texture2DFilteringTestInstance()
497 const deUint32 colorA = 0xff000000 | rgb; in TextureCubeFilteringTestInstance() local
500 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in TextureCubeFilteringTestInstance()
503 tcu::fillWithGrid(getEffectiveDepthStencilAccess(m_textures[1]->getLevel(levelNdx, face), tcu::Sampler::MODE_STENCIL), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in TextureCubeFilteringTestInstance()
505 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in TextureCubeFilteringTestInstance()
748 const deUint32 colorA = 0xff000000 | rgb; in Texture2DArrayFilteringTestInstance() local
752 tcu::fillWithGrid(getEffectiveDepthStencilAccess(m_textures[1]->getLevel(levelNdx, layerNdx), tcu::Sampler::MODE_STENCIL), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in Texture2DArrayFilteringTestInstance()
754 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, layerNdx), 4, tcu::RGBA(colorA) in Texture2DArrayFilteringTestInstance()
958 const deUint32 colorA = 0xff000000 | rgb; Texture3DFilteringTestInstance() local
[all...]
H A DvktTextureShadowTests.cpp307 const deUint32 colorA = 0xff000000 | rgb; in Texture2DShadowTestInstance() local
310 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec(), tcu::RGBA(colorB).toVec()); in Texture2DShadowTestInstance()
550 const deUint32 colorA = 0xff000000 | rgb; in TextureCubeShadowTestInstance() local
553 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in TextureCubeShadowTestInstance()
774 const deUint32 colorA = 0xff000000 | rgb; in Texture2DArrayShadowTestInstance() local
777 tcu::fillWithGrid(m_textures[1]->getTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in Texture2DArrayShadowTestInstance()
1000 const deUint32 colorA = 0xff000000 | rgb; in Texture1DShadowTestInstance() local
1003 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec(), tcu::RGBA(colorB).toVec()); in Texture1DShadowTestInstance()
1225 const deUint32 colorA = 0xff000000 | rgb; in Texture1DArrayShadowTestInstance() local
1228 tcu::fillWithGrid(m_textures[1]->getTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA) in Texture1DArrayShadowTestInstance()
1474 const deUint32 colorA = 0xff000000 | rgb; TextureCubeArrayShadowTestInstance() local
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fTextureSpecificationTests.cpp860 Vec4 colorA (1.0f, 0.0f, 0.0f, 1.0f); in createTexture()
866 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() local
911 Vec4 colorA (1.0f, 0.0f, 0.0f, 1.0f); in createTexture()
916 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() local
980 Vec4 colorA = randomVector<4>(rnd); in createTexture() local
985 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture()
1055 Vec4 colorA = randomVector<4>(rnd); in createTexture() local
1060 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture()
1450 Vec4 colorA = randomVector<4>(rnd); in createTexture() local
1455 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, color in createTexture()
1533 Vec4 colorA = randomVector<4>(rnd); createTexture() local
[all...]
H A Des2fShaderTextureFunctionTests.cpp343 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture() local
347 tcu::fillWithGrid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture()
380 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture() local
384 tcu::fillWithGrid(m_textureCube->getRefTexture().getLevelFace(level, (tcu::CubeFace)face), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture()
H A Des2fTextureFilteringTests.cpp195 deUint32 colorA = 0xff000000 | rgb; in init() local
199 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
469 deUint32 colorA = 0xff000000 | rgb; in init() local
473 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
H A Des2fVertexTextureTests.cpp511 const deUint32 colorA = 0xff000000 | rgb; in init() local
515 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
833 const deUint32 colorA = 0xff000000 | rgb; in init() local
837 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureSpecificationTests.cpp448 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local
451 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); in createTexture() local
554 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local
558 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); in createTexture() local
690 const Vec4 colorA = Vec4(2.0f, 1.5f, -1.0f, 2.0f); in createTexture() local
695 tcu::fillWithGrid(levelData.getAccess(), cellSize, colorA, colorB); in createTexture()
H A Des31fTextureFormatTests.cpp319 tcu::Vec4 colorA (spec.valueMin.x(), spec.valueMax.y(), spec.valueMin.z(), spec.valueMax.w()); in init()
336 << ",\n fill with " << formatGradient(&colorA, &colorB) << " gradient" in init()
342 tcu::fillWithComponentGradients(m_texture->getFullRefTexture(), colorA, colorB); in init()
H A Des31fTextureFilteringTests.cpp266 const deUint32 colorA = 0xff000000 | rgb; in init() local
270 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DBindUniformLocationTest.cpp237 static const float colorA[] = { in TEST_P() local
251 glUniform2fv(colorALocation, 4, colorA); in TEST_P()
/third_party/vk-gl-cts/modules/gles2/accuracy/
H A Des2aTextureFilteringTests.cpp165 deUint32 colorA = 0xff000000 | rgb; in init() local
169 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
437 deUint32 colorA = 0xff000000 | rgb; in init() local
441 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
/third_party/vk-gl-cts/modules/gles3/accuracy/
H A Des3aTextureFilteringTests.cpp155 deUint32 colorA = 0xff000000 | rgb; in init() local
159 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
423 deUint32 colorA = 0xff000000 | rgb; in init() local
427 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
/third_party/vk-gl-cts/modules/gles31/stress/
H A Des31sVertexAttributeBindingTests.cpp444 const tcu::Vec4 colorA (0.0f, 1.0f, 0.0f, 1.0f); in createBuffers()
450 const tcu::Vec4& color = ((x + y) % 2 == 0) ? (colorA) : (colorB); in createBuffers()

Completed in 62 milliseconds

12