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

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

Issue 672753002: Delete unused method aliases and texture flag. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: try again Created 6 years, 1 month 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
« no previous file with comments | « include/gpu/GrTexture.h ('k') | src/gpu/GrTexture.cpp » ('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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 kNoStencil_GrTextureFlagBit = 0x2, 437 kNoStencil_GrTextureFlagBit = 0x2,
438 /** 438 /**
439 * Hint that the CPU may modify this texture after creation. 439 * Hint that the CPU may modify this texture after creation.
440 */ 440 */
441 kDynamicUpdate_GrTextureFlagBit = 0x4, 441 kDynamicUpdate_GrTextureFlagBit = 0x4,
442 /** 442 /**
443 * Indicates that all allocations (color buffer, FBO completeness, etc) 443 * Indicates that all allocations (color buffer, FBO completeness, etc)
444 * should be verified. 444 * should be verified.
445 */ 445 */
446 kCheckAllocation_GrTextureFlagBit = 0x8, 446 kCheckAllocation_GrTextureFlagBit = 0x8,
447
448 kDummy_GrTextureFlagBit,
449 kLastPublic_GrTextureFlagBit = kDummy_GrTextureFlagBit-1,
450 }; 447 };
451 448
452 GR_MAKE_BITFIELD_OPS(GrTextureFlags) 449 GR_MAKE_BITFIELD_OPS(GrTextureFlags)
453 450
454 /** 451 /**
455 * Some textures will be stored such that the upper and left edges of the conten t meet at the 452 * Some textures will be stored such that the upper and left edges of the conten t meet at the
456 * the origin (in texture coord space) and for other textures the lower and left edges meet at 453 * the origin (in texture coord space) and for other textures the lower and left edges meet at
457 * the origin. kDefault_GrSurfaceOrigin sets textures to TopLeft, and render tar gets 454 * the origin. kDefault_GrSurfaceOrigin sets textures to TopLeft, and render tar gets
458 * to BottomLeft. 455 * to BottomLeft.
459 */ 456 */
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 public: 717 public:
721 GrAutoMalloc() : INHERITED() {} 718 GrAutoMalloc() : INHERITED() {}
722 explicit GrAutoMalloc(size_t size) : INHERITED(size) {} 719 explicit GrAutoMalloc(size_t size) : INHERITED(size) {}
723 virtual ~GrAutoMalloc() {} 720 virtual ~GrAutoMalloc() {}
724 private: 721 private:
725 typedef GrAutoMallocBaseType INHERITED; 722 typedef GrAutoMallocBaseType INHERITED;
726 }; 723 };
727 724
728 #undef GrAutoMallocBaseType 725 #undef GrAutoMallocBaseType
729 #endif 726 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrTexture.h ('k') | src/gpu/GrTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698