#include "tools/Registry.h"
#include "skia.h"
#include <cinttypes>
#include <cmath>
#include <string>
Go to the source code of this file.
|
#define | REGISTER_FIDDLE(NAME, WIDTH, HEIGHT, TEXT, IMG_INDEX, DURATION, SRGB, F16, OFSCR, OFSCR_WIDTH, OFSCR_HEIGHT, OFSCR_SAMPLECOUNT, OFSCR_TEXTURABLE, OFSCR_MIPMAP) |
|
#define | REG_FIDDLE_SRGB(NAME, W, H, T, I, DURATION, F16) |
|
#define | REG_FIDDLE_ANIMATED(NAME, W, H, T, I, DURATION) |
|
#define | REG_FIDDLE(NAME, W, H, TEXT, I) REG_FIDDLE_ANIMATED(NAME, W, H, TEXT, I, 0) |
|
◆ REG_FIDDLE
◆ REG_FIDDLE_ANIMATED
#define REG_FIDDLE_ANIMATED |
( |
|
NAME, |
|
|
|
W, |
|
|
|
H, |
|
|
|
T, |
|
|
|
I, |
|
|
|
DURATION |
|
) |
| |
Value:
false, 64, 64, 0, false, false)
#define REGISTER_FIDDLE(NAME, WIDTH, HEIGHT, TEXT, IMG_INDEX, DURATION, SRGB, F16, OFSCR, OFSCR_WIDTH, OFSCR_HEIGHT, OFSCR_SAMPLECOUNT, OFSCR_TEXTURABLE, OFSCR_MIPMAP)
Definition at line 56 of file examples.h.
◆ REG_FIDDLE_SRGB
#define REG_FIDDLE_SRGB |
( |
|
NAME, |
|
|
|
W, |
|
|
|
H, |
|
|
|
T, |
|
|
|
I, |
|
|
|
DURATION, |
|
|
|
F16 |
|
) |
| |
Value:
false, 64, 64, 0, false, false)
Definition at line 52 of file examples.h.
◆ REGISTER_FIDDLE
#define REGISTER_FIDDLE |
( |
|
NAME, |
|
|
|
WIDTH, |
|
|
|
HEIGHT, |
|
|
|
TEXT, |
|
|
|
IMG_INDEX, |
|
|
|
DURATION, |
|
|
|
SRGB, |
|
|
|
F16, |
|
|
|
OFSCR, |
|
|
|
OFSCR_WIDTH, |
|
|
|
OFSCR_HEIGHT, |
|
|
|
OFSCR_SAMPLECOUNT, |
|
|
|
OFSCR_TEXTURABLE, |
|
|
|
OFSCR_MIPMAP |
|
) |
| |
Value:
sk_tools::Registry<fiddle::Example> reg_##
NAME( \
WIDTH,
HEIGHT, OFSCR_WIDTH, OFSCR_HEIGHT, OFSCR_SAMPLECOUNT, \
TEXT, SRGB, F16, OFSCR, OFSCR_TEXTURABLE, OFSCR_MIPMAP}); \
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
Definition at line 42 of file examples.h.
◆ backEndRenderTarget
◆ backEndTexture
◆ backEndTextureRenderTarget
◆ duration
◆ fontMgr
◆ frame
◆ image
◆ source