Index: include/gpu/GrProcessorDataManager.h |
diff --git a/include/gpu/GrProcessorDataManager.h b/include/gpu/GrProcessorDataManager.h |
index ccc77d74ebdec188f21036e10349c568a56997f8..edec39f517c5384708606011f0e13f90a1b572a3 100644 |
--- a/include/gpu/GrProcessorDataManager.h |
+++ b/include/gpu/GrProcessorDataManager.h |
@@ -8,48 +8,9 @@ |
#ifndef GrProcessorDataManager_DEFINED |
#define GrProcessorDataManager_DEFINED |
-#include "SkRefCnt.h" |
-#include "SkTArray.h" |
+// TODO this class is just an empty stub for now |
-class GrProcessorDataManager : public SkRefCnt { |
-public: |
- GrProcessorDataManager() {} |
- GrProcessorDataManager(const GrProcessorDataManager& procDataManager) { |
- fIndices = procDataManager.fIndices; |
- fStorage = procDataManager.fStorage; |
- } |
- |
- void* operator new(size_t size); |
- void operator delete(void* target); |
- |
- void* operator new(size_t size, void* placement) { |
- return ::operator new(size, placement); |
- } |
- void operator delete(void* target, void* placement) { |
- ::operator delete(target, placement); |
- } |
- |
-private: |
- uint32_t currentSaveMarker() const { return 0; } |
- void restoreToSaveMarker(/*uint32_t marker*/) {} |
- |
- // For GrPipelineBuilder::AutoRestoreProcessorDataManager |
- friend class GrPipelineBuilder; |
- static const uint32_t kNumProcessor = 1; |
- static const uint32_t kDataIndicesPerProcessor = 1; |
- static const uint32_t kPreAllocDataPerProcessor = 1; |
- |
- /*static const size_t kPreAllocStorage = kNumProcessor * kPreAllocDataPerProcessor; |
- static const uint32_t kNumProcessor = 8; |
- static const uint32_t kDataIndicesPerProcessor = 4; |
- static const uint32_t kPreAllocDataPerProcessor = kDataIndicesPerProcessor * |
- sizeof(GrCoordTransform);*/ |
- static const size_t kPreAllocIndices = kNumProcessor * kDataIndicesPerProcessor; |
- static const size_t kPreAllocStorage = kNumProcessor * kPreAllocDataPerProcessor; |
- SkSTArray<kPreAllocIndices, uint32_t, true> fIndices; |
- SkSTArray<kPreAllocStorage, unsigned char, true> fStorage; |
- |
- typedef SkRefCnt INHERITED; |
+class GrProcessorDataManager { |
}; |
#endif |