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

Unified Diff: gpu/command_buffer/client/gles2_cmd_helper.h

Issue 299043003: Adding bindless variants mailbox produce/consume (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/client/gles2_cmd_helper.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper.h b/gpu/command_buffer/client/gles2_cmd_helper.h
index 72fae315b34cea442b1b1e4e24e4f4872072bf05..79ff74c64e75d075b89315e997d9ce4acd5586c3 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper.h
@@ -70,6 +70,16 @@ class GPU_EXPORT GLES2CmdHelper : public CommandBufferHelper {
}
}
+ void GetCreateAndConsumeTextureCHROMIUMBucket(
+ GLuint program, uint32 name_bucket_id,
+ uint32 location_shm_id, uint32 location_shm_offset) {
+ gles2::cmds::GetUniformLocationBucket* c =
+ GetCmdSpace<gles2::cmds::GetUniformLocationBucket>();
+ if (c) {
+ c->Init(program, name_bucket_id, location_shm_id, location_shm_offset);
+ }
+ }
+
private:
DISALLOW_COPY_AND_ASSIGN(GLES2CmdHelper);
};

Powered by Google App Engine
This is Rietveld 408576698