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

Issue 24037006: gpu: Enable WebGL on Mali-400 GPUs that support EXT_robustness (Closed)

Created:
7 years, 3 months ago by Sami
Modified:
6 years ago
CC:
chromium-reviews, piman+watch_chromium.org, apatrick_chromium
Visibility:
Public.

Description

gpu: Enable WebGL on Mali-400 GPUs that support EXT_robustness Enable WebGL on Mali-400 GPUs that support the EXT_robustness extension but do *not* send context reset notifications. The reason we can do this is that virtualized contexts are not used on these devices, so badly behaving WebGL shaders do not affect other GL contexts. This means that the user can close or reload the WebGL tab and other tabs in the browser remain responsive. BUG=288731, 416690 TEST=https://www.khronos.org/registry/webgl/conformance-suites/1.0.1/extra/slow-shader-example.html on a Galaxy Tab 3 Committed: https://crrev.com/f56d21f26ff4f09f8dfe35d84d20f4ce45f45c2e Cr-Commit-Position: refs/heads/master@{#296768}

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M gpu/config/software_rendering_list_json.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 16 (1 generated)
Sami
This is partly an RFC of how you guys would feel about this. I tested ...
7 years, 3 months ago (2013-09-23 18:20:02 UTC) #1
Ken Russell (switch to Gerrit)
What's the behavior if tab A starts a long-running draw call, tab B is created, ...
7 years, 3 months ago (2013-09-23 19:05:41 UTC) #2
Sami
On 2013/09/23 19:05:41, Ken Russell wrote: > What's the behavior if tab A starts a ...
7 years, 3 months ago (2013-09-24 10:30:41 UTC) #3
Sami
On 2013/09/24 10:30:41, Sami wrote: > I can check with ARM but given that this ...
7 years, 2 months ago (2013-09-25 16:13:55 UTC) #4
Sami
PTAL. I don't have a device to test this on at the moment.
6 years, 2 months ago (2014-09-25 18:23:48 UTC) #5
Ken Russell (switch to Gerrit)
LGTM given the discussion on bug 416690.
6 years, 2 months ago (2014-09-25 18:28:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/24037006/10001
6 years, 2 months ago (2014-09-25 18:33:40 UTC) #8
no sievers
On 2013/09/23 18:20:02, Sami wrote: > One problem is that I couldn't come up with ...
6 years, 2 months ago (2014-09-25 19:19:36 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:10001) as 4a3a318dbd686735c5d1a55c838e2005cecf92b7
6 years, 2 months ago (2014-09-25 19:40:58 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/f56d21f26ff4f09f8dfe35d84d20f4ce45f45c2e Cr-Commit-Position: refs/heads/master@{#296768}
6 years, 2 months ago (2014-09-25 19:42:16 UTC) #11
Ken Russell (switch to Gerrit)
On 2014/09/25 19:19:36, sievers wrote: > So we whitelist Mali-400 because we tested it and ...
6 years, 2 months ago (2014-09-25 19:43:35 UTC) #12
no sievers
On 2014/09/25 19:43:35, Ken Russell wrote: > On 2014/09/25 19:19:36, sievers wrote: > > So ...
6 years, 2 months ago (2014-09-25 19:52:55 UTC) #13
Sami
On 2014/09/25 19:52:55, sievers wrote: > On 2014/09/25 19:43:35, Ken Russell wrote: > > On ...
6 years, 2 months ago (2014-09-26 09:37:06 UTC) #14
tkilarski
Sorry, maybe not the best place to ask that question, but let me try. This ...
6 years ago (2014-11-27 10:54:07 UTC) #15
chromium-reviews
6 years ago (2014-11-27 13:15:32 UTC) #16
Message was sent while issue was closed.
I think this question would be better directed at the ARM folks. In general
Chromium shouldn't be depending on being able to render to GL_RGB8 since
that format is optional. One thing to check is whether the FBO is using a
texture or a renderbuffer to back the color attachment and what the format
of that object is. I think some drivers may for instance allow the use of
an GL_RGBA texture as a GL_RGB color attachment.

- Sami

2014-11-27 10:54 GMT+00:00 <tkilarski@opera.com>:

> Sorry, maybe not the best place to ask that question, but let me try.
> This thread is indicating WebGL working on Mali400 GPU. I am investigating
> Chromium/WebGL issues on linux device with same GPU.
> When WebGL context is created without alpha channel I get
> GL_FRAMEBUFFER_UNSUPPORTED error. In general chromium code flow is same
> as indicated here http://community.arm.com/message/12954#12954 (FBO with
> GL_RGB color attachment not supported?). On the other hand, the same
> chromium version compiled for android GalaxySII, and executing the same FBO
> initialization flow, does not expose any problem with GL_RGB format. How
> then understand the answer from ARM forum? Is GL_RGB making just
> performance issue, or is it not supported by the hardware? Is there any
> workaround then in Android GL driver, which is then not present in linux
> version?
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698