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

Unified Diff: gpu/command_buffer/service/program_manager.h

Issue 2852923004: Remove NameMap from shader translator and shader/program managers (Closed)
Patch Set: remove some TODO(zmo)s Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/mocks.h ('k') | gpu/command_buffer/service/program_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/program_manager.h
diff --git a/gpu/command_buffer/service/program_manager.h b/gpu/command_buffer/service/program_manager.h
index c1cd9c6924c3271a1c9d7f52b13a0fc54871b119..3126c574d7fc1dbc20bff758665a1ad63df4e010 100644
--- a/gpu/command_buffer/service/program_manager.h
+++ b/gpu/command_buffer/service/program_manager.h
@@ -235,10 +235,18 @@ class GPU_EXPORT Program : public base::RefCounted<Program> {
const std::string* GetUniformMappedName(
const std::string& original_name) const;
- // If the hashed name is not found, return NULL.
+ // If the hashed name name is not found, return NULL.
+ // Use this only when one of the more specific Get*Info methods can't be used.
const std::string* GetOriginalNameFromHashedName(
const std::string& hashed_name) const;
+ // If the hashed name is not found, return NULL.
+ const sh::Varying* GetVaryingInfo(const std::string& hashed_name) const;
+
+ // If the hashed name is not found, return NULL.
+ const sh::InterfaceBlock* GetInterfaceBlockInfo(
+ const std::string& hashed_name) const;
+
const FragmentInputInfo* GetFragmentInputInfoByFakeLocation(
GLint fake_location) const;
« no previous file with comments | « gpu/command_buffer/service/mocks.h ('k') | gpu/command_buffer/service/program_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698