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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 8513017: Add GL_ANGLE_pack_reverse_row_order to command buffer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <map> 10 #include <map>
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 436
437 // pack alignment as last set by glPixelStorei 437 // pack alignment as last set by glPixelStorei
438 GLint pack_alignment_; 438 GLint pack_alignment_;
439 439
440 // unpack alignment as last set by glPixelStorei 440 // unpack alignment as last set by glPixelStorei
441 GLint unpack_alignment_; 441 GLint unpack_alignment_;
442 442
443 // unpack yflip as last set by glPixelstorei 443 // unpack yflip as last set by glPixelstorei
444 bool unpack_flip_y_; 444 bool unpack_flip_y_;
445 445
446 // pack yflip as last set by glPixelstorei
447 bool pack_flip_y_;
448
446 scoped_array<TextureUnit> texture_units_; 449 scoped_array<TextureUnit> texture_units_;
447 450
448 // 0 to gl_state_.max_combined_texture_image_units. 451 // 0 to gl_state_.max_combined_texture_image_units.
449 GLuint active_texture_unit_; 452 GLuint active_texture_unit_;
450 453
451 GLuint bound_framebuffer_; 454 GLuint bound_framebuffer_;
452 GLuint bound_renderbuffer_; 455 GLuint bound_renderbuffer_;
453 456
454 // The currently bound array buffer. 457 // The currently bound array buffer.
455 GLuint bound_array_buffer_id_; 458 GLuint bound_array_buffer_id_;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 533
531 inline bool GLES2Implementation::GetTexParameterivHelper( 534 inline bool GLES2Implementation::GetTexParameterivHelper(
532 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 535 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
533 return false; 536 return false;
534 } 537 }
535 538
536 } // namespace gles2 539 } // namespace gles2
537 } // namespace gpu 540 } // namespace gpu
538 541
539 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 542 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698