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

Side by Side Diff: gpu/command_buffer/service/program_manager.h

Issue 706903004: Revert of Add subscribeUniform extension pipeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 21 matching lines...) Expand all
32 class GPU_EXPORT Program : public base::RefCounted<Program> { 32 class GPU_EXPORT Program : public base::RefCounted<Program> {
33 public: 33 public:
34 static const int kMaxAttachedShaders = 2; 34 static const int kMaxAttachedShaders = 2;
35 35
36 enum VaryingsPackingOption { 36 enum VaryingsPackingOption {
37 kCountOnlyStaticallyUsed, 37 kCountOnlyStaticallyUsed,
38 kCountAll 38 kCountAll
39 }; 39 };
40 40
41 enum UniformApiType { 41 enum UniformApiType {
42 kUniformNone = 0,
43 kUniform1i = 1 << 0, 42 kUniform1i = 1 << 0,
44 kUniform2i = 1 << 1, 43 kUniform2i = 1 << 1,
45 kUniform3i = 1 << 2, 44 kUniform3i = 1 << 2,
46 kUniform4i = 1 << 3, 45 kUniform4i = 1 << 3,
47 kUniform1f = 1 << 4, 46 kUniform1f = 1 << 4,
48 kUniform2f = 1 << 5, 47 kUniform2f = 1 << 5,
49 kUniform3f = 1 << 6, 48 kUniform3f = 1 << 6,
50 kUniform4f = 1 << 7, 49 kUniform4f = 1 << 7,
51 kUniformMatrix2f = 1 << 8, 50 kUniformMatrix2f = 1 << 8,
52 kUniformMatrix3f = 1 << 9, 51 kUniformMatrix3f = 1 << 9,
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 438
440 uint32 max_varying_vectors_; 439 uint32 max_varying_vectors_;
441 440
442 DISALLOW_COPY_AND_ASSIGN(ProgramManager); 441 DISALLOW_COPY_AND_ASSIGN(ProgramManager);
443 }; 442 };
444 443
445 } // namespace gles2 444 } // namespace gles2
446 } // namespace gpu 445 } // namespace gpu
447 446
448 #endif // GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_ 447 #endif // GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698