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

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

Issue 685883003: Clip in grdrawtarget (Closed) Base URL: https://skia.googlesource.com/skia.git@drawtarget_on_clip_manager
Patch Set: dm cleaned up Created 6 years, 1 month 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/GrClipMaskManager.h » ('j') | src/gpu/GrInOrderDrawBuffer.cpp » ('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 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 } 864 }
865 865
866 private: 866 private:
867 AutoClip fAutoClip; 867 AutoClip fAutoClip;
868 AutoRenderTarget fAutoRT; 868 AutoRenderTarget fAutoRT;
869 AutoMatrix fAutoMatrix; 869 AutoMatrix fAutoMatrix;
870 }; 870 };
871 871
872 /////////////////////////////////////////////////////////////////////////// 872 ///////////////////////////////////////////////////////////////////////////
873 // Functions intended for internal use only. 873 // Functions intended for internal use only.
874 GrDrawTarget* getDrawTarget();
bsalomon 2014/11/05 19:13:43 If this is for testing then I think it should be n
874 GrGpu* getGpu() { return fGpu; } 875 GrGpu* getGpu() { return fGpu; }
875 const GrGpu* getGpu() const { return fGpu; } 876 const GrGpu* getGpu() const { return fGpu; }
876 GrFontCache* getFontCache() { return fFontCache; } 877 GrFontCache* getFontCache() { return fFontCache; }
877 GrLayerCache* getLayerCache() { return fLayerCache.get(); } 878 GrLayerCache* getLayerCache() { return fLayerCache.get(); }
878 GrDrawTarget* getTextTarget(); 879 GrDrawTarget* getTextTarget();
879 const GrIndexBuffer* getQuadIndexBuffer() const; 880 const GrIndexBuffer* getQuadIndexBuffer() const;
880 GrAARectRenderer* getAARectRenderer() { return fAARectRenderer; } 881 GrAARectRenderer* getAARectRenderer() { return fAARectRenderer; }
881 GrResourceCache* getResourceCache() { return fResourceCache; } 882 GrResourceCache* getResourceCache() { return fResourceCache; }
882 GrResourceCache2* getResourceCache2() { return fResourceCache2; } 883 GrResourceCache2* getResourceCache2() { return fResourceCache2; }
883 884
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 /** 1010 /**
1010 * This callback allows the resource cache to callback into the GrContext 1011 * This callback allows the resource cache to callback into the GrContext
1011 * when the cache is still overbudget after a purge. 1012 * when the cache is still overbudget after a purge.
1012 */ 1013 */
1013 static bool OverbudgetCB(void* data); 1014 static bool OverbudgetCB(void* data);
1014 1015
1015 typedef SkRefCnt INHERITED; 1016 typedef SkRefCnt INHERITED;
1016 }; 1017 };
1017 1018
1018 #endif 1019 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrClipMaskManager.h » ('j') | src/gpu/GrInOrderDrawBuffer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698