/external/chromium_org/third_party/skia/src/opts/ |
H A D | SkBlitRect_opts_SSE2.cpp | 119 unsigned colorA = SkGetPackedA32(color); local 120 colorA = 0; // skip below if () for now...(has been disabled since this was added in r3423). 121 if (255 == colorA) {
|
H A D | SkBlitRow_opts_SSE2.cpp | 354 unsigned colorA = SkGetPackedA32(color); local 355 if (255 == colorA) { 358 unsigned scale = 256 - SkAlpha255To256(colorA);
|
/external/skia/src/opts/ |
H A D | SkBlitRect_opts_SSE2.cpp | 119 unsigned colorA = SkGetPackedA32(color); local 120 colorA = 0; // skip below if () for now...(has been disabled since this was added in r3423). 121 if (255 == colorA) {
|
/external/deqp/framework/common/ |
H A D | tcuTextureUtil.hpp | 91 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB); 92 void fillWithRepeatableGradient (const PixelBufferAccess& access, const Vec4& colorA, const Vec4& colorB);
|
H A D | tcuTextureUtil.cpp | 652 void fillWithGrid1D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) argument 661 access.setPixel(colorA, x, 0); 665 void fillWithGrid2D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) argument 677 access.setPixel(colorA, x, y); 682 void fillWithGrid3D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) argument 697 access.setPixel(colorA, x, y, z); 703 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) argument 706 fillWithGrid1D(access, cellSize, colorA, colorB); 708 fillWithGrid2D(access, cellSize, colorA, colorB); 710 fillWithGrid3D(access, cellSize, colorA, color 713 fillWithRepeatableGradient(const PixelBufferAccess& access, const Vec4& colorA, const Vec4& colorB) argument [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleComplexClip.cpp | 58 SkColor colorA = SK_ColorCYAN; local 77 paint.setColor(colorA); 121 paint.setColor(colorA); 129 paint.setColor(colorA);
|
/external/skia/samplecode/ |
H A D | SampleComplexClip.cpp | 58 SkColor colorA = SK_ColorCYAN; local 77 paint.setColor(colorA); 121 paint.setColor(colorA); 129 paint.setColor(colorA);
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBlitRow_D32.cpp | 155 unsigned colorA = SkGetPackedA32(color); local 156 if (255 == colorA) { 159 unsigned scale = 256 - SkAlpha255To256(colorA);
|
/external/skia/src/core/ |
H A D | SkBlitRow_D32.cpp | 155 unsigned colorA = SkGetPackedA32(color); local 156 if (255 == colorA) { 159 unsigned scale = 256 - SkAlpha255To256(colorA);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FEBlend.cpp | 38 typedef unsigned char (*BlendType)(unsigned char colorA, unsigned char colorB, unsigned char alphaA, unsigned char alphaB);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureSpecificationTests.cpp | 975 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*(m_texFormatInfo.valueMax-m_texFormatInfo.valueMin) + m_texFormatInfo.valueMin; local 981 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); local 1032 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*(m_texFormatInfo.valueMax-m_texFormatInfo.valueMin) + m_texFormatInfo.valueMin; local 1037 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelSize, levelSize, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); local 1082 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 1085 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); local 1152 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 1155 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); local 1238 Vec4 colorA = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); local 1243 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, color 1317 Vec4 colorA = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); local 1390 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 1394 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); local 1466 Vec4 colorA = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); local 1820 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 1824 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); local 1989 Vec4 colorA = randomVector<4>(rnd); local 2066 Vec4 colorA = randomVector<4>(rnd); local 2320 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 2323 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); local 2475 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 2478 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); local 2557 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 2560 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); local 2648 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 2652 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); local 2747 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 2751 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); local 2854 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 2858 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); local 2965 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 2969 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); local 3149 const Vec4 colorA = Vec4(2.0f, 1.5f, -1.0f, 2.0f); local 3221 const Vec4 colorA = Vec4(2.0f, 1.5f, -1.0f, 2.0f); local [all...] |
H A D | es3fTextureShadowTests.cpp | 248 deUint32 colorA = 0xff000000 | rgb; local 252 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA)), toVec4(tcu::RGBA(colorB))); 520 deUint32 colorA = 0xff000000 | rgb; local 524 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 802 deUint32 colorA = 0xff000000 | rgb; local 806 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
|
H A D | es3fTextureFilteringTests.cpp | 194 deUint32 colorA = 0xff000000 | rgb; local 198 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 483 deUint32 colorA = 0xff000000 | rgb; local 487 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 781 const deUint32 colorA = 0xff000000 | rgb; local 785 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); 1025 deUint32 colorA = 0xff000000 | rgb; local 1029 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
|
H A D | es3fVertexTextureTests.cpp | 609 const deUint32 colorA = 0xff000000 | rgb; local 613 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 929 const deUint32 colorA = 0xff000000 | rgb; local 933 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 1255 const deUint32 colorA = 0xff000000 | rgb; local 1259 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 1595 const deUint32 colorA = 0xff000000 | rgb; local 1599 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureSpecificationTests.cpp | 842 Vec4 colorA (1.0f, 0.0f, 0.0f, 1.0f); 848 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); local 890 Vec4 colorA (1.0f, 0.0f, 0.0f, 1.0f); 895 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); local 956 Vec4 colorA = randomVector<4>(rnd); local 961 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); 1028 Vec4 colorA = randomVector<4>(rnd); local 1033 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); 1408 Vec4 colorA = randomVector<4>(rnd); local 1413 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, color 1488 Vec4 colorA = randomVector<4>(rnd); local [all...] |
H A D | es2fShaderTextureFunctionTests.cpp | 348 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); local 352 tcu::fillWithGrid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); 385 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); local 389 tcu::fillWithGrid(m_textureCube->getRefTexture().getLevelFace(level, (tcu::CubeFace)face), de::max(1, baseCellSize>>level), colorA, colorB);
|
H A D | es2fTextureFilteringTests.cpp | 194 deUint32 colorA = 0xff000000 | rgb; local 198 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 468 deUint32 colorA = 0xff000000 | rgb; local 472 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
|
H A D | es2fVertexTextureTests.cpp | 508 const deUint32 colorA = 0xff000000 | rgb; local 512 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 825 const deUint32 colorA = 0xff000000 | rgb; local 829 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureFormatTests.cpp | 286 tcu::Vec4 colorA (spec.valueMin.x(), spec.valueMax.y(), spec.valueMin.z(), spec.valueMax.w()); 293 << ",\n fill with " << formatGradient(&colorA, &colorB) << " gradient" 299 tcu::fillWithComponentGradients(m_texture->getRefTexture(), colorA, colorB);
|
H A D | es31fTextureSpecificationTests.cpp | 444 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 447 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); local 550 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; local 554 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); local 686 const Vec4 colorA = Vec4(2.0f, 1.5f, -1.0f, 2.0f); local 691 tcu::fillWithGrid(levelData.getAccess(), cellSize, colorA, colorB);
|
H A D | es31fTextureFilteringTests.cpp | 251 const deUint32 colorA = 0xff000000 | rgb; local 255 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/ |
H A D | WEBPImageDecoderTest.cpp | 225 uint32_t colorA = *bitmapA.getAddr32(x, y); local 227 colorA = premultiplyColor(colorA); 231 uint8_t* pixelA = reinterpret_cast<uint8_t*>(&colorA);
|
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aTextureFilteringTests.cpp | 163 deUint32 colorA = 0xff000000 | rgb; local 167 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 435 deUint32 colorA = 0xff000000 | rgb; local 439 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
|
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aTextureFilteringTests.cpp | 154 deUint32 colorA = 0xff000000 | rgb; local 158 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 422 deUint32 colorA = 0xff000000 | rgb; local 426 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
|
/external/deqp/modules/gles31/stress/ |
H A D | es31sVertexAttributeBindingTests.cpp | 446 const tcu::Vec4 colorA (0.0f, 1.0f, 0.0f, 1.0f); 452 const tcu::Vec4& color = ((x + y) % 2 == 0) ? (colorA) : (colorB);
|