Home
last modified time | relevance | path

Searched refs:colorB (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
170 colorB = bytestream2_get_be16(&s->gb); in rpza_decode_stream()
173 color4[0] = colorB; in rpza_decode_stream()
180 tb = (colorB >> 10) & 0x1F; in rpza_decode_stream()
186 tb = (colorB >> 5) & 0x1F; in rpza_decode_stream()
192 tb = colorB & 0x1F; in rpza_decode_stream()
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.cpp58 SkColor colorB = SK_ColorRED; variable
73 paint.setColor(colorB);
114 paint.setColor(colorB);
126 paint.setColor(colorB);
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DBindUniformLocationTest.cpp70 static const float colorB[] = { in TEST_P() local
75 glUniform4fv(colorBLocation, 2, colorB); in TEST_P()
111 static const float colorB[] = { in TEST_P() local
116 glUniform4fv(colorBLocation, 2, colorB); in TEST_P()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/
H A DesextcTextureShadowLodFunctionsTest.cpp496 Vec4 colorB = cBias + cScale * Vec4(fB, fA, fB, fA); in initTexture() local
500 colorB); in initTexture()
537 Vec4 colorB = cBias + cScale * Vec4(fB, fA, fB, fA); in initTexture() local
541 de::max(1, baseCellSize >> level), colorA, colorB); in initTexture()
579 Vec4 colorB = cBias + cScale * f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture() local
587 tcu::fillWithGrid(access, de::max(1, baseCellSize >> level), colorA, colorB); in initTexture()
655 Vec4 colorB = cBias + cScale * f.swizzle(swzB[0], swzB[1], swzB[2], swzB[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)
1000 access.setPixel(colorB, x, 0);
1006 static void fillWithGrid2D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB)
1016 access.setPixel(colorB, x, y);
1023 static void fillWithGrid3D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB)
1036 access.setPixel(colorB, 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, colorB);
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fTextureSpecificationTests.cpp988 Vec4 colorB = Vec4(0.0f, 1.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
1045 Vec4 colorB = Vec4(0.0f, 1.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
1094 Vec4 colorB = Vec4(0.0f, 1.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
1164 Vec4 colorB = Vec4(0.0f, 1.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
1250 Vec4 colorB = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() local
1254 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture()
1329 Vec4 colorB = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); createTexture() local
1402 Vec4 colorB = Vec4(0.0f, 1.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
1478 Vec4 colorB = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); createTexture() local
1832 Vec4 colorB = Vec4(0.0f, 1.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
2001 Vec4 colorB = randomVector<4>(rnd); createTexture() local
2078 Vec4 colorB = randomVector<4>(rnd); createTexture() local
2332 Vec4 colorB = Vec4(0.0f, 1.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
2487 Vec4 colorB = Vec4(0.0f, 1.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
2569 Vec4 colorB = Vec4(0.0f, 1.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
2660 Vec4 colorB = Vec4(0.0f, 1.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
2759 Vec4 colorB = Vec4(0.0f, 1.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
2866 Vec4 colorB = Vec4(0.0f, 1.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
3094 Vec4 colorB = Vec4(0.0f, 1.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
3278 const Vec4 colorB = Vec4(-1.5f, -2.0f, 1.7f, -1.5f); createTexture() local
3350 const Vec4 colorB = Vec4(-1.5f, -2.0f, 1.7f, -1.5f); createTexture() local
[all...]
H A Des3fTextureFilteringTests.cpp217 deUint32 colorB = 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()
508 deUint32 colorB = 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()
808 const deUint32 colorB = 0xff000000 | ~rgb; in init() local
811 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
1054 deUint32 colorB = 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.cpp612 const deUint32 colorB = 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()
932 const deUint32 colorB = 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()
1258 const deUint32 colorB = 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()
1598 const deUint32 colorB = 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.cpp253 deUint32 colorB = 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()
525 deUint32 colorB = 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()
807 deUint32 colorB = 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.cpp275 const deUint32 colorB = 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()
499 const deUint32 colorB = 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()
750 const deUint32 colorB = 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).toVec()*cScale + cBias, tcu::RGBA(colorB) in Texture2DArrayFilteringTestInstance()
960 const deUint32 colorB = 0xff000000 | ~rgb; Texture3DFilteringTestInstance() local
[all...]
H A DvktTextureShadowTests.cpp310 const deUint32 colorB = 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()
553 const deUint32 colorB = 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()
777 const deUint32 colorB = 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()
1003 const deUint32 colorB = 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()
1228 const deUint32 colorB = 0xff000000 | ~rgb; in Texture1DArrayShadowTestInstance() local
1230 tcu::fillWithGrid(m_textures[1]->getTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB) in Texture1DArrayShadowTestInstance()
1477 const deUint32 colorB = 0xff000000 | ~rgb; TextureCubeArrayShadowTestInstance() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureFilteringTests.cpp274 const deUint32 colorB = 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()
498 const deUint32 colorB = 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()
749 const deUint32 colorB = 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).toVec()*cScale + cBias, tcu::RGBA(colorB) in Texture2DArrayFilteringTestInstance()
959 const deUint32 colorB = 0xff000000 | ~rgb; Texture3DFilteringTestInstance() local
[all...]
H A DvktTextureShadowTests.cpp308 const deUint32 colorB = 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()
551 const deUint32 colorB = 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()
775 const deUint32 colorB = 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()
1001 const deUint32 colorB = 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()
1226 const deUint32 colorB = 0xff000000 | ~rgb; in Texture1DArrayShadowTestInstance() local
1228 tcu::fillWithGrid(m_textures[1]->getTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB) in Texture1DArrayShadowTestInstance()
1475 const deUint32 colorB = 0xff000000 | ~rgb; TextureCubeArrayShadowTestInstance() local
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fTextureSpecificationTests.cpp861 Vec4 colorB (0.0f, 1.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
912 Vec4 colorB (0.0f, 1.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
981 Vec4 colorB = randomVector<4>(rnd); in createTexture() local
985 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture()
1056 Vec4 colorB = randomVector<4>(rnd); in createTexture() local
1060 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture()
1451 Vec4 colorB = randomVector<4>(rnd); in createTexture() local
1455 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture()
1534 Vec4 colorB = randomVector<4>(rnd); createTexture() local
[all...]
H A Des2fShaderTextureFunctionTests.cpp344 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() local
347 tcu::fillWithGrid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture()
381 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[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.cpp196 deUint32 colorB = 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()
470 deUint32 colorB = 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.cpp512 const deUint32 colorB = 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()
834 const deUint32 colorB = 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.cpp449 Vec4 colorB = Vec4(0.0f, 1.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
555 Vec4 colorB = Vec4(0.0f, 1.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
691 const Vec4 colorB = Vec4(-1.5f, -2.0f, 1.7f, -1.5f); in createTexture() local
695 tcu::fillWithGrid(levelData.getAccess(), cellSize, colorA, colorB); in createTexture()
H A Des31fTextureFormatTests.cpp320 tcu::Vec4 colorB (spec.valueMax.x(), spec.valueMin.y(), spec.valueMax.z(), spec.valueMin.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.cpp267 const deUint32 colorB = 0xff000000 | ~rgb; in init() local
270 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
/third_party/vk-gl-cts/modules/gles2/accuracy/
H A Des2aTextureFilteringTests.cpp166 deUint32 colorB = 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()
438 deUint32 colorB = 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.cpp156 deUint32 colorB = 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()
424 deUint32 colorB = 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.cpp445 const tcu::Vec4 colorB (0.5f, 1.0f, 0.0f, 1.0f); in createBuffers()
450 const tcu::Vec4& color = ((x + y) % 2 == 0) ? (colorA) : (colorB); in createBuffers()

Completed in 51 milliseconds

12