| 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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 | 409 |
| 410 TextureMailboxDeleter* texture_mailbox_deleter_; | 410 TextureMailboxDeleter* texture_mailbox_deleter_; |
| 411 | 411 |
| 412 gfx::Rect swap_buffer_rect_; | 412 gfx::Rect swap_buffer_rect_; |
| 413 gfx::Rect scissor_rect_; | 413 gfx::Rect scissor_rect_; |
| 414 gfx::Rect viewport_; | 414 gfx::Rect viewport_; |
| 415 bool is_backbuffer_discarded_; | 415 bool is_backbuffer_discarded_; |
| 416 bool is_using_bind_uniform_; | 416 bool is_using_bind_uniform_; |
| 417 bool visible_; | 417 bool visible_; |
| 418 bool is_scissor_enabled_; | 418 bool is_scissor_enabled_; |
| 419 bool scissor_rect_needs_reset_; |
| 419 bool stencil_shadow_; | 420 bool stencil_shadow_; |
| 420 bool blend_shadow_; | 421 bool blend_shadow_; |
| 421 unsigned program_shadow_; | 422 unsigned program_shadow_; |
| 422 TexturedQuadDrawCache draw_cache_; | 423 TexturedQuadDrawCache draw_cache_; |
| 423 int highp_threshold_min_; | 424 int highp_threshold_min_; |
| 424 int highp_threshold_cache_; | 425 int highp_threshold_cache_; |
| 425 | 426 |
| 426 struct PendingAsyncReadPixels; | 427 struct PendingAsyncReadPixels; |
| 427 ScopedPtrVector<PendingAsyncReadPixels> pending_async_read_pixels_; | 428 ScopedPtrVector<PendingAsyncReadPixels> pending_async_read_pixels_; |
| 428 | 429 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 444 #if DEBUG_GL_CALLS && !defined(NDEBUG) | 445 #if DEBUG_GL_CALLS && !defined(NDEBUG) |
| 445 #define GLC(context, x) \ | 446 #define GLC(context, x) \ |
| 446 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__)) | 447 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__)) |
| 447 #else | 448 #else |
| 448 #define GLC(context, x) (x) | 449 #define GLC(context, x) (x) |
| 449 #endif | 450 #endif |
| 450 | 451 |
| 451 } // namespace cc | 452 } // namespace cc |
| 452 | 453 |
| 453 #endif // CC_OUTPUT_GL_RENDERER_H_ | 454 #endif // CC_OUTPUT_GL_RENDERER_H_ |
| OLD | NEW |