| 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 GrGpuGL_DEFINED | 8 #ifndef GrGpuGL_DEFINED |
| 9 #define GrGpuGL_DEFINED | 9 #define GrGpuGL_DEFINED |
| 10 | 10 |
| 11 #include "GrDrawState.h" | 11 #include "GrDrawState.h" |
| 12 #include "GrGLContext.h" | 12 #include "GrGLContext.h" |
| 13 #include "GrGLIRect.h" | 13 #include "GrGLIRect.h" |
| 14 #include "GrGLIndexBuffer.h" | 14 #include "GrGLIndexBuffer.h" |
| 15 #include "GrGLPathRendering.h" | 15 #include "GrGLPathRendering.h" |
| 16 #include "GrGLProgram.h" | 16 #include "GrGLProgram.h" |
| 17 #include "GrGLRenderTarget.h" |
| 17 #include "GrGLStencilBuffer.h" | 18 #include "GrGLStencilBuffer.h" |
| 18 #include "GrGLTexture.h" | 19 #include "GrGLTexture.h" |
| 19 #include "GrGLVertexArray.h" | 20 #include "GrGLVertexArray.h" |
| 20 #include "GrGLVertexBuffer.h" | 21 #include "GrGLVertexBuffer.h" |
| 21 #include "GrGpu.h" | 22 #include "GrGpu.h" |
| 22 #include "GrOptDrawState.h" | 23 #include "GrOptDrawState.h" |
| 23 #include "SkTypes.h" | 24 #include "SkTypes.h" |
| 24 | 25 |
| 25 #ifdef SK_DEVELOPER | 26 #ifdef SK_DEVELOPER |
| 26 #define PROGRAM_CACHE_STATS | 27 #define PROGRAM_CACHE_STATS |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 | 451 |
| 451 // we record what stencil format worked last time to hopefully exit early | 452 // we record what stencil format worked last time to hopefully exit early |
| 452 // from our loop that tries stencil formats and calls check fb status. | 453 // from our loop that tries stencil formats and calls check fb status. |
| 453 int fLastSuccessfulStencilFmtIdx; | 454 int fLastSuccessfulStencilFmtIdx; |
| 454 | 455 |
| 455 typedef GrGpu INHERITED; | 456 typedef GrGpu INHERITED; |
| 456 friend class GrGLPathRendering; // For accessing setTextureUnit. | 457 friend class GrGLPathRendering; // For accessing setTextureUnit. |
| 457 }; | 458 }; |
| 458 | 459 |
| 459 #endif | 460 #endif |
| OLD | NEW |