Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1065)

Side by Side Diff: include/gpu/GrProcessorDataManager.h

Issue 1225363002: Move GrProcessorDataManager to GrMemoryPool (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrProcessorDataManager_DEFINED 8 #ifndef GrProcessorDataManager_DEFINED
9 #define GrProcessorDataManager_DEFINED 9 #define GrProcessorDataManager_DEFINED
10 10
11 class GrProcessorDataManager {}; 11 #include "SkRefCnt.h"
12
13 class GrProcessorDataManager : public SkRefCnt {
14 public:
15 GrProcessorDataManager() {}
16 GrProcessorDataManager(const GrProcessorDataManager& procDataManager) {}
17
18 void* operator new(size_t size);
19 void operator delete(void* target);
20
21 void* operator new(size_t size, void* placement) {
22 return ::operator new(size, placement);
23 }
24 void operator delete(void* target, void* placement) {
25 ::operator delete(target, placement);
26 }
27
28 private:
29 typedef SkRefCnt INHERITED;
30 };
12 31
13 #endif 32 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrPaint.h ('k') | src/gpu/GrPaint.cpp » ('j') | src/gpu/GrPipelineBuilder.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698