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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 1541283002: Remove ANGLE_pack_reverse_row_order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <stdio.h> 9 #include <stdio.h>
10 10
(...skipping 9446 matching lines...) Expand 10 before | Expand all | Expand 10 after
9457 glPixelStorei(pname, param); 9457 glPixelStorei(pname, param);
9458 break; 9458 break;
9459 default: 9459 default:
9460 glPixelStorei(pname, param); 9460 glPixelStorei(pname, param);
9461 break; 9461 break;
9462 } 9462 }
9463 switch (pname) { 9463 switch (pname) {
9464 case GL_PACK_ALIGNMENT: 9464 case GL_PACK_ALIGNMENT:
9465 state_.pack_alignment = param; 9465 state_.pack_alignment = param;
9466 break; 9466 break;
9467 case GL_PACK_REVERSE_ROW_ORDER_ANGLE:
9468 state_.pack_reverse_row_order = (param != 0);
9469 break;
9470 case GL_PACK_ROW_LENGTH: 9467 case GL_PACK_ROW_LENGTH:
9471 state_.pack_row_length = param; 9468 state_.pack_row_length = param;
9472 break; 9469 break;
9473 case GL_PACK_SKIP_PIXELS: 9470 case GL_PACK_SKIP_PIXELS:
9474 state_.pack_skip_pixels = param; 9471 state_.pack_skip_pixels = param;
9475 break; 9472 break;
9476 case GL_PACK_SKIP_ROWS: 9473 case GL_PACK_SKIP_ROWS:
9477 state_.pack_skip_rows = param; 9474 state_.pack_skip_rows = param;
9478 break; 9475 break;
9479 case GL_UNPACK_ALIGNMENT: 9476 case GL_UNPACK_ALIGNMENT:
(...skipping 6307 matching lines...) Expand 10 before | Expand all | Expand 10 after
15787 } 15784 }
15788 15785
15789 // Include the auto-generated part of this file. We split this because it means 15786 // Include the auto-generated part of this file. We split this because it means
15790 // we can easily edit the non-auto generated parts right here in this file 15787 // we can easily edit the non-auto generated parts right here in this file
15791 // instead of having to edit some template or the code generator. 15788 // instead of having to edit some template or the code generator.
15792 #include "base/macros.h" 15789 #include "base/macros.h"
15793 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" 15790 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h"
15794 15791
15795 } // namespace gles2 15792 } // namespace gles2
15796 } // namespace gpu 15793 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698