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

Side by Side Diff: src/gpu/GrGpu.h

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 years, 9 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
« no previous file with comments | « src/gpu/GrGeometryProcessor.h ('k') | src/gpu/GrInOrderDrawBuffer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 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 GrGpu_DEFINED 8 #ifndef GrGpu_DEFINED
9 #define GrGpu_DEFINED 9 #define GrGpu_DEFINED
10 10
(...skipping 18 matching lines...) Expand all
29 /** 29 /**
30 * Create an instance of GrGpu that matches the specified backend. If the re quested backend is 30 * Create an instance of GrGpu that matches the specified backend. If the re quested backend is
31 * not supported (at compile-time or run-time) this returns NULL. The contex t will not be 31 * not supported (at compile-time or run-time) this returns NULL. The contex t will not be
32 * fully constructed and should not be used by GrGpu until after this functi on returns. 32 * fully constructed and should not be used by GrGpu until after this functi on returns.
33 */ 33 */
34 static GrGpu* Create(GrBackend, GrBackendContext, GrContext* context); 34 static GrGpu* Create(GrBackend, GrBackendContext, GrContext* context);
35 35
36 //////////////////////////////////////////////////////////////////////////// 36 ////////////////////////////////////////////////////////////////////////////
37 37
38 GrGpu(GrContext* context); 38 GrGpu(GrContext* context);
39 ~GrGpu() SK_OVERRIDE; 39 ~GrGpu() override;
40 40
41 GrContext* getContext() { return fContext; } 41 GrContext* getContext() { return fContext; }
42 const GrContext* getContext() const { return fContext; } 42 const GrContext* getContext() const { return fContext; }
43 43
44 /** 44 /**
45 * Gets the capabilities of the draw target. 45 * Gets the capabilities of the draw target.
46 */ 46 */
47 const GrDrawTargetCaps* caps() const { return fCaps.get(); } 47 const GrDrawTargetCaps* caps() const { return fCaps.get(); }
48 48
49 GrPathRendering* pathRendering() { return fPathRendering.get(); } 49 GrPathRendering* pathRendering() { return fPathRendering.get(); }
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 int fGpuTrac eMarkerCount; 519 int fGpuTrac eMarkerCount;
520 GrTraceMarkerSet fActiveT raceMarkers; 520 GrTraceMarkerSet fActiveT raceMarkers;
521 GrTraceMarkerSet fStoredT raceMarkers; 521 GrTraceMarkerSet fStoredT raceMarkers;
522 // The context owns us, not vice-versa, so this ptr is not ref'ed by Gpu. 522 // The context owns us, not vice-versa, so this ptr is not ref'ed by Gpu.
523 GrContext* fContext ; 523 GrContext* fContext ;
524 524
525 typedef SkRefCnt INHERITED; 525 typedef SkRefCnt INHERITED;
526 }; 526 };
527 527
528 #endif 528 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrGeometryProcessor.h ('k') | src/gpu/GrInOrderDrawBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698