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

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

Issue 2852923004: Remove NameMap from shader translator and shader/program managers (Closed)
Patch Set: fix 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
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..ba50680d4a6884544aa1e65337c83d70d05ec82f 100644
--- a/gpu/command_buffer/service/program_manager.h
+++ b/gpu/command_buffer/service/program_manager.h
@@ -239,6 +239,10 @@ class GPU_EXPORT Program : public base::RefCounted<Program> {
const std::string* GetOriginalNameFromHashedName(
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 | « no previous file | gpu/command_buffer/service/program_manager.cc » ('j') | gpu/command_buffer/service/program_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698