Flutter Engine
The Flutter Engine
Classes | Functions
SwizzleBench.cpp File Reference
#include "bench/Benchmark.h"
#include "src/codec/SkSwizzler.h"
#include "src/core/SkSwizzlePriv.h"

Go to the source code of this file.

Classes

class  SwizzleBench
 

Functions

 DEF_BENCH (return new SwizzleBench("SkOpts::RGBA_to_rgbA", SkOpts::RGBA_to_rgbA))
 
 DEF_BENCH (return new SwizzleBench("SkOpts::RGBA_to_bgrA", SkOpts::RGBA_to_bgrA))
 
 DEF_BENCH (return new SwizzleBench("SkOpts::RGBA_to_BGRA", SkOpts::RGBA_to_BGRA))
 
 DEF_BENCH (return new SwizzleBench("SkOpts::RGB_to_RGB1", SkOpts::RGB_to_RGB1))
 
 DEF_BENCH (return new SwizzleBench("SkOpts::RGB_to_BGR1", SkOpts::RGB_to_BGR1))
 
 DEF_BENCH (return new SwizzleBench("SkOpts::gray_to_RGB1", SkOpts::gray_to_RGB1))
 
 DEF_BENCH (return new SwizzleBench("SkOpts::grayA_to_RGBA", SkOpts::grayA_to_RGBA))
 
 DEF_BENCH (return new SwizzleBench("SkOpts::grayA_to_rgbA", SkOpts::grayA_to_rgbA))
 
 DEF_BENCH (return new SwizzleBench("SkOpts::inverted_CMYK_to_RGB1", SkOpts::inverted_CMYK_to_RGB1))
 
 DEF_BENCH (return new SwizzleBench("SkOpts::inverted_CMYK_to_BGR1", SkOpts::inverted_CMYK_to_BGR1))
 

Function Documentation

◆ DEF_BENCH() [1/10]

DEF_BENCH ( return new   SwizzleBench"SkOpts::gray_to_RGB1", SkOpts::gray_to_RGB1)

◆ DEF_BENCH() [2/10]

DEF_BENCH ( return new   SwizzleBench"SkOpts::grayA_to_RGBA", SkOpts::grayA_to_RGBA)

◆ DEF_BENCH() [3/10]

DEF_BENCH ( return new   SwizzleBench"SkOpts::grayA_to_rgbA", SkOpts::grayA_to_rgbA)

◆ DEF_BENCH() [4/10]

DEF_BENCH ( return new   SwizzleBench"SkOpts::inverted_CMYK_to_BGR1", SkOpts::inverted_CMYK_to_BGR1)

◆ DEF_BENCH() [5/10]

DEF_BENCH ( return new   SwizzleBench"SkOpts::inverted_CMYK_to_RGB1", SkOpts::inverted_CMYK_to_RGB1)

◆ DEF_BENCH() [6/10]

DEF_BENCH ( return new   SwizzleBench"SkOpts::RGB_to_BGR1", SkOpts::RGB_to_BGR1)

◆ DEF_BENCH() [7/10]

DEF_BENCH ( return new   SwizzleBench"SkOpts::RGB_to_RGB1", SkOpts::RGB_to_RGB1)

◆ DEF_BENCH() [8/10]

DEF_BENCH ( return new   SwizzleBench"SkOpts::RGBA_to_bgrA", SkOpts::RGBA_to_bgrA)

◆ DEF_BENCH() [9/10]

DEF_BENCH ( return new   SwizzleBench"SkOpts::RGBA_to_BGRA", SkOpts::RGBA_to_BGRA)

◆ DEF_BENCH() [10/10]

DEF_BENCH ( return new   SwizzleBench"SkOpts::RGBA_to_rgbA", SkOpts::RGBA_to_rgbA)