| 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_deque.h" | 10 #include "cc/base/scoped_ptr_deque.h" |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 SamplerType sampler); | 394 SamplerType sampler); |
| 395 const TextureBackgroundProgram* GetTextureBackgroundProgram( | 395 const TextureBackgroundProgram* GetTextureBackgroundProgram( |
| 396 TexCoordPrecision precision, | 396 TexCoordPrecision precision, |
| 397 SamplerType sampler); | 397 SamplerType sampler); |
| 398 const NonPremultipliedTextureBackgroundProgram* | 398 const NonPremultipliedTextureBackgroundProgram* |
| 399 GetNonPremultipliedTextureBackgroundProgram(TexCoordPrecision precision, | 399 GetNonPremultipliedTextureBackgroundProgram(TexCoordPrecision precision, |
| 400 SamplerType sampler); | 400 SamplerType sampler); |
| 401 const TextureProgram* GetTextureIOSurfaceProgram( | 401 const TextureProgram* GetTextureIOSurfaceProgram( |
| 402 TexCoordPrecision precision); | 402 TexCoordPrecision precision); |
| 403 | 403 |
| 404 const VideoYUVProgram* GetVideoYUVProgram( | 404 const VideoYUVProgram* GetVideoYUVProgram(TexCoordPrecision precision, |
| 405 TexCoordPrecision precision); | 405 SamplerType sampler); |
| 406 const VideoYUVAProgram* GetVideoYUVAProgram( | 406 const VideoYUVAProgram* GetVideoYUVAProgram(TexCoordPrecision precision, |
| 407 TexCoordPrecision precision); | 407 SamplerType sampler); |
| 408 const VideoStreamTextureProgram* GetVideoStreamTextureProgram( | 408 const VideoStreamTextureProgram* GetVideoStreamTextureProgram( |
| 409 TexCoordPrecision precision); | 409 TexCoordPrecision precision); |
| 410 | 410 |
| 411 const DebugBorderProgram* GetDebugBorderProgram(); | 411 const DebugBorderProgram* GetDebugBorderProgram(); |
| 412 const SolidColorProgram* GetSolidColorProgram(); | 412 const SolidColorProgram* GetSolidColorProgram(); |
| 413 const SolidColorProgramAA* GetSolidColorProgramAA(); | 413 const SolidColorProgramAA* GetSolidColorProgramAA(); |
| 414 | 414 |
| 415 TileProgram | 415 TileProgram |
| 416 tile_program_[LAST_TEX_COORD_PRECISION + 1][LAST_SAMPLER_TYPE + 1]; | 416 tile_program_[LAST_TEX_COORD_PRECISION + 1][LAST_SAMPLER_TYPE + 1]; |
| 417 TileProgramOpaque | 417 TileProgramOpaque |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 render_pass_mask_color_matrix_program_[LAST_TEX_COORD_PRECISION + 1] | 465 render_pass_mask_color_matrix_program_[LAST_TEX_COORD_PRECISION + 1] |
| 466 [LAST_SAMPLER_TYPE + 1] | 466 [LAST_SAMPLER_TYPE + 1] |
| 467 [LAST_BLEND_MODE + 1] | 467 [LAST_BLEND_MODE + 1] |
| 468 [LAST_MASK_VALUE + 1]; | 468 [LAST_MASK_VALUE + 1]; |
| 469 RenderPassMaskColorMatrixProgramAA | 469 RenderPassMaskColorMatrixProgramAA |
| 470 render_pass_mask_color_matrix_program_aa_[LAST_TEX_COORD_PRECISION + 1] | 470 render_pass_mask_color_matrix_program_aa_[LAST_TEX_COORD_PRECISION + 1] |
| 471 [LAST_SAMPLER_TYPE + 1] | 471 [LAST_SAMPLER_TYPE + 1] |
| 472 [LAST_BLEND_MODE + 1] | 472 [LAST_BLEND_MODE + 1] |
| 473 [LAST_MASK_VALUE + 1]; | 473 [LAST_MASK_VALUE + 1]; |
| 474 | 474 |
| 475 VideoYUVProgram video_yuv_program_[LAST_TEX_COORD_PRECISION + 1]; | 475 VideoYUVProgram |
| 476 VideoYUVAProgram video_yuva_program_[LAST_TEX_COORD_PRECISION + 1]; | 476 video_yuv_program_[LAST_TEX_COORD_PRECISION + 1][LAST_SAMPLER_TYPE + 1]; |
| 477 VideoYUVAProgram |
| 478 video_yuva_program_[LAST_TEX_COORD_PRECISION + 1][LAST_SAMPLER_TYPE + 1]; |
| 477 VideoStreamTextureProgram | 479 VideoStreamTextureProgram |
| 478 video_stream_texture_program_[LAST_TEX_COORD_PRECISION + 1]; | 480 video_stream_texture_program_[LAST_TEX_COORD_PRECISION + 1]; |
| 479 | 481 |
| 480 DebugBorderProgram debug_border_program_; | 482 DebugBorderProgram debug_border_program_; |
| 481 SolidColorProgram solid_color_program_; | 483 SolidColorProgram solid_color_program_; |
| 482 SolidColorProgramAA solid_color_program_aa_; | 484 SolidColorProgramAA solid_color_program_aa_; |
| 483 | 485 |
| 484 gpu::gles2::GLES2Interface* gl_; | 486 gpu::gles2::GLES2Interface* gl_; |
| 485 gpu::ContextSupport* context_support_; | 487 gpu::ContextSupport* context_support_; |
| 486 | 488 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 514 | 516 |
| 515 SkBitmap on_demand_tile_raster_bitmap_; | 517 SkBitmap on_demand_tile_raster_bitmap_; |
| 516 ResourceProvider::ResourceId on_demand_tile_raster_resource_id_; | 518 ResourceProvider::ResourceId on_demand_tile_raster_resource_id_; |
| 517 BoundGeometry bound_geometry_; | 519 BoundGeometry bound_geometry_; |
| 518 DISALLOW_COPY_AND_ASSIGN(GLRenderer); | 520 DISALLOW_COPY_AND_ASSIGN(GLRenderer); |
| 519 }; | 521 }; |
| 520 | 522 |
| 521 } // namespace cc | 523 } // namespace cc |
| 522 | 524 |
| 523 #endif // CC_OUTPUT_GL_RENDERER_H_ | 525 #endif // CC_OUTPUT_GL_RENDERER_H_ |
| OLD | NEW |