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

Side by Side Diff: src/gpu/gl/GrGLRenderTarget.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/GrGLPathRange.h ('k') | src/gpu/gl/GrGLStencilAttachment.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 GrGLRenderTarget_DEFINED 9 #ifndef GrGLRenderTarget_DEFINED
10 #define GrGLRenderTarget_DEFINED 10 #define GrGLRenderTarget_DEFINED
11 11
12 #include "GrGLIRect.h" 12 #include "GrGLIRect.h"
13 #include "GrRenderTarget.h" 13 #include "GrRenderTarget.h"
14 #include "SkScalar.h" 14 #include "SkScalar.h"
15 15
16 class GrGLGpu; 16 class GrGLGpu;
17 class GrGLStencilAttachment; 17 class GrGLStencilAttachment;
18 18
19 class GrGLRenderTarget : public GrRenderTarget { 19 class GrGLRenderTarget : public GrRenderTarget {
20 public: 20 public:
21 GrRenderTarget* arrgh() override { return this; }
22
21 // set fTexFBOID to this value to indicate that it is multisampled but 23 // set fTexFBOID to this value to indicate that it is multisampled but
22 // Gr doesn't know how to resolve it. 24 // Gr doesn't know how to resolve it.
23 enum { kUnresolvableFBOID = 0 }; 25 enum { kUnresolvableFBOID = 0 };
24 26
25 struct IDDesc { 27 struct IDDesc {
26 GrGLuint fRTFBOID; 28 GrGLuint fRTFBOID;
27 GrGLuint fTexFBOID; 29 GrGLuint fTexFBOID;
28 GrGLuint fMSColorRenderbufferID; 30 GrGLuint fMSColorRenderbufferID;
29 GrGpuResource::LifeCycle fLifeCycle; 31 GrGpuResource::LifeCycle fLifeCycle;
30 GrRenderTarget::SampleConfig fSampleConfig; 32 GrRenderTarget::SampleConfig fSampleConfig;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 size_t fGpuMemorySize; 134 size_t fGpuMemorySize;
133 135
134 // True if sample locations colocated at pixel center are currently in use, false if default 136 // True if sample locations colocated at pixel center are currently in use, false if default
135 // sample locations are currently in use. 137 // sample locations are currently in use.
136 bool fUsesColocatedSampleLocations; 138 bool fUsesColocatedSampleLocations;
137 139
138 typedef GrRenderTarget INHERITED; 140 typedef GrRenderTarget INHERITED;
139 }; 141 };
140 142
141 #endif 143 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLPathRange.h ('k') | src/gpu/gl/GrGLStencilAttachment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698