| Index: src/gpu/GrProcessor.cpp
|
| diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp
|
| index 01071dabfd7a42f9efeb56c1f2b2d55375a4d5ed..d850d6894a3782e04e827d723edb2110cac05abb 100644
|
| --- a/src/gpu/GrProcessor.cpp
|
| +++ b/src/gpu/GrProcessor.cpp
|
| @@ -9,6 +9,7 @@
|
| #include "GrBackendProcessorFactory.h"
|
| #include "GrContext.h"
|
| #include "GrCoordTransform.h"
|
| +#include "GrGeometryData.h"
|
| #include "GrInvariantOutput.h"
|
| #include "GrMemoryPool.h"
|
| #include "SkTLS.h"
|
| @@ -152,3 +153,17 @@ bool GrFragmentProcessor::hasSameTransforms(const GrFragmentProcessor& that) con
|
| }
|
| return true;
|
| }
|
| +
|
| +///////////////////////////////////////////////////////////////////////////////////////////////////
|
| +
|
| +/*
|
| + * GrGeometryData shares the same pool so it lives in this file too
|
| + */
|
| +void* GrGeometryData::operator new(size_t size) {
|
| + return GrProcessor_Globals::GetTLS()->allocate(size);
|
| +}
|
| +
|
| +void GrGeometryData::operator delete(void* target) {
|
| + GrProcessor_Globals::GetTLS()->release(target);
|
| +}
|
| +
|
|
|