 Chromium Code Reviews
 Chromium Code Reviews Issue 11477004:
  Don't force clearing of textures that the HW decoder will overwrite.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src/
    
  
    Issue 11477004:
  Don't force clearing of textures that the HW decoder will overwrite.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src/| Index: content/common/gpu/media/gpu_video_decode_accelerator.cc | 
| =================================================================== | 
| --- content/common/gpu/media/gpu_video_decode_accelerator.cc (revision 172239) | 
| +++ content/common/gpu/media/gpu_video_decode_accelerator.cc (working copy) | 
| @@ -225,11 +225,7 @@ | 
| NotifyError(media::VideoDecodeAccelerator::INVALID_ARGUMENT); | 
| return; | 
| } | 
| - if (!texture_manager->ClearRenderableLevels(command_decoder, info)) { | 
| - DLOG(FATAL) << "Failed to Clear texture id " << texture_ids[i]; | 
| - NotifyError(media::VideoDecodeAccelerator::PLATFORM_FAILURE); | 
| - return; | 
| - } | 
| + texture_manager->SetLevelCleared(info, GL_TEXTURE_2D, 0); | 
| 
Ami GONE FROM CHROMIUM
2012/12/11 17:20:01
The texture target may not be GL_TEXTURE_2D (see P
 | 
| uint32 service_texture_id; | 
| if (!command_decoder->GetServiceTextureId( | 
| texture_ids[i], &service_texture_id)) { |