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

Side by Side Diff: gpu/command_buffer/common/cmd_buffer_common.h

Issue 468001: Fixed typo. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 SetHeader(); 438 SetHeader();
439 bucket_id = _bucket_id; 439 bucket_id = _bucket_id;
440 size = _size; 440 size = _size;
441 } 441 }
442 static void* Set(void* cmd, uint32 _bucket_id, uint32 _size) { 442 static void* Set(void* cmd, uint32 _bucket_id, uint32 _size) {
443 static_cast<ValueType*>(cmd)->Init(_bucket_id, _size); 443 static_cast<ValueType*>(cmd)->Init(_bucket_id, _size);
444 return NextCmdAddress<ValueType>(cmd); 444 return NextCmdAddress<ValueType>(cmd);
445 } 445 }
446 446
447 CommandHeader header; 447 CommandHeader header;
448 utin32 bucket_id; 448 uint32 bucket_id;
449 uint32 size; 449 uint32 size;
450 }; 450 };
451 451
452 COMPILE_ASSERT(sizeof(SetBucketSize) == 12, Sizeof_SetBucketSize_is_not_8); 452 COMPILE_ASSERT(sizeof(SetBucketSize) == 12, Sizeof_SetBucketSize_is_not_8);
453 COMPILE_ASSERT(offsetof(SetBucketSize, header) == 0, 453 COMPILE_ASSERT(offsetof(SetBucketSize, header) == 0,
454 Offsetof_SetBucketSize_header_not_0); 454 Offsetof_SetBucketSize_header_not_0);
455 COMPILE_ASSERT(offsetof(SetBucketSize, bucket_id) == 4, 455 COMPILE_ASSERT(offsetof(SetBucketSize, bucket_id) == 4,
456 Offsetof_SetBucketSize_bucket_id_4); 456 Offsetof_SetBucketSize_bucket_id_4);
457 COMPILE_ASSERT(offsetof(SetBucketSize, size) == 8, 457 COMPILE_ASSERT(offsetof(SetBucketSize, size) == 8,
458 Offsetof_SetBucketSize_size_8); 458 Offsetof_SetBucketSize_size_8);
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 Offsetof_GetResultData_shared_memory_offset_not_16); 663 Offsetof_GetResultData_shared_memory_offset_not_16);
664 664
665 } // namespace cmd 665 } // namespace cmd
666 666
667 #pragma pack(pop) 667 #pragma pack(pop)
668 668
669 } // namespace command_buffer 669 } // namespace command_buffer
670 670
671 #endif // GPU_COMMAND_BUFFER_COMMON_CROSS_CMD_BUFFER_COMMON_H_ 671 #endif // GPU_COMMAND_BUFFER_COMMON_CROSS_CMD_BUFFER_COMMON_H_
672 672
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698