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

Side by Side Diff: cc/program_binding.cc

Issue 11189011: cc: Remove the temporary header files that aren't prefixed with CC* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « cc/occlusion_tracker_unittest.cc ('k') | cc/rate_limiter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 6
7 #include "ProgramBinding.h" 7 #include "cc/program_binding.h"
8 8
9 #include "CCRendererGL.h" // For the GLC() macro. 9 #include "CCRendererGL.h" // For the GLC() macro.
10 #include "GeometryBinding.h"
11 #include "GraphicsContext3D.h" 10 #include "GraphicsContext3D.h"
12 #include "TraceEvent.h" 11 #include "TraceEvent.h"
12 #include "cc/geometry_binding.h"
13 #include <public/WebGraphicsContext3D.h> 13 #include <public/WebGraphicsContext3D.h>
14 14
15 using WebKit::WebGraphicsContext3D; 15 using WebKit::WebGraphicsContext3D;
16 16
17 namespace cc { 17 namespace cc {
18 18
19 ProgramBindingBase::ProgramBindingBase() 19 ProgramBindingBase::ProgramBindingBase()
20 : m_program(0) 20 : m_program(0)
21 , m_vertexShaderId(0) 21 , m_vertexShaderId(0)
22 , m_fragmentShaderId(0) 22 , m_fragmentShaderId(0)
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 GLC(context, context->deleteShader(m_vertexShaderId)); 134 GLC(context, context->deleteShader(m_vertexShaderId));
135 m_vertexShaderId = 0; 135 m_vertexShaderId = 0;
136 } 136 }
137 if (m_fragmentShaderId) { 137 if (m_fragmentShaderId) {
138 GLC(context, context->deleteShader(m_fragmentShaderId)); 138 GLC(context, context->deleteShader(m_fragmentShaderId));
139 m_fragmentShaderId = 0; 139 m_fragmentShaderId = 0;
140 } 140 }
141 } 141 }
142 142
143 } // namespace cc 143 } // namespace cc
OLDNEW
« no previous file with comments | « cc/occlusion_tracker_unittest.cc ('k') | cc/rate_limiter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698