HomeSort by relevance Sort by last modified time
    Searched refs:alphaDst (Results 1 - 2 of 2) sorted by null

  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
BlendModeTest.java 195 int alphaDst = Color.alpha(DST_COLOR);
207 int alpha = (alphaSrc + alphaDst) - (alphaSrc * alphaDst) / 255;
208 int red = computeOverlay(alphaSrc, alphaDst, redSrc, redDst);
209 int green = computeOverlay(alphaSrc, alphaDst, greenSrc, greenDst);
210 int blue = computeOverlay(alphaSrc, alphaDst, blueSrc, blueDst);
215 private int computeOverlay(int alphaSrc, int alphaDst, int colorSrc, int colorDst) {
216 if (2 * colorDst < alphaDst) {
219 return (alphaSrc * alphaDst) / 255
220 - (2 * (alphaDst - colorSrc) * (alphaSrc - colorDst))
    [all...]
  /external/deqp/framework/common/
tcuCompressedTexture.cpp 541 // if alphaMode is true, do PUNCHTHROUGH and store alpha to alphaDst; otherwise do ordinary ETC2 RGB8.
542 void decompressETC2Block (deUint8 dst[ETC2_UNCOMPRESSED_BLOCK_SIZE_RGB8], deUint64 src, deUint8 alphaDst[ETC2_UNCOMPRESSED_BLOCK_SIZE_A8], bool alphaMode)
636 alphaDst[alphaDstOffset] = 0;
653 alphaDst[alphaDstOffset] = 255;
749 alphaDst[alphaDstOffset] = 0;
758 alphaDst[alphaDstOffset] = 255;
798 alphaDst[alphaDstOffset] = 255;
    [all...]

Completed in 124 milliseconds