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

Side by Side Diff: cc/output/gl_renderer_draw_cache.h

Issue 12912006: Part 4 of cc/ directory shuffles: output (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #ifndef CC_GL_RENDERER_DRAW_CACHE_H_ 5 #ifndef CC_OUTPUT_GL_RENDERER_DRAW_CACHE_H_
6 #define CC_GL_RENDERER_DRAW_CACHE_H_ 6 #define CC_OUTPUT_GL_RENDERER_DRAW_CACHE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 // Collects 4 floats at a time for easy upload to GL. 14 // Collects 4 floats at a time for easy upload to GL.
15 struct Float4 { float data[4]; }; 15 struct Float4 { float data[4]; };
16 16
(...skipping 22 matching lines...) Expand all
39 // A cache for the coalesced quad data. 39 // A cache for the coalesced quad data.
40 std::vector<Float4> uv_xform_data; 40 std::vector<Float4> uv_xform_data;
41 std::vector<float> vertex_opacity_data; 41 std::vector<float> vertex_opacity_data;
42 std::vector<Float16> matrix_data; 42 std::vector<Float16> matrix_data;
43 43
44 DISALLOW_COPY_AND_ASSIGN(TexturedQuadDrawCache); 44 DISALLOW_COPY_AND_ASSIGN(TexturedQuadDrawCache);
45 }; 45 };
46 46
47 } // namespace cc 47 } // namespace cc
48 48
49 #endif // CC_GL_RENDERER_DRAW_CACHE_H_ 49 #endif // CC_OUTPUT_GL_RENDERER_DRAW_CACHE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698