/* * Copyright 2023 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file.
*/ #ifndef sktext_SlugImpl_DEFINED #define sktext_SlugImpl_DEFINED
// Change memory management to handle the data after Slug, but in the same allocation // of memory. Only allow placement new. voidoperatordelete(void* p) { ::operatordelete(p); } void* operatornew(size_t) { SK_ABORT("All slugs are created by placement new."); } void* operatornew(size_t, void* p) { return p; }
private: // The allocator must come first because it needs to be destroyed last. Other fields of this // structure may have pointers into it.
SubRunAllocator fAlloc;
gpu::SubRunContainerOwner fSubRuns; const SkRect fSourceBounds; const SkPoint fOrigin;
};
} // namespace sktext::gpu
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.