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

Side by Side Diff: gpu/tools/compositor_model_bench/forward_render_model.cc

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "gpu/tools/compositor_model_bench/forward_render_model.h" 5 #include "gpu/tools/compositor_model_bench/forward_render_model.h"
6 6
7 #include <stddef.h>
8
7 #include <cstdlib> 9 #include <cstdlib>
8 #include <vector> 10 #include <vector>
9 11
10 #include "gpu/tools/compositor_model_bench/render_model_utils.h" 12 #include "gpu/tools/compositor_model_bench/render_model_utils.h"
11 13
12 using std::vector; 14 using std::vector;
13 15
14 class ForwardRenderNodeVisitor : public RenderNodeVisitor { 16 class ForwardRenderNodeVisitor : public RenderNodeVisitor {
15 public: 17 public:
16 ForwardRenderNodeVisitor() {} 18 ForwardRenderNodeVisitor() {}
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 glClear(GL_COLOR_BUFFER_BIT); 61 glClear(GL_COLOR_BUFFER_BIT);
60 glColorMask(true, true, true, false); 62 glColorMask(true, true, true, false);
61 BeginFrame(); 63 BeginFrame();
62 root_->Accept(visitor_.get()); 64 root_->Accept(visitor_.get());
63 } 65 }
64 66
65 void ForwardRenderSimulator::Resize(int width, int height) { 67 void ForwardRenderSimulator::Resize(int width, int height) {
66 glViewport(0, 0, width, height); 68 glViewport(0, 0, width, height);
67 } 69 }
68 70
OLDNEW
« no previous file with comments | « gpu/tools/compositor_model_bench/forward_render_model.h ('k') | gpu/tools/compositor_model_bench/render_model_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698