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

Side by Side Diff: webkit/gpu/webgraphicscontext3d_in_process_impl.h

Issue 6272025: Part 2 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright 2011 Created 9 years, 10 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 | « chrome/common/gpu_info.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_impl.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 (c) 2010 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 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 5 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 10
11 #include "base/hash_tables.h" 11 #include "base/hash_tables.h"
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 unsigned long indx; 839 unsigned long indx;
840 int size; 840 int size;
841 int type; 841 int type;
842 bool normalized; 842 bool normalized;
843 unsigned long stride; 843 unsigned long stride;
844 unsigned long offset; 844 unsigned long offset;
845 }; 845 };
846 846
847 // ANGLE related. 847 // ANGLE related.
848 struct ShaderSourceEntry { 848 struct ShaderSourceEntry {
849 explicit ShaderSourceEntry(unsigned long shader_type) 849 explicit ShaderSourceEntry(unsigned long shader_type);
850 : type(shader_type), 850 ~ShaderSourceEntry();
851 is_valid(false) {
852 }
853 851
854 unsigned long type; 852 unsigned long type;
855 scoped_array<char> source; 853 scoped_array<char> source;
856 scoped_array<char> log; 854 scoped_array<char> log;
857 scoped_array<char> translated_source; 855 scoped_array<char> translated_source;
858 bool is_valid; 856 bool is_valid;
859 }; 857 };
860 858
861 typedef base::hash_map<WebKit::WebGLId, ShaderSourceEntry*> ShaderSourceMap; 859 typedef base::hash_map<WebKit::WebGLId, ShaderSourceEntry*> ShaderSourceMap;
862 860
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 ShHandle vertex_compiler_; 925 ShHandle vertex_compiler_;
928 }; 926 };
929 927
930 #endif // USE_WGC3D_TYPES 928 #endif // USE_WGC3D_TYPES
931 929
932 } // namespace gpu 930 } // namespace gpu
933 } // namespace webkit 931 } // namespace webkit
934 932
935 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 933 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
936 934
OLDNEW
« no previous file with comments | « chrome/common/gpu_info.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698