Flutter Engine
The Flutter Engine
|
#include "include/core/SkTypes.h"
#include "gm/gm.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkData.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkPath.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSize.h"
#include "include/core/SkString.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/core/SkMipmap.h"
#include "src/gpu/ganesh/GrCaps.h"
#include "src/gpu/ganesh/GrDataUtils.h"
#include "src/gpu/ganesh/GrImageContextPriv.h"
#include "src/gpu/ganesh/GrRecordingContextPriv.h"
#include "src/gpu/ganesh/image/SkImage_GaneshBase.h"
#include "src/image/SkImage_Base.h"
#include "third_party/etc1/etc1.h"
#include "tools/gpu/ProxyUtils.h"
Go to the source code of this file.
Classes | |
struct | CompressedImageObjects |
class | CompressedTexturesGM |
Functions | |
static SkPoint | gen_pt (float angle, const SkVector &scale) |
static SkPath | make_gear (SkISize dimensions, int numTeeth) |
SkBitmap | render_level (SkISize dimensions, SkColor color, SkColorType colorType, bool opaque) |
static CompressedImageObjects | make_compressed_image (SkCanvas *canvas, const SkISize dimensions, SkColorType colorType, bool opaque, SkTextureCompressionType compression) |
Definition at line 48 of file compressed_textures.cpp.
|
static |
Definition at line 122 of file compressed_textures.cpp.
Definition at line 56 of file compressed_textures.cpp.
SkBitmap render_level | ( | SkISize | dimensions, |
SkColor | color, | ||
SkColorType | colorType, | ||
bool | opaque | ||
) |
Definition at line 86 of file compressed_textures.cpp.