Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(605)

Side by Side Diff: include/gpu/GrTypes.h

Issue 15643013: Force checking of all color, stencil and FBO allocations for SkSurface_Gpu. This fixes the software… (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Spread the SkToBool goodness. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/gpu/gl/GrGLRenderTarget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | src/gpu/gl/GrGLRenderTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698