| Index: src/gpu/GrProcessor.cpp
|
| diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp
|
| index 23f0ed16d8266ed131a0e14d28ad46ba2eb76a89..e3cfa78a6dca692591fdf98786f6cca8074298f1 100644
|
| --- a/src/gpu/GrProcessor.cpp
|
| +++ b/src/gpu/GrProcessor.cpp
|
| @@ -157,3 +157,14 @@ void GrFragmentProcessor::computeInvariantOutput(GrInvariantOutput* inout) const
|
| // Initial static variable from GrXPFactory
|
| int32_t GrXPFactory::gCurrXPFClassID =
|
| GrXPFactory::kIllegalXPFClassID;
|
| +
|
| +///////////////////////////////////////////////////////////////////////////////////////////////////
|
| +
|
| +// GrProcessorDataManager lives in the same pool
|
| +void* GrProcessorDataManager::operator new(size_t size) {
|
| + return MemoryPoolAccessor().pool()->allocate(size);
|
| +}
|
| +
|
| +void GrProcessorDataManager::operator delete(void* target) {
|
| + return MemoryPoolAccessor().pool()->release(target);
|
| +}
|
|
|