| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 | 10 |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 * By default all render targets have an associated stencil buffer that | 372 * By default all render targets have an associated stencil buffer that |
| 373 * may be required for path filling. This flag overrides stencil buffer | 373 * may be required for path filling. This flag overrides stencil buffer |
| 374 * creation. | 374 * creation. |
| 375 * MAKE THIS PRIVATE? | 375 * MAKE THIS PRIVATE? |
| 376 */ | 376 */ |
| 377 kNoStencil_GrTextureFlagBit = 0x2, | 377 kNoStencil_GrTextureFlagBit = 0x2, |
| 378 /** | 378 /** |
| 379 * Hint that the CPU may modify this texture after creation. | 379 * Hint that the CPU may modify this texture after creation. |
| 380 */ | 380 */ |
| 381 kDynamicUpdate_GrTextureFlagBit = 0x4, | 381 kDynamicUpdate_GrTextureFlagBit = 0x4, |
| 382 /** |
| 383 * Indicates that all allocations (color buffer, FBO completeness, etc) |
| 384 * should be verified. |
| 385 */ |
| 386 kCheckAllocation_GrTextureFlagBit = 0x8, |
| 382 | 387 |
| 383 kDummy_GrTextureFlagBit, | 388 kDummy_GrTextureFlagBit, |
| 384 kLastPublic_GrTextureFlagBit = kDummy_GrTextureFlagBit-1, | 389 kLastPublic_GrTextureFlagBit = kDummy_GrTextureFlagBit-1, |
| 385 }; | 390 }; |
| 386 | 391 |
| 387 GR_MAKE_BITFIELD_OPS(GrTextureFlags) | 392 GR_MAKE_BITFIELD_OPS(GrTextureFlags) |
| 388 | 393 |
| 389 enum { | 394 enum { |
| 390 /** | 395 /** |
| 391 * For Index8 pixel config, the colortable must be 256 entries | 396 * For Index8 pixel config, the colortable must be 256 entries |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 /** | 596 /** |
| 592 * Handle to the 3D API object. | 597 * Handle to the 3D API object. |
| 593 * OpenGL: FBO ID | 598 * OpenGL: FBO ID |
| 594 */ | 599 */ |
| 595 GrBackendObject fRenderTargetHandle; | 600 GrBackendObject fRenderTargetHandle; |
| 596 }; | 601 }; |
| 597 | 602 |
| 598 /////////////////////////////////////////////////////////////////////////////// | 603 /////////////////////////////////////////////////////////////////////////////// |
| 599 | 604 |
| 600 #endif | 605 #endif |
| OLD | NEW |