Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: media/gpu/android_video_decode_accelerator.cc

Issue 2820643002: Decouple some graphics-related IsLowEndDevice() policies for 1GB devices. (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/android_video_decode_accelerator.cc
diff --git a/media/gpu/android_video_decode_accelerator.cc b/media/gpu/android_video_decode_accelerator.cc
index 773b09e57853fadc70d509379b7985cb9d768cfd..a3a358aec1054ffa05aa7ac33f0db28b9e173150 100644
--- a/media/gpu/android_video_decode_accelerator.cc
+++ b/media/gpu/android_video_decode_accelerator.cc
@@ -114,8 +114,7 @@ bool ShouldDeferSurfaceCreation(AVDACodecAllocator* codec_allocator,
VideoCodec codec) {
return surface_id == SurfaceManager::kNoSurfaceID && codec == kCodecH264 &&
codec_allocator->IsAnyRegisteredAVDA() &&
- (base::android::BuildInfo::GetInstance()->sdk_int() <= 18 ||
- base::SysInfo::IsLowEndDevice());
+ base::android::BuildInfo::GetInstance()->sdk_int() <= 18;
}
} // namespace
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698