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

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

Issue 778783002: Use texture size to determine precision of texture coord varyings (Closed) Base URL: https://skia.googlesource.com/skia.git@defaultp
Patch Set: include skrandom.h in new gm cpp Created 6 years 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/GrShaderVar.h ('k') | include/gpu/GrTypesPriv.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
10
11 #ifndef GrTypes_DEFINED 9 #ifndef GrTypes_DEFINED
12 #define GrTypes_DEFINED 10 #define GrTypes_DEFINED
13 11
14 #include "SkTypes.h" 12 #include "SkTypes.h"
15 #include "GrConfig.h" 13 #include "GrConfig.h"
16 #include "SkMath.h" 14 #include "SkMath.h"
17 15
18 //#define SK_SUPPORT_LEGACY_GRTYPES 16 //#define SK_SUPPORT_LEGACY_GRTYPES
19 17
20 //////////////////////////////////////////////////////////////////////////////// 18 ////////////////////////////////////////////////////////////////////////////////
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 public: 723 public:
726 GrAutoMalloc() : INHERITED() {} 724 GrAutoMalloc() : INHERITED() {}
727 explicit GrAutoMalloc(size_t size) : INHERITED(size) {} 725 explicit GrAutoMalloc(size_t size) : INHERITED(size) {}
728 virtual ~GrAutoMalloc() {} 726 virtual ~GrAutoMalloc() {}
729 private: 727 private:
730 typedef GrAutoMallocBaseType INHERITED; 728 typedef GrAutoMallocBaseType INHERITED;
731 }; 729 };
732 730
733 #undef GrAutoMallocBaseType 731 #undef GrAutoMallocBaseType
734 #endif 732 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrShaderVar.h ('k') | include/gpu/GrTypesPriv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698