| Index: src/gpu/GrProcessor.cpp
|
| diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp
|
| index 08f437d50a06e58fa9376c18ad4d68a433ee88bb..9977018191578879f56aa9b70dd36ca4b05a8630 100644
|
| --- a/src/gpu/GrProcessor.cpp
|
| +++ b/src/gpu/GrProcessor.cpp
|
| @@ -8,6 +8,7 @@
|
| #include "GrProcessor.h"
|
| #include "GrContext.h"
|
| #include "GrCoordTransform.h"
|
| +#include "GrGeometryData.h"
|
| #include "GrGeometryProcessor.h"
|
| #include "GrInvariantOutput.h"
|
| #include "GrMemoryPool.h"
|
| @@ -171,6 +172,19 @@
|
|
|
| ///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
| +/*
|
| + * 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);
|
| +}
|
| +
|
| +///////////////////////////////////////////////////////////////////////////////////////////////////
|
| +
|
| // Initial static variable from GrXPFactory
|
| int32_t GrXPFactory::gCurrXPFClassID =
|
| GrXPFactory::kIllegalXPFClassID;
|
|
|