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

Side by Side Diff: tools/gpu/GrTest.h

Issue 1815823002: Move SkGLContext and some GrGLInterface implementations to skgputest module (Closed) Base URL: https://chromium.googlesource.com/skia.git@debugobject
Patch Set: rebase, readd null interface to main lib Created 4 years, 8 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 /* 2 /*
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef GrTest_DEFINED 9 #ifndef GrTest_DEFINED
10 #define GrTest_DEFINED 10 #define GrTest_DEFINED
(...skipping 23 matching lines...) Expand all
34 GrDrawTarget* target() { return fDrawTarget.get(); } 34 GrDrawTarget* target() { return fDrawTarget.get(); }
35 GrResourceProvider* resourceProvider() { return fContext->resourceProvider() ; } 35 GrResourceProvider* resourceProvider() { return fContext->resourceProvider() ; }
36 36
37 private: 37 private:
38 SkAutoTUnref<GrContext> fContext; 38 SkAutoTUnref<GrContext> fContext;
39 SkAutoTUnref<GrDrawTarget> fDrawTarget; 39 SkAutoTUnref<GrDrawTarget> fDrawTarget;
40 SkAutoTUnref<GrRenderTarget> fRenderTarget; 40 SkAutoTUnref<GrRenderTarget> fRenderTarget;
41 }; 41 };
42 42
43 #endif 43 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698