| 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 TexCoordPrecision precision); | 391 TexCoordPrecision precision); |
| 392 const NonPremultipliedTextureProgram* GetNonPremultipliedTextureProgram( | 392 const NonPremultipliedTextureProgram* GetNonPremultipliedTextureProgram( |
| 393 TexCoordPrecision precision); | 393 TexCoordPrecision precision); |
| 394 const TextureBackgroundProgram* GetTextureBackgroundProgram( | 394 const TextureBackgroundProgram* GetTextureBackgroundProgram( |
| 395 TexCoordPrecision precision); | 395 TexCoordPrecision precision); |
| 396 const NonPremultipliedTextureBackgroundProgram* | 396 const NonPremultipliedTextureBackgroundProgram* |
| 397 GetNonPremultipliedTextureBackgroundProgram(TexCoordPrecision precision); | 397 GetNonPremultipliedTextureBackgroundProgram(TexCoordPrecision precision); |
| 398 const TextureProgram* GetTextureIOSurfaceProgram( | 398 const TextureProgram* GetTextureIOSurfaceProgram( |
| 399 TexCoordPrecision precision); | 399 TexCoordPrecision precision); |
| 400 | 400 |
| 401 const VideoYUVProgram* GetVideoYUVProgram( | 401 const VideoYUVProgram* GetVideoYUVProgram(TexCoordPrecision precision, |
| 402 TexCoordPrecision precision); | 402 SamplerType sampler); |
| 403 const VideoYUVAProgram* GetVideoYUVAProgram( | 403 const VideoYUVAProgram* GetVideoYUVAProgram(TexCoordPrecision precision, |
| 404 TexCoordPrecision precision); | 404 SamplerType sampler); |
| 405 const VideoStreamTextureProgram* GetVideoStreamTextureProgram( | 405 const VideoStreamTextureProgram* GetVideoStreamTextureProgram( |
| 406 TexCoordPrecision precision); | 406 TexCoordPrecision precision); |
| 407 | 407 |
| 408 const DebugBorderProgram* GetDebugBorderProgram(); | 408 const DebugBorderProgram* GetDebugBorderProgram(); |
| 409 const SolidColorProgram* GetSolidColorProgram(); | 409 const SolidColorProgram* GetSolidColorProgram(); |
| 410 const SolidColorProgramAA* GetSolidColorProgramAA(); | 410 const SolidColorProgramAA* GetSolidColorProgramAA(); |
| 411 | 411 |
| 412 TileProgram | 412 TileProgram |
| 413 tile_program_[LAST_TEX_COORD_PRECISION + 1][LAST_SAMPLER_TYPE + 1]; | 413 tile_program_[LAST_TEX_COORD_PRECISION + 1][LAST_SAMPLER_TYPE + 1]; |
| 414 TileProgramOpaque | 414 TileProgramOpaque |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 render_pass_mask_color_matrix_program_[LAST_TEX_COORD_PRECISION + 1] | 459 render_pass_mask_color_matrix_program_[LAST_TEX_COORD_PRECISION + 1] |
| 460 [LAST_SAMPLER_TYPE + 1] | 460 [LAST_SAMPLER_TYPE + 1] |
| 461 [LAST_BLEND_MODE + 1] | 461 [LAST_BLEND_MODE + 1] |
| 462 [LAST_MASK_VALUE + 1]; | 462 [LAST_MASK_VALUE + 1]; |
| 463 RenderPassMaskColorMatrixProgramAA | 463 RenderPassMaskColorMatrixProgramAA |
| 464 render_pass_mask_color_matrix_program_aa_[LAST_TEX_COORD_PRECISION + 1] | 464 render_pass_mask_color_matrix_program_aa_[LAST_TEX_COORD_PRECISION + 1] |
| 465 [LAST_SAMPLER_TYPE + 1] | 465 [LAST_SAMPLER_TYPE + 1] |
| 466 [LAST_BLEND_MODE + 1] | 466 [LAST_BLEND_MODE + 1] |
| 467 [LAST_MASK_VALUE + 1]; | 467 [LAST_MASK_VALUE + 1]; |
| 468 | 468 |
| 469 VideoYUVProgram video_yuv_program_[LAST_TEX_COORD_PRECISION + 1]; | 469 VideoYUVProgram |
| 470 VideoYUVAProgram video_yuva_program_[LAST_TEX_COORD_PRECISION + 1]; | 470 video_yuv_program_[LAST_TEX_COORD_PRECISION + 1][LAST_SAMPLER_TYPE + 1]; |
| 471 VideoYUVAProgram |
| 472 video_yuva_program_[LAST_TEX_COORD_PRECISION + 1][LAST_SAMPLER_TYPE + 1]; |
| 471 VideoStreamTextureProgram | 473 VideoStreamTextureProgram |
| 472 video_stream_texture_program_[LAST_TEX_COORD_PRECISION + 1]; | 474 video_stream_texture_program_[LAST_TEX_COORD_PRECISION + 1]; |
| 473 | 475 |
| 474 DebugBorderProgram debug_border_program_; | 476 DebugBorderProgram debug_border_program_; |
| 475 SolidColorProgram solid_color_program_; | 477 SolidColorProgram solid_color_program_; |
| 476 SolidColorProgramAA solid_color_program_aa_; | 478 SolidColorProgramAA solid_color_program_aa_; |
| 477 | 479 |
| 478 gpu::gles2::GLES2Interface* gl_; | 480 gpu::gles2::GLES2Interface* gl_; |
| 479 gpu::ContextSupport* context_support_; | 481 gpu::ContextSupport* context_support_; |
| 480 | 482 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 508 | 510 |
| 509 SkBitmap on_demand_tile_raster_bitmap_; | 511 SkBitmap on_demand_tile_raster_bitmap_; |
| 510 ResourceProvider::ResourceId on_demand_tile_raster_resource_id_; | 512 ResourceProvider::ResourceId on_demand_tile_raster_resource_id_; |
| 511 BoundGeometry bound_geometry_; | 513 BoundGeometry bound_geometry_; |
| 512 DISALLOW_COPY_AND_ASSIGN(GLRenderer); | 514 DISALLOW_COPY_AND_ASSIGN(GLRenderer); |
| 513 }; | 515 }; |
| 514 | 516 |
| 515 } // namespace cc | 517 } // namespace cc |
| 516 | 518 |
| 517 #endif // CC_OUTPUT_GL_RENDERER_H_ | 519 #endif // CC_OUTPUT_GL_RENDERER_H_ |
| OLD | NEW |