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

Side by Side Diff: cc/output/gl_renderer.h

Issue 2516063002: Always restore GL scissor box in GLRenderer::RestoreGLState() (Closed)
Patch Set: fix tests for real (why do you want me to suffer, GetIntegerv?) Created 4 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
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 CC_OUTPUT_GL_RENDERER_H_ 5 #ifndef CC_OUTPUT_GL_RENDERER_H_
6 #define CC_OUTPUT_GL_RENDERER_H_ 6 #define CC_OUTPUT_GL_RENDERER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 gpu::gles2::GLES2Interface* gl_; 489 gpu::gles2::GLES2Interface* gl_;
490 gpu::ContextSupport* context_support_; 490 gpu::ContextSupport* context_support_;
491 std::unique_ptr<ContextCacheController::ScopedVisibility> context_visibility_; 491 std::unique_ptr<ContextCacheController::ScopedVisibility> context_visibility_;
492 492
493 TextureMailboxDeleter* texture_mailbox_deleter_; 493 TextureMailboxDeleter* texture_mailbox_deleter_;
494 494
495 gfx::Rect swap_buffer_rect_; 495 gfx::Rect swap_buffer_rect_;
496 gfx::Rect scissor_rect_; 496 gfx::Rect scissor_rect_;
497 bool is_using_bind_uniform_; 497 bool is_using_bind_uniform_;
498 bool is_scissor_enabled_; 498 bool is_scissor_enabled_;
499 bool scissor_rect_needs_reset_;
500 bool stencil_shadow_; 499 bool stencil_shadow_;
501 bool blend_shadow_; 500 bool blend_shadow_;
502 unsigned program_shadow_; 501 unsigned program_shadow_;
503 TexturedQuadDrawCache draw_cache_; 502 TexturedQuadDrawCache draw_cache_;
504 int highp_threshold_min_; 503 int highp_threshold_min_;
505 int highp_threshold_cache_; 504 int highp_threshold_cache_;
506 505
507 struct PendingAsyncReadPixels; 506 struct PendingAsyncReadPixels;
508 std::vector<std::unique_ptr<PendingAsyncReadPixels>> 507 std::vector<std::unique_ptr<PendingAsyncReadPixels>>
509 pending_async_read_pixels_; 508 pending_async_read_pixels_;
(...skipping 27 matching lines...) Expand all
537 bool force_drawing_frame_framebuffer_unflipped_ = false; 536 bool force_drawing_frame_framebuffer_unflipped_ = false;
538 537
539 BoundGeometry bound_geometry_; 538 BoundGeometry bound_geometry_;
540 ColorLUTCache color_lut_cache_; 539 ColorLUTCache color_lut_cache_;
541 DISALLOW_COPY_AND_ASSIGN(GLRenderer); 540 DISALLOW_COPY_AND_ASSIGN(GLRenderer);
542 }; 541 };
543 542
544 } // namespace cc 543 } // namespace cc
545 544
546 #endif // CC_OUTPUT_GL_RENDERER_H_ 545 #endif // CC_OUTPUT_GL_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698