HomeSort by relevance Sort by last modified time
    Searched defs:unpremul (Results 1 - 5 of 5) sorted by null

  /external/skia/src/core/
SkColor.cpp 114 SkColor4f SkPM4f::unpremul() const { function in class:SkPM4f
  /external/skia/include/gpu/
GrColor.h 263 GrColor4f unpremul() const { function in struct:GrColor4f
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java 549 Bitmap unpremul = BitmapFactory.decodeResource(mRes, R.drawable.premul_data, options); local
551 assertEquals(unpremul.getConfig(), Bitmap.Config.ARGB_8888);
552 assertTrue(premul.getHeight() == 1 && unpremul.getHeight() == 1);
553 assertTrue(premul.getWidth() == unpremul.getWidth() &&
557 // verify pixel data - unpremul should have raw values, premul will have rounding errors
560 assertEquals(unpremul.getPixel(i, 0), RAW_COLORS[i]);
    [all...]
  /external/skia/src/gpu/
GrContext.cpp 305 // We only allow premul <-> unpremul conversions for some formats
337 // The src is unpremul but the dst is premul -> premul the src before or as part of the write
467 // The src is premul but the dst is unpremul -> unpremul the src after or as part of the read
468 bool unpremul = SkToBool(kUnpremul_PixelOpsFlag & flags); local
469 if (!valid_pixel_conversion(srcSurface->config(), dstConfig, unpremul)) {
474 // without any color spaces attached, and the caller wants us to unpremul.
476 unpremul &&
480 // Are we going to try to unpremul as part of a draw? For the non-legacy case, we always allow
482 bool unpremulOnGpu = unpremul &
    [all...]
  /external/skia/src/utils/
SkPatchUtils.cpp 245 SkRGBAf unpremul() const { function in struct:SkRGBAf
286 static void unpremul(SkRGBAf array[], int count) { function
288 array[i] = array[i].unpremul();
437 unpremul(tmpColors, vertexCount);

Completed in 411 milliseconds