OLD | NEW |
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 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
7 | 7 |
8 #include <GLES2/gl2.h> | 8 #include <GLES2/gl2.h> |
9 | 9 |
10 #include <list> | 10 #include <list> |
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 | 689 |
690 GLStaticState static_state_; | 690 GLStaticState static_state_; |
691 ClientContextState state_; | 691 ClientContextState state_; |
692 | 692 |
693 // pack alignment as last set by glPixelStorei | 693 // pack alignment as last set by glPixelStorei |
694 GLint pack_alignment_; | 694 GLint pack_alignment_; |
695 | 695 |
696 // unpack alignment as last set by glPixelStorei | 696 // unpack alignment as last set by glPixelStorei |
697 GLint unpack_alignment_; | 697 GLint unpack_alignment_; |
698 | 698 |
699 // unpack yflip as last set by glPixelstorei | |
700 bool unpack_flip_y_; | |
701 | |
702 // unpack row length as last set by glPixelStorei | 699 // unpack row length as last set by glPixelStorei |
703 GLint unpack_row_length_; | 700 GLint unpack_row_length_; |
704 | 701 |
705 // unpack image height as last set by glPixelStorei | 702 // unpack image height as last set by glPixelStorei |
706 GLint unpack_image_height_; | 703 GLint unpack_image_height_; |
707 | 704 |
708 // unpack skip rows as last set by glPixelStorei | 705 // unpack skip rows as last set by glPixelStorei |
709 GLint unpack_skip_rows_; | 706 GLint unpack_skip_rows_; |
710 | 707 |
711 // unpack skip pixels as last set by glPixelStorei | 708 // unpack skip pixels as last set by glPixelStorei |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 | 850 |
854 inline bool GLES2Implementation::GetTexParameterivHelper( | 851 inline bool GLES2Implementation::GetTexParameterivHelper( |
855 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 852 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
856 return false; | 853 return false; |
857 } | 854 } |
858 | 855 |
859 } // namespace gles2 | 856 } // namespace gles2 |
860 } // namespace gpu | 857 } // namespace gpu |
861 | 858 |
862 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 859 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |