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

Unified Diff: gpu/command_buffer/common/gles2_cmd_format_autogen.h

Issue 2461003003: Reduce GPU mailbox size to 16 bytes (Closed)
Patch Set: fix tests Created 4 years, 2 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/common/gles2_cmd_format_autogen.h
diff --git a/gpu/command_buffer/common/gles2_cmd_format_autogen.h b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
index d36c079d0d3bdf30e40f881718bf3e3cf0b6ad7c..ff02094ec043ee9f7143479193f07fa12aab3286 100644
--- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
@@ -12793,7 +12793,7 @@ struct ProduceTextureCHROMIUMImmediate {
static const uint8_t cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(1);
static uint32_t ComputeDataSize() {
- return static_cast<uint32_t>(sizeof(GLbyte) * 64);
+ return static_cast<uint32_t>(sizeof(GLbyte) * 16);
}
static uint32_t ComputeSize() {
@@ -12832,7 +12832,7 @@ struct ProduceTextureDirectCHROMIUMImmediate {
static const uint8_t cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(1);
static uint32_t ComputeDataSize() {
- return static_cast<uint32_t>(sizeof(GLbyte) * 64);
+ return static_cast<uint32_t>(sizeof(GLbyte) * 16);
}
static uint32_t ComputeSize() {
@@ -12881,7 +12881,7 @@ struct ConsumeTextureCHROMIUMImmediate {
static const uint8_t cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(2);
static uint32_t ComputeDataSize() {
- return static_cast<uint32_t>(sizeof(GLbyte) * 64);
+ return static_cast<uint32_t>(sizeof(GLbyte) * 16);
}
static uint32_t ComputeSize() {
@@ -12920,7 +12920,7 @@ struct CreateAndConsumeTextureINTERNALImmediate {
static const uint8_t cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(2);
static uint32_t ComputeDataSize() {
- return static_cast<uint32_t>(sizeof(GLbyte) * 64);
+ return static_cast<uint32_t>(sizeof(GLbyte) * 16);
}
static uint32_t ComputeSize() {
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation_unittest.cc ('k') | gpu/command_buffer/common/gles2_cmd_format_test_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698