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

Issue 12461002: android: Add basic support for Broadcom GPUs (Closed)

Created:
7 years, 9 months ago by Sami
Modified:
7 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

android: Add basic support for Broadcom GPUs This patch implements two GPU workarounds to make Chrome work on devices with a Broadcom GPU: 1. Enable context virtualization on to avoid a EGL_BAD_CONTEXT failure from eglCreateContext(). 2. Disable asynchronous texture uploads to avoid an "Invalid image or UNSUPPORTED OPERATION" failure from glEGLImageTargetTexture2DOES. These modifications were tested on a Samsung Galaxy Fame S6810P. BUG=179815 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202062

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebased. #

Patch Set 3 : Fix unit test failures. #

Total comments: 1

Patch Set 4 : Clean up ifdef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M gpu/command_buffer/service/async_pixel_transfer_delegate_android.cc View 1 2 3 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Sami
Here's what we need to get going on Broadcom-based devices. The issue about the bogus ...
7 years, 9 months ago (2013-03-05 16:53:56 UTC) #1
greggman
lgtm
7 years, 9 months ago (2013-03-08 21:49:30 UTC) #2
epenner
LGTM https://codereview.chromium.org/12461002/diff/1/ui/gl/async_pixel_transfer_delegate_android.cc File ui/gl/async_pixel_transfer_delegate_android.cc (left): https://codereview.chromium.org/12461002/diff/1/ui/gl/async_pixel_transfer_delegate_android.cc#oldcode442 ui/gl/async_pixel_transfer_delegate_android.cc:442: context->HasExtension("EGL_KHR_gl_texture_2D_image") && It's pretty annoying that they report ...
7 years, 9 months ago (2013-03-08 22:44:24 UTC) #3
epenner
https://codereview.chromium.org/12461002/diff/1/ui/gl/async_pixel_transfer_delegate_android.cc File ui/gl/async_pixel_transfer_delegate_android.cc (right): https://codereview.chromium.org/12461002/diff/1/ui/gl/async_pixel_transfer_delegate_android.cc#newcode441 ui/gl/async_pixel_transfer_delegate_android.cc:441: bool is_broadcom = vendor.find("Broadcom") != std::string::npos; You may find ...
7 years, 9 months ago (2013-03-08 22:47:31 UTC) #4
Sami
Thanks guys. Based on the discussion on the bug I'm going to hold off landing ...
7 years, 9 months ago (2013-03-11 10:45:26 UTC) #5
epenner
https://codereview.chromium.org/12461002/diff/1/ui/gl/async_pixel_transfer_delegate_android.cc File ui/gl/async_pixel_transfer_delegate_android.cc (left): https://codereview.chromium.org/12461002/diff/1/ui/gl/async_pixel_transfer_delegate_android.cc#oldcode442 ui/gl/async_pixel_transfer_delegate_android.cc:442: context->HasExtension("EGL_KHR_gl_texture_2D_image") && On 2013/03/11 10:45:26, Sami wrote: > On ...
7 years, 9 months ago (2013-03-11 19:09:02 UTC) #6
no sievers
Since you are resurrecting this, note https://codereview.chromium.org/15231003/, so you'll have to rebase :)
7 years, 7 months ago (2013-05-22 16:10:07 UTC) #7
Sami
On 2013/05/22 16:10:07, Daniel Sievers wrote: > Since you are resurrecting this, note https://codereview.chromium.org/15231003/, > ...
7 years, 7 months ago (2013-05-23 15:34:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/12461002/10001
7 years, 7 months ago (2013-05-23 15:34:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/12461002/24001
7 years, 7 months ago (2013-05-23 16:50:38 UTC) #10
epenner
https://chromiumcodereview.appspot.com/12461002/diff/24001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc (right): https://chromiumcodereview.appspot.com/12461002/diff/24001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc#newcode239 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc:239: #if defined(OS_ANDROID) You can get rid of this by ...
7 years, 7 months ago (2013-05-23 18:13:42 UTC) #11
epenner
7 years, 7 months ago (2013-05-23 18:14:00 UTC) #12
epenner
On 2013/05/23 18:13:42, epenner wrote: > https://chromiumcodereview.appspot.com/12461002/diff/24001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc > File gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc (right): > > https://chromiumcodereview.appspot.com/12461002/diff/24001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc#newcode239 > ...
7 years, 7 months ago (2013-05-23 18:17:32 UTC) #13
Sami
On 2013/05/23 18:17:32, epenner wrote: > LGTM. I removed the commit flag to cleanup the ...
7 years, 7 months ago (2013-05-23 19:23:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/12461002/45001
7 years, 7 months ago (2013-05-23 19:24:14 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=153212
7 years, 7 months ago (2013-05-24 00:30:47 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/12461002/45001
7 years, 7 months ago (2013-05-24 09:52:07 UTC) #17
commit-bot: I haz the power
7 years, 7 months ago (2013-05-24 11:48:49 UTC) #18
Message was sent while issue was closed.
Change committed as 202062

Powered by Google App Engine
This is Rietveld 408576698