Commit c058c296 authored by boliu@chromium.org's avatar boliu@chromium.org

Enable async upload egl with mailbox synchronizer

With the workaround in r286800, mailbox synchronizer skips tile
textures, so is compatible with async transfer egl.

This is a partial revert of r286501.

BUG=399311

Review URL: https://codereview.chromium.org/463563002

Cr-Commit-Position: refs/heads/master@{#289172}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289172 0039d316-1c4b-4281-b951-d872f2087c98
parent b4a7b526
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include "gpu/command_buffer/service/async_pixel_transfer_manager_idle.h" #include "gpu/command_buffer/service/async_pixel_transfer_manager_idle.h"
#include "gpu/command_buffer/service/async_pixel_transfer_manager_stub.h" #include "gpu/command_buffer/service/async_pixel_transfer_manager_stub.h"
#include "gpu/command_buffer/service/async_pixel_transfer_manager_sync.h" #include "gpu/command_buffer/service/async_pixel_transfer_manager_sync.h"
#include "gpu/command_buffer/service/mailbox_synchronizer.h"
#include "ui/gl/gl_context.h" #include "ui/gl/gl_context.h"
#include "ui/gl/gl_implementation.h" #include "ui/gl/gl_implementation.h"
...@@ -64,8 +63,7 @@ AsyncPixelTransferManager* AsyncPixelTransferManager::Create( ...@@ -64,8 +63,7 @@ AsyncPixelTransferManager* AsyncPixelTransferManager::Create(
!IsBroadcom() && !IsBroadcom() &&
!IsImagination() && !IsImagination() &&
!IsNvidia31() && !IsNvidia31() &&
!base::SysInfo::IsLowEndDevice() && !base::SysInfo::IsLowEndDevice()) {
!gles2::MailboxSynchronizer::GetInstance()) {
return new AsyncPixelTransferManagerEGL; return new AsyncPixelTransferManagerEGL;
} }
return new AsyncPixelTransferManagerIdle; return new AsyncPixelTransferManagerIdle;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment