|
| BatchSizeLimiter (ganesh::SurfaceDrawContext *sdc, const GrClip *clip, GrRecordingContext *rContext, int numEntries, GrSamplerState::Filter filter, GrSamplerState::MipmapMode mm, Saturate saturate, SkCanvas::SrcRectConstraint constraint, const SkMatrix &viewMatrix, sk_sp< GrColorSpaceXform > textureColorSpaceXform) |
|
void | createOp (GrTextureSetEntry set[], int clumpSize, GrAAType aaType) |
|
int | numLeft () const |
|
int | baseIndex () const |
|
Definition at line 1213 of file TextureOp.cpp.
◆ BatchSizeLimiter()
Definition at line 1215 of file TextureOp.cpp.
1225 : fSDC(sdc)
1227 , fContext(rContext)
1228 , fFilter(filter)
1229 , fMipmapMode(mm)
1230 , fSaturate(saturate)
1231 , fConstraint(constraint)
1232 , fViewMatrix(viewMatrix)
1233 , fTextureColorSpaceXform(textureColorSpaceXform)
1234 , fNumLeft(numEntries) {}
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
◆ baseIndex()
int skgpu::ganesh::TextureOp::BatchSizeLimiter::baseIndex |
( |
| ) |
const |
|
inline |
◆ createOp()
Definition at line 1236 of file TextureOp.cpp.
1236 {
1237
1238 int clumpProxyCount = proxy_run_count(&
set[fNumClumped], clumpSize);
1241 clumpSize,
1242 clumpProxyCount,
1243 fFilter,
1244 fMipmapMode,
1245 fSaturate,
1246 aaType,
1247 fConstraint,
1248 fViewMatrix,
1249 fTextureColorSpaceXform);
1251
1252 fNumLeft -= clumpSize;
1253 fNumClumped += clumpSize;
1254 }
std::unique_ptr< GrOp > Owner
void addDrawOp(const GrClip *, GrOp::Owner, const std::function< WillAddOpFn > &=std::function< WillAddOpFn >())
SK_API sk_sp< SkDocument > Make(SkWStream *dst, const SkSerialProcs *=nullptr, std::function< void(const SkPicture *)> onEndPage=nullptr)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not set
◆ numLeft()
int skgpu::ganesh::TextureOp::BatchSizeLimiter::numLeft |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: