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

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

Issue 1225923010: Refugee from Dead Machine 4: MDB Monster Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Last update from dead machine Created 4 years, 7 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/GrGLRenderTarget.h ('k') | src/gpu/gl/GrGLTexture.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 * 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 GrGLStencilAttachment_DEFINED 9 #ifndef GrGLStencilAttachment_DEFINED
10 #define GrGLStencilAttachment_DEFINED 10 #define GrGLStencilAttachment_DEFINED
11 11
12 #include "gl/GrGLInterface.h" 12 #include "gl/GrGLInterface.h"
13 #include "GrStencilAttachment.h" 13 #include "GrStencilAttachment.h"
14 14
15 class GrGLStencilAttachment : public GrStencilAttachment { 15 class GrGLStencilAttachment : public GrStencilAttachment {
16 public: 16 public:
17 GrRenderTarget* arrgh() override { return NULL; }
18
17 static const GrGLenum kUnknownInternalFormat = ~0U; 19 static const GrGLenum kUnknownInternalFormat = ~0U;
18 static const GrGLuint kUnknownBitCount = ~0U; 20 static const GrGLuint kUnknownBitCount = ~0U;
19 struct Format { 21 struct Format {
20 GrGLenum fInternalFormat; 22 GrGLenum fInternalFormat;
21 GrGLuint fStencilBits; 23 GrGLuint fStencilBits;
22 GrGLuint fTotalBits; 24 GrGLuint fTotalBits;
23 bool fPacked; 25 bool fPacked;
24 }; 26 };
25 27
26 struct IDDesc { 28 struct IDDesc {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 Format fFormat; 61 Format fFormat;
60 // may be zero for external SBs associated with external RTs 62 // may be zero for external SBs associated with external RTs
61 // (we don't require the client to give us the id, just tell 63 // (we don't require the client to give us the id, just tell
62 // us how many bits of stencil there are). 64 // us how many bits of stencil there are).
63 GrGLuint fRenderbufferID; 65 GrGLuint fRenderbufferID;
64 66
65 typedef GrStencilAttachment INHERITED; 67 typedef GrStencilAttachment INHERITED;
66 }; 68 };
67 69
68 #endif 70 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLRenderTarget.h ('k') | src/gpu/gl/GrGLTexture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698