| 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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 TexCoordPrecision precision, | 380 TexCoordPrecision precision, |
| 381 SamplerType sampler, | 381 SamplerType sampler, |
| 382 BlendMode blend_mode, | 382 BlendMode blend_mode, |
| 383 bool mask_for_background); | 383 bool mask_for_background); |
| 384 const RenderPassMaskColorMatrixProgramAA* | 384 const RenderPassMaskColorMatrixProgramAA* |
| 385 GetRenderPassMaskColorMatrixProgramAA(TexCoordPrecision precision, | 385 GetRenderPassMaskColorMatrixProgramAA(TexCoordPrecision precision, |
| 386 SamplerType sampler, | 386 SamplerType sampler, |
| 387 BlendMode blend_mode, | 387 BlendMode blend_mode, |
| 388 bool mask_for_background); | 388 bool mask_for_background); |
| 389 | 389 |
| 390 const TextureProgram* GetTextureProgram( | 390 const TextureProgram* GetTextureProgram(TexCoordPrecision precision, |
| 391 TexCoordPrecision precision); | 391 SamplerType sampler); |
| 392 const NonPremultipliedTextureProgram* GetNonPremultipliedTextureProgram( | 392 const NonPremultipliedTextureProgram* GetNonPremultipliedTextureProgram( |
| 393 TexCoordPrecision precision); | 393 TexCoordPrecision precision, |
| 394 SamplerType sampler); |
| 394 const TextureBackgroundProgram* GetTextureBackgroundProgram( | 395 const TextureBackgroundProgram* GetTextureBackgroundProgram( |
| 395 TexCoordPrecision precision); | 396 TexCoordPrecision precision, |
| 397 SamplerType sampler); |
| 396 const NonPremultipliedTextureBackgroundProgram* | 398 const NonPremultipliedTextureBackgroundProgram* |
| 397 GetNonPremultipliedTextureBackgroundProgram(TexCoordPrecision precision); | 399 GetNonPremultipliedTextureBackgroundProgram(TexCoordPrecision precision, |
| 400 SamplerType sampler); |
| 398 const TextureProgram* GetTextureIOSurfaceProgram( | 401 const TextureProgram* GetTextureIOSurfaceProgram( |
| 399 TexCoordPrecision precision); | 402 TexCoordPrecision precision); |
| 400 | 403 |
| 401 const VideoYUVProgram* GetVideoYUVProgram( | 404 const VideoYUVProgram* GetVideoYUVProgram( |
| 402 TexCoordPrecision precision); | 405 TexCoordPrecision precision); |
| 403 const VideoYUVAProgram* GetVideoYUVAProgram( | 406 const VideoYUVAProgram* GetVideoYUVAProgram( |
| 404 TexCoordPrecision precision); | 407 TexCoordPrecision precision); |
| 405 const VideoStreamTextureProgram* GetVideoStreamTextureProgram( | 408 const VideoStreamTextureProgram* GetVideoStreamTextureProgram( |
| 406 TexCoordPrecision precision); | 409 TexCoordPrecision precision); |
| 407 | 410 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 418 TileProgramSwizzle tile_program_swizzle_[LAST_TEX_COORD_PRECISION + | 421 TileProgramSwizzle tile_program_swizzle_[LAST_TEX_COORD_PRECISION + |
| 419 1][LAST_SAMPLER_TYPE + 1]; | 422 1][LAST_SAMPLER_TYPE + 1]; |
| 420 TileProgramSwizzleOpaque | 423 TileProgramSwizzleOpaque |
| 421 tile_program_swizzle_opaque_[LAST_TEX_COORD_PRECISION + | 424 tile_program_swizzle_opaque_[LAST_TEX_COORD_PRECISION + |
| 422 1][LAST_SAMPLER_TYPE + 1]; | 425 1][LAST_SAMPLER_TYPE + 1]; |
| 423 TileProgramSwizzleAA tile_program_swizzle_aa_[LAST_TEX_COORD_PRECISION + | 426 TileProgramSwizzleAA tile_program_swizzle_aa_[LAST_TEX_COORD_PRECISION + |
| 424 1][LAST_SAMPLER_TYPE + 1]; | 427 1][LAST_SAMPLER_TYPE + 1]; |
| 425 | 428 |
| 426 TileCheckerboardProgram tile_checkerboard_program_; | 429 TileCheckerboardProgram tile_checkerboard_program_; |
| 427 | 430 |
| 428 TextureProgram texture_program_[LAST_TEX_COORD_PRECISION + 1]; | 431 TextureProgram |
| 432 texture_program_[LAST_TEX_COORD_PRECISION + 1][LAST_SAMPLER_TYPE + 1]; |
| 429 NonPremultipliedTextureProgram | 433 NonPremultipliedTextureProgram |
| 430 nonpremultiplied_texture_program_[LAST_TEX_COORD_PRECISION + 1]; | 434 nonpremultiplied_texture_program_[LAST_TEX_COORD_PRECISION + |
| 435 1][LAST_SAMPLER_TYPE + 1]; |
| 431 TextureBackgroundProgram | 436 TextureBackgroundProgram |
| 432 texture_background_program_[LAST_TEX_COORD_PRECISION + 1]; | 437 texture_background_program_[LAST_TEX_COORD_PRECISION + |
| 438 1][LAST_SAMPLER_TYPE + 1]; |
| 433 NonPremultipliedTextureBackgroundProgram | 439 NonPremultipliedTextureBackgroundProgram |
| 434 nonpremultiplied_texture_background_program_[LAST_TEX_COORD_PRECISION + | 440 nonpremultiplied_texture_background_program_[LAST_TEX_COORD_PRECISION + |
| 435 1]; | 441 1][LAST_SAMPLER_TYPE + 1]; |
| 436 TextureProgram texture_io_surface_program_[LAST_TEX_COORD_PRECISION + 1]; | 442 TextureProgram texture_io_surface_program_[LAST_TEX_COORD_PRECISION + 1]; |
| 437 | 443 |
| 438 RenderPassProgram | 444 RenderPassProgram |
| 439 render_pass_program_[LAST_TEX_COORD_PRECISION + 1][LAST_BLEND_MODE + 1]; | 445 render_pass_program_[LAST_TEX_COORD_PRECISION + 1][LAST_BLEND_MODE + 1]; |
| 440 RenderPassProgramAA render_pass_program_aa_[LAST_TEX_COORD_PRECISION + | 446 RenderPassProgramAA render_pass_program_aa_[LAST_TEX_COORD_PRECISION + |
| 441 1][LAST_BLEND_MODE + 1]; | 447 1][LAST_BLEND_MODE + 1]; |
| 442 RenderPassMaskProgram | 448 RenderPassMaskProgram |
| 443 render_pass_mask_program_[LAST_TEX_COORD_PRECISION + 1] | 449 render_pass_mask_program_[LAST_TEX_COORD_PRECISION + 1] |
| 444 [LAST_SAMPLER_TYPE + 1] | 450 [LAST_SAMPLER_TYPE + 1] |
| 445 [LAST_BLEND_MODE + 1] | 451 [LAST_BLEND_MODE + 1] |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 | 514 |
| 509 SkBitmap on_demand_tile_raster_bitmap_; | 515 SkBitmap on_demand_tile_raster_bitmap_; |
| 510 ResourceProvider::ResourceId on_demand_tile_raster_resource_id_; | 516 ResourceProvider::ResourceId on_demand_tile_raster_resource_id_; |
| 511 BoundGeometry bound_geometry_; | 517 BoundGeometry bound_geometry_; |
| 512 DISALLOW_COPY_AND_ASSIGN(GLRenderer); | 518 DISALLOW_COPY_AND_ASSIGN(GLRenderer); |
| 513 }; | 519 }; |
| 514 | 520 |
| 515 } // namespace cc | 521 } // namespace cc |
| 516 | 522 |
| 517 #endif // CC_OUTPUT_GL_RENDERER_H_ | 523 #endif // CC_OUTPUT_GL_RENDERER_H_ |
| OLD | NEW |