#include <SkBitmapProcState.h>
|
typedef void(* | ShaderProc32) (const void *ctx, int x, int y, SkPMColor[], int count) |
|
typedef void(* | MatrixProc) (const SkBitmapProcState &, uint32_t bitmapXY[], int count, int x, int y) |
|
typedef void(* | SampleProc32) (const SkBitmapProcState &, const uint32_t[], int count, SkPMColor colors[]) |
|
Definition at line 36 of file SkBitmapProcState.h.
◆ MatrixProc
◆ SampleProc32
◆ ShaderProc32
◆ SkBitmapProcState()
◆ getMatrixProc()
MatrixProc SkBitmapProcState::getMatrixProc |
( |
| ) |
const |
|
inline |
◆ getSampleProc32()
◆ getShaderProc32()
◆ maxCountForBufferSize()
int SkBitmapProcState::maxCountForBufferSize |
( |
size_t |
bufferSize | ) |
const |
Given the byte size of the index buffer to be passed to the matrix proc, return the maximum number of resulting pixels that can be computed (i.e. the number of SkPMColor values to be written by the sample proc). This routine takes into account that filtering and scale-vs-affine affect the amount of buffer space needed.
Only valid to call after chooseProcs (setContext) has been called. It is safe to call this inside the shader's shadeSpan() method.
Definition at line 679 of file SkBitmapProcState.cpp.
679 {
680 int32_t
size =
static_cast<int32_t
>(bufferSize);
681
687 }
689 } else {
691 }
692
695 }
696
698}
bool isScaleTranslate() const
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ setup()
Definition at line 39 of file SkBitmapProcState.h.
39 {
41 && this->chooseProcs();
42 }
static SkM44 inv(const SkM44 &m)
SkSamplingOptions sampling
◆ fAlphaScale
uint16_t SkBitmapProcState::fAlphaScale |
◆ fBilerp
bool SkBitmapProcState::fBilerp |
◆ fFilterOneX
SkFixed SkBitmapProcState::fFilterOneX |
◆ fFilterOneY
SkFixed SkBitmapProcState::fFilterOneY |
◆ fImage
◆ fInvKyFractionalInt
◆ fInvMatrix
◆ fInvProc
◆ fInvSxFractionalInt
◆ fPaintAlpha
SkAlpha SkBitmapProcState::fPaintAlpha |
◆ fPixmap
◆ fTileModeX
◆ fTileModeY
The documentation for this struct was generated from the following files: