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

Side by Side Diff: src/gpu/gl/GrGLGpu.h

Issue 1332923003: Remove batchtracker (Closed) Base URL: https://skia.googlesource.com/skia.git@latecreatepathprocessor
Patch Set: tweaks Created 5 years, 3 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/effects/GrDistanceFieldGeoProc.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('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 GrGLGpu_DEFINED 8 #ifndef GrGLGpu_DEFINED
9 #define GrGLGpu_DEFINED 9 #define GrGLGpu_DEFINED
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } 86 }
87 void notifyVertexBufferDelete(GrGLuint id) { 87 void notifyVertexBufferDelete(GrGLuint id) {
88 fHWGeometryState.notifyVertexBufferDelete(id); 88 fHWGeometryState.notifyVertexBufferDelete(id);
89 } 89 }
90 void notifyIndexBufferDelete(GrGLuint id) { 90 void notifyIndexBufferDelete(GrGLuint id) {
91 fHWGeometryState.notifyIndexBufferDelete(id); 91 fHWGeometryState.notifyIndexBufferDelete(id);
92 } 92 }
93 93
94 void buildProgramDesc(GrProgramDesc*, 94 void buildProgramDesc(GrProgramDesc*,
95 const GrPrimitiveProcessor&, 95 const GrPrimitiveProcessor&,
96 const GrPipeline&, 96 const GrPipeline&) const override;
97 const GrBatchTracker&) const override;
98 97
99 const GrGLContext* glContextForTesting() const override { 98 const GrGLContext* glContextForTesting() const override {
100 return &this->glContext(); 99 return &this->glContext();
101 } 100 }
102 101
103 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h, 102 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h,
104 GrPixelConfig config) const override; 103 GrPixelConfig config) const override;
105 bool isTestingOnlyBackendTexture(GrBackendObject id) const override; 104 bool isTestingOnlyBackendTexture(GrBackendObject id) const override;
106 void deleteTestingOnlyBackendTexture(GrBackendObject id) const override; 105 void deleteTestingOnlyBackendTexture(GrBackendObject id) const override;
107 106
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 493
495 // Mapping of pixel configs to known supported stencil formats to be used 494 // Mapping of pixel configs to known supported stencil formats to be used
496 // when adding a stencil buffer to a framebuffer. 495 // when adding a stencil buffer to a framebuffer.
497 int fPixelConfigToStencilIndex[kGrPixelConfigCnt]; 496 int fPixelConfigToStencilIndex[kGrPixelConfigCnt];
498 497
499 typedef GrGpu INHERITED; 498 typedef GrGpu INHERITED;
500 friend class GrGLPathRendering; // For accessing setTextureUnit. 499 friend class GrGLPathRendering; // For accessing setTextureUnit.
501 }; 500 };
502 501
503 #endif 502 #endif
OLDNEW
« no previous file with comments | « src/gpu/effects/GrDistanceFieldGeoProc.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698