| 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 10 matching lines...) Expand all Loading... |
| 21 #include "GrTypes.h" | 21 #include "GrTypes.h" |
| 22 #include "GrXferProcessor.h" | 22 #include "GrXferProcessor.h" |
| 23 #include "SkTArray.h" | 23 #include "SkTArray.h" |
| 24 #include "SkTypes.h" | 24 #include "SkTypes.h" |
| 25 | 25 |
| 26 class GrGLBuffer; | 26 class GrGLBuffer; |
| 27 class GrPipeline; | 27 class GrPipeline; |
| 28 class GrNonInstancedMesh; | 28 class GrNonInstancedMesh; |
| 29 class GrSwizzle; | 29 class GrSwizzle; |
| 30 | 30 |
| 31 #ifdef SK_DEVELOPER | 31 #ifdef SK_DEBUG |
| 32 #define PROGRAM_CACHE_STATS | 32 #define PROGRAM_CACHE_STATS |
| 33 #endif | 33 #endif |
| 34 | 34 |
| 35 class GrGLGpu final : public GrGpu { | 35 class GrGLGpu final : public GrGpu { |
| 36 public: | 36 public: |
| 37 static GrGpu* Create(GrBackendContext backendContext, const GrContextOptions
& options, | 37 static GrGpu* Create(GrBackendContext backendContext, const GrContextOptions
& options, |
| 38 GrContext* context); | 38 GrContext* context); |
| 39 ~GrGLGpu() override; | 39 ~GrGLGpu() override; |
| 40 | 40 |
| 41 void disconnect(DisconnectType) override; | 41 void disconnect(DisconnectType) override; |
| (...skipping 522 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 |