-
zijiehe authored
than GPU limitation On some old or lowend hardwares, such as Pixel 1 (ChromeBook), the max texture their GPUs can process may smaller than a combination of several high resolution monitors. In this situation, GPU decoder will fail, and we will render a blank white screen. So this change adds a check of max texture size GPU (from OpenGL layer) supports. And if a desktop image is larger than this limitation, PepperVideoRenderer3D will fall back to PepperVideoRenderer2D to render following images. BUG=584388 Review-Url: https://chromiumcodereview.appspot.com/2150833002 Cr-Commit-Position: refs/heads/master@{#426019}
103f52ed