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

Side by Side Diff: src/gpu/gl/GrGLTexture.h

Issue 1100483003: Minor modifications to GrProgramDesc.h. (Closed) Base URL: https://chromium.googlesource.com/skia@master
Patch Set: Cleanup Created 5 years, 8 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
« no previous file with comments | « src/gpu/gl/GrGLProgramDesc.cpp ('k') | no next file » | 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 * 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 8
9 #ifndef GrGLTexture_DEFINED 9 #ifndef GrGLTexture_DEFINED
10 #define GrGLTexture_DEFINED 10 #define GrGLTexture_DEFINED
11 11
12 #include "GrGpu.h" 12 #include "GrGpu.h"
13 #include "GrTexture.h" 13 #include "GrTexture.h"
14 #include "GrGLUtil.h" 14 #include "GrGLUtil.h"
15 15
16 class GrGLGpu;
16 17
17 class GrGLTexture : public GrTexture { 18 class GrGLTexture : public GrTexture {
18 19
19 public: 20 public:
20 struct TexParams { 21 struct TexParams {
21 GrGLenum fMinFilter; 22 GrGLenum fMinFilter;
22 GrGLenum fMagFilter; 23 GrGLenum fMagFilter;
23 GrGLenum fWrapS; 24 GrGLenum fWrapS;
24 GrGLenum fWrapT; 25 GrGLenum fWrapT;
25 GrGLenum fSwizzleRGBA[4]; 26 GrGLenum fSwizzleRGBA[4];
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 GrGLuint fTextureID; 70 GrGLuint fTextureID;
70 71
71 // We track this separately from GrGpuResource because this may be both a te xture and a render 72 // We track this separately from GrGpuResource because this may be both a te xture and a render
72 // target, and the texture may be wrapped while the render target is not. 73 // target, and the texture may be wrapped while the render target is not.
73 bool fIsWrapped; 74 bool fIsWrapped;
74 75
75 typedef GrTexture INHERITED; 76 typedef GrTexture INHERITED;
76 }; 77 };
77 78
78 #endif 79 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLProgramDesc.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698