| 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 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 bool isNewTexture, | 254 bool isNewTexture, |
| 255 int left, int top, int width, int height, | 255 int left, int top, int width, int height, |
| 256 GrPixelConfig dataConfig, | 256 GrPixelConfig dataConfig, |
| 257 const void* data, | 257 const void* data, |
| 258 size_t rowBytes); | 258 size_t rowBytes); |
| 259 | 259 |
| 260 bool createRenderTargetObjects(int width, int height, | 260 bool createRenderTargetObjects(int width, int height, |
| 261 GrGLuint texID, | 261 GrGLuint texID, |
| 262 GrGLRenderTarget::Desc* desc); | 262 GrGLRenderTarget::Desc* desc); |
| 263 | 263 |
| 264 void fillInConfigRenderableTable(); | |
| 265 | |
| 266 GrGLContext fGLContext; | 264 GrGLContext fGLContext; |
| 267 | 265 |
| 268 // GL program-related state | 266 // GL program-related state |
| 269 ProgramCache* fProgramCache; | 267 ProgramCache* fProgramCache; |
| 270 SkAutoTUnref<GrGLProgram> fCurrentProgram; | 268 SkAutoTUnref<GrGLProgram> fCurrentProgram; |
| 271 | 269 |
| 272 /////////////////////////////////////////////////////////////////////////// | 270 /////////////////////////////////////////////////////////////////////////// |
| 273 ///@name Caching of GL State | 271 ///@name Caching of GL State |
| 274 ///@{ | 272 ///@{ |
| 275 int fHWActiveTextureUnitIdx; | 273 int fHWActiveTextureUnitIdx; |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 ///@} | 448 ///@} |
| 451 | 449 |
| 452 // we record what stencil format worked last time to hopefully exit early | 450 // we record what stencil format worked last time to hopefully exit early |
| 453 // from our loop that tries stencil formats and calls check fb status. | 451 // from our loop that tries stencil formats and calls check fb status. |
| 454 int fLastSuccessfulStencilFmtIdx; | 452 int fLastSuccessfulStencilFmtIdx; |
| 455 | 453 |
| 456 typedef GrGpu INHERITED; | 454 typedef GrGpu INHERITED; |
| 457 }; | 455 }; |
| 458 | 456 |
| 459 #endif | 457 #endif |
| OLD | NEW |