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

Side by Side Diff: src/gpu/gl/GrGLRenderTarget.cpp

Issue 824753002: Rename GrGpuGL -> GrGLGpu (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address nit 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 | « src/gpu/gl/GrGLProgramDesc.cpp ('k') | src/gpu/gl/GrGLStencilBuffer.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 * 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 #include "GrGLRenderTarget.h" 8 #include "GrGLRenderTarget.h"
9 9
10 #include "GrGpuGL.h" 10 #include "GrGLGpu.h"
11 11
12 #define GPUGL static_cast<GrGLGpu*>(this->getGpu()) 12 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
13 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) 13 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
14 14
15 // Because this class is virtually derived from GrSurface we must explicitly cal l its constructor. 15 // Because this class is virtually derived from GrSurface we must explicitly cal l its constructor.
16 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, cons t IDDesc& idDesc) 16 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, cons t IDDesc& idDesc)
17 : GrSurface(gpu, idDesc.fIsWrapped, desc) 17 : GrSurface(gpu, idDesc.fIsWrapped, desc)
18 , INHERITED(gpu, idDesc.fIsWrapped, desc) { 18 , INHERITED(gpu, idDesc.fIsWrapped, desc) {
19 this->init(desc, idDesc); 19 this->init(desc, idDesc);
20 this->registerWithCache(); 20 this->registerWithCache();
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 INHERITED::onRelease(); 73 INHERITED::onRelease();
74 } 74 }
75 75
76 void GrGLRenderTarget::onAbandon() { 76 void GrGLRenderTarget::onAbandon() {
77 fRTFBOID = 0; 77 fRTFBOID = 0;
78 fTexFBOID = 0; 78 fTexFBOID = 0;
79 fMSColorRenderbufferID = 0; 79 fMSColorRenderbufferID = 0;
80 fIsWrapped = false; 80 fIsWrapped = false;
81 INHERITED::onAbandon(); 81 INHERITED::onAbandon();
82 } 82 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLProgramDesc.cpp ('k') | src/gpu/gl/GrGLStencilBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698