| OLD | NEW |
| 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 "base/cancelable_callback.h" | 8 #include "base/cancelable_callback.h" |
| 9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
| 10 #include "cc/base/scoped_ptr_vector.h" | 10 #include "cc/base/scoped_ptr_vector.h" |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 | 425 |
| 426 TextureMailboxDeleter* texture_mailbox_deleter_; | 426 TextureMailboxDeleter* texture_mailbox_deleter_; |
| 427 | 427 |
| 428 gfx::Rect swap_buffer_rect_; | 428 gfx::Rect swap_buffer_rect_; |
| 429 gfx::Rect scissor_rect_; | 429 gfx::Rect scissor_rect_; |
| 430 gfx::Rect viewport_; | 430 gfx::Rect viewport_; |
| 431 bool is_backbuffer_discarded_; | 431 bool is_backbuffer_discarded_; |
| 432 bool is_using_bind_uniform_; | 432 bool is_using_bind_uniform_; |
| 433 bool visible_; | 433 bool visible_; |
| 434 bool is_scissor_enabled_; | 434 bool is_scissor_enabled_; |
| 435 bool scissor_rect_needs_reset_; |
| 435 bool stencil_shadow_; | 436 bool stencil_shadow_; |
| 436 bool blend_shadow_; | 437 bool blend_shadow_; |
| 437 unsigned program_shadow_; | 438 unsigned program_shadow_; |
| 438 TexturedQuadDrawCache draw_cache_; | 439 TexturedQuadDrawCache draw_cache_; |
| 439 int highp_threshold_min_; | 440 int highp_threshold_min_; |
| 440 int highp_threshold_cache_; | 441 int highp_threshold_cache_; |
| 441 | 442 |
| 442 struct PendingAsyncReadPixels; | 443 struct PendingAsyncReadPixels; |
| 443 ScopedPtrVector<PendingAsyncReadPixels> pending_async_read_pixels_; | 444 ScopedPtrVector<PendingAsyncReadPixels> pending_async_read_pixels_; |
| 444 | 445 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 460 #if DEBUG_GL_CALLS && !defined(NDEBUG) | 461 #if DEBUG_GL_CALLS && !defined(NDEBUG) |
| 461 #define GLC(context, x) \ | 462 #define GLC(context, x) \ |
| 462 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__)) | 463 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__)) |
| 463 #else | 464 #else |
| 464 #define GLC(context, x) (x) | 465 #define GLC(context, x) (x) |
| 465 #endif | 466 #endif |
| 466 | 467 |
| 467 } // namespace cc | 468 } // namespace cc |
| 468 | 469 |
| 469 #endif // CC_OUTPUT_GL_RENDERER_H_ | 470 #endif // CC_OUTPUT_GL_RENDERER_H_ |
| OLD | NEW |