tree: 64ff75cc581d58e1da44eb9daad64bb912894169 [path history] [tgz]
  1. partition_alloc/
  2. BUILD.gn
  3. CMakeLists.txt
  4. README.md
src/dawn/partition_alloc/README.md

This directory provide Dawn a “no-op” partition_alloc implementation of raw_ptr. This is used only when dawn_partition_alloc_dir is not set.

Why not using the PartitionAlloc “no-op” implementation?

For now, we decided Dawn to provide its own. This allow the partition_alloc dependency to be optional. It makes it easier easier to integrate into other project (Skia, etc...) and build system (CMake, Bazel, etc..)

Moreover, partition_alloc is still depending on chromium‘s //build for now. It means it can only be used inside Dawn who has the same dependency. It can’t be used outside.