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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 int width, int height, | 177 int width, int height, |
178 GrPixelConfig, | 178 GrPixelConfig, |
179 void* buffer, | 179 void* buffer, |
180 size_t rowBytes) override; | 180 size_t rowBytes) override; |
181 | 181 |
182 bool onWritePixels(GrSurface*, | 182 bool onWritePixels(GrSurface*, |
183 int left, int top, int width, int height, | 183 int left, int top, int width, int height, |
184 GrPixelConfig config, | 184 GrPixelConfig config, |
185 const SkTArray<GrMipLevel>& texels) override; | 185 const SkTArray<GrMipLevel>& texels) override; |
186 | 186 |
187 bool onTransferPixels(GrTexture*, | 187 bool onTransferPixels(GrSurface*, |
188 int left, int top, int width, int height, | 188 int left, int top, int width, int height, |
189 GrPixelConfig config, GrBuffer* transferBuffer, | 189 GrPixelConfig config, GrBuffer* transferBuffer, |
190 size_t offset, size_t rowBytes) override; | 190 size_t offset, size_t rowBytes) override; |
191 | 191 |
192 void onResolveRenderTarget(GrRenderTarget* target) override; | 192 void onResolveRenderTarget(GrRenderTarget* target) override; |
193 | 193 |
194 void onDraw(const GrPipeline&, | 194 void onDraw(const GrPipeline&, |
195 const GrPrimitiveProcessor&, | 195 const GrPrimitiveProcessor&, |
196 const GrMesh*, | 196 const GrMesh*, |
197 int meshCount) override; | 197 int meshCount) override; |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 bool fHWPLSEnabled; | 564 bool fHWPLSEnabled; |
565 bool fPLSHasBeenUsed; | 565 bool fPLSHasBeenUsed; |
566 | 566 |
567 float fHWMinSampleShading; | 567 float fHWMinSampleShading; |
568 | 568 |
569 typedef GrGpu INHERITED; | 569 typedef GrGpu INHERITED; |
570 friend class GrGLPathRendering; // For accessing setTextureUnit. | 570 friend class GrGLPathRendering; // For accessing setTextureUnit. |
571 }; | 571 }; |
572 | 572 |
573 #endif | 573 #endif |
OLD | NEW |