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

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

Issue 340893002: Allow gpu debug markers to be placed by using a GrContext (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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 | « no previous file | src/gpu/GrTracing.h » ('j') | src/gpu/GrTracing.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2010 Google Inc. 2 * Copyright 2010 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 GrContext_DEFINED 8 #ifndef GrContext_DEFINED
9 #define GrContext_DEFINED 9 #define GrContext_DEFINED
10 10
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 private: 904 private:
905 AutoClip fAutoClip; 905 AutoClip fAutoClip;
906 AutoRenderTarget fAutoRT; 906 AutoRenderTarget fAutoRT;
907 AutoMatrix fAutoMatrix; 907 AutoMatrix fAutoMatrix;
908 }; 908 };
909 909
910 /////////////////////////////////////////////////////////////////////////// 910 ///////////////////////////////////////////////////////////////////////////
911 // Functions intended for internal use only. 911 // Functions intended for internal use only.
912 GrGpu* getGpu() { return fGpu; } 912 GrGpu* getGpu() { return fGpu; }
913 const GrGpu* getGpu() const { return fGpu; } 913 const GrGpu* getGpu() const { return fGpu; }
914 GrInOrderDrawBuffer* getDrawBuffer() { return fDrawBuffer; }
bsalomon 2014/06/18 20:35:17 Ahhhhhhhhh
egdaniel 2014/06/18 21:03:43 I going to take that as an excited, you're amazing
bsalomon 2014/06/18 21:14:47 You do that :)
914 GrFontCache* getFontCache() { return fFontCache; } 915 GrFontCache* getFontCache() { return fFontCache; }
915 GrLayerCache* getLayerCache() { return fLayerCache.get(); } 916 GrLayerCache* getLayerCache() { return fLayerCache.get(); }
916 GrDrawTarget* getTextTarget(); 917 GrDrawTarget* getTextTarget();
917 const GrIndexBuffer* getQuadIndexBuffer() const; 918 const GrIndexBuffer* getQuadIndexBuffer() const;
918 GrAARectRenderer* getAARectRenderer() { return fAARectRenderer; } 919 GrAARectRenderer* getAARectRenderer() { return fAARectRenderer; }
919 920
920 // Called by tests that draw directly to the context via GrDrawTarget 921 // Called by tests that draw directly to the context via GrDrawTarget
921 void getTestTarget(GrTestTarget*); 922 void getTestTarget(GrTestTarget*);
922 923
923 // Functions for managing gpu trace markers 924 // Functions for managing gpu trace markers
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 } 1130 }
1130 1131
1131 GrTexture* texture() { return fTexture; } 1132 GrTexture* texture() { return fTexture; }
1132 1133
1133 private: 1134 private:
1134 GrContext* fContext; 1135 GrContext* fContext;
1135 GrTexture* fTexture; 1136 GrTexture* fTexture;
1136 }; 1137 };
1137 1138
1138 #endif 1139 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrTracing.h » ('j') | src/gpu/GrTracing.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698