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

Issue 13461027: Add flag to use virtual contexts to WebGraphicsContext3D::Attributes (Closed)

Created:
7 years, 8 months ago by ccameron
Modified:
7 years, 8 months ago
CC:
blink-reviews
Visibility:
Public.

Description

Add flag to use virtual contexts to WebGraphicsContext3D::Attributes. The Mac will specify this flag for its compositor contexts. BUG=180463

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M Source/Platform/chromium/public/WebGraphicsContext3D.h View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
ccameron
This is the WebKit half of
7 years, 8 months ago (2013-04-04 20:27:07 UTC) #1
ccameron
(mouse had a spasm) This is the WebKit half of https://codereview.chromium.org/13647014/ which is the mechanism ...
7 years, 8 months ago (2013-04-04 20:28:41 UTC) #2
jamesr
Why is this a context attribute?
7 years, 8 months ago (2013-04-04 20:29:23 UTC) #3
jamesr
Compositor contexts are already special (they're the only onscreen contexts), can't we just set those ...
7 years, 8 months ago (2013-04-04 20:29:49 UTC) #4
ccameron
On 2013/04/04 20:29:23, jamesr wrote: > Why is this a context attribute? Some contexts (compositor) ...
7 years, 8 months ago (2013-04-04 20:31:09 UTC) #5
jamesr
On 2013/04/04 20:31:09, ccameron1 wrote: > On 2013/04/04 20:29:23, jamesr wrote: > > Why is ...
7 years, 8 months ago (2013-04-04 20:32:53 UTC) #6
ccameron
On 2013/04/04 20:32:53, jamesr wrote: > On 2013/04/04 20:31:09, ccameron1 wrote: > > On 2013/04/04 ...
7 years, 8 months ago (2013-04-04 20:35:34 UTC) #7
jamesr
I'm sure you can figure out a way to do it cleanly.
7 years, 8 months ago (2013-04-04 20:36:18 UTC) #8
ccameron
On 2013/04/04 20:36:18, jamesr wrote: > I'm sure you can figure out a way to ...
7 years, 8 months ago (2013-04-05 00:05:06 UTC) #9
jamesr
On 2013/04/05 00:05:06, ccameron1 wrote: > On 2013/04/04 20:36:18, jamesr wrote: > > I'm sure ...
7 years, 8 months ago (2013-04-05 00:05:54 UTC) #10
Ken Russell (switch to Gerrit)
On 2013/04/05 00:05:54, jamesr wrote: > On 2013/04/05 00:05:06, ccameron1 wrote: > > On 2013/04/04 ...
7 years, 8 months ago (2013-04-05 00:40:47 UTC) #11
ccameron
7 years, 8 months ago (2013-04-05 01:04:13 UTC) #12
On 2013/04/05 00:40:47, kbr wrote:
> On 2013/04/05 00:05:54, jamesr wrote:
> > On 2013/04/05 00:05:06, ccameron1 wrote:
> > > On 2013/04/04 20:36:18, jamesr wrote:
> > > > I'm sure you can figure out a way to do it cleanly.
> > > 
> > > Looking at this some more, how is this different from
> > > WebGraphicsContext3D::Attributes::preferDiscreteGPU? Shouldn't both of
those
> > be
> > > set in the same place?
> > 
> > Probably - that one's pretty unusual.
> 
> I don't know any more where the compositor's context is created. Could one of
> you point me to the code?

It's in GpuCommandBufferStub::OnInitialize (that's also where virtualization
hooks in)

I'll put in the other plumbing patch first, then we can return to this part.

Also of note is that I need to update virtualization to have different
virtualized contexts for iGPU and dGPU.

Powered by Google App Engine
This is Rietveld 408576698