| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |