Flutter Engine
The Flutter Engine
|
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkImage.h"
#include "include/core/SkTextureCompressionType.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrRecordingContext.h"
#include "include/gpu/ganesh/SkImageGanesh.h"
#include "src/core/SkCompressedDataUtils.h"
#include "src/gpu/ganesh/GrCaps.h"
#include "src/gpu/ganesh/GrImageContextPriv.h"
#include "src/gpu/ganesh/image/SkImage_GaneshBase.h"
#include "src/image/SkImage_Base.h"
#include "tools/gpu/ProxyUtils.h"
Go to the source code of this file.
Classes | |
struct | BC1Block |
class | skiagm::BC1TransparencyGM |
Namespaces | |
namespace | skiagm |
Functions | |
static int | num_4x4_blocks (int size) |
static uint16_t | to565 (SkColor col) |
static void | create_BC1_block (BC1Block *block, bool transparent) |
static sk_sp< SkData > | make_compressed_data () |
static sk_sp< SkImage > | data_to_img (GrDirectContext *direct, sk_sp< SkData > data, SkTextureCompressionType compression) |
static void | draw_image (SkCanvas *canvas, sk_sp< SkImage > image, int x, int y) |
Variables | |
constexpr int | kImgWidth = 16 |
constexpr int | kImgHeight = 8 |
constexpr int | kPad = 4 |
|
static |
Definition at line 59 of file bc1_transparency.cpp.
|
static |
Definition at line 106 of file bc1_transparency.cpp.
Definition at line 117 of file bc1_transparency.cpp.
Definition at line 81 of file bc1_transparency.cpp.
Definition at line 32 of file bc1_transparency.cpp.
|
static |
Definition at line 36 of file bc1_transparency.cpp.
|
constexpr |
Definition at line 23 of file bc1_transparency.cpp.
|
constexpr |
Definition at line 22 of file bc1_transparency.cpp.
|
constexpr |
Definition at line 24 of file bc1_transparency.cpp.