> LGTM (optional nit) Correction: LGTM for async transfers.
5 years, 11 months ago
(2015-01-15 00:29:34 UTC)
#4
> LGTM (optional nit)
Correction: LGTM for async transfers.
no sievers
https://codereview.chromium.org/769703005/diff/60001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc File content/browser/android/in_process/synchronous_compositor_factory_impl.cc (right): https://codereview.chromium.org/769703005/diff/60001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc#newcode303 content/browser/android/in_process/synchronous_compositor_factory_impl.cc:303: service_, gpu::GLInProcessContextSharedMemoryLimits(), false)); Can you put a comment that ...
5 years, 11 months ago
(2015-01-15 20:26:05 UTC)
#5
5 years, 11 months ago
(2015-01-21 02:08:01 UTC)
#6
https://codereview.chromium.org/769703005/diff/60001/content/browser/android/...
File content/browser/android/in_process/synchronous_compositor_factory_impl.cc
(right):
https://codereview.chromium.org/769703005/diff/60001/content/browser/android/...
content/browser/android/in_process/synchronous_compositor_factory_impl.cc:303:
service_, gpu::GLInProcessContextSharedMemoryLimits(), false));
On 2015/01/15 20:26:05, sievers wrote:
> Can you put a comment that this needs to be treated as 'onscreen' because it
> runs in the shared onscreen context (due to SurfaceTexture limitations when it
> comes to share groups and such)?
I put something generic. Can you look again?
What is the share group limitation? I thought the issue is SurfaceTexture uses
eglImages underneath so can't be shared across threads with mailboxes.
https://codereview.chromium.org/769703005/diff/60001/gpu/command_buffer/servi...
File gpu/command_buffer/service/async_pixel_transfer_manager_android.cc (right):
https://codereview.chromium.org/769703005/diff/60001/gpu/command_buffer/servi...
gpu/command_buffer/service/async_pixel_transfer_manager_android.cc:71:
cl->HasSwitch(switches::kEnableAsyncPixelWithThreadedTextureMailboxes);
On 2015/01/15 20:26:05, sievers wrote:
> Do we really need the other command line
> (kEnableAsyncPixelWithThreadedTextureMailboxes)?
>
I wanted the new one as a fallback in case anything in the new paths breaks..
But I guess there is plenty of time until m42 branch. Just need to do a bit more
exhaustive testing before landing this. Removing the switch.
https://codereview.chromium.org/769703005/diff/60001/gpu/command_buffer/servi...
gpu/command_buffer/service/async_pixel_transfer_manager_android.cc:88: bool
threaded_texture_mailboxes = TransferWithThreadedTextureMailboxes();
On 2015/01/15 00:28:23, epenner wrote:
> Nit.
>
> Mildly prefer reversing the bool to be "use_teximage2d_over_texsubimage2d",
and
> then having an additional variable here (to be self documenting):
> bool use_teximage2d_over_texsubimage2d = !threaded_texture_mailboxes;
Done.
https://codereview.chromium.org/769703005/diff/60001/gpu/command_buffer/servi...
gpu/command_buffer/service/async_pixel_transfer_manager_android.cc:102: }
On 2015/01/15 20:26:05, sievers wrote:
> Can you put a comment that we do this because of how threaded mailboxes use
> EGLimage and that causes problems with the orphaning on every upload if we
used
> texImage2D?
Done.
5 years, 11 months ago
(2015-01-23 21:48:35 UTC)
#7
lgtm
https://codereview.chromium.org/769703005/diff/60001/content/browser/android/...
File content/browser/android/in_process/synchronous_compositor_factory_impl.cc
(right):
https://codereview.chromium.org/769703005/diff/60001/content/browser/android/...
content/browser/android/in_process/synchronous_compositor_factory_impl.cc:303:
service_, gpu::GLInProcessContextSharedMemoryLimits(), false));
On 2015/01/21 02:08:01, boliu wrote:
> On 2015/01/15 20:26:05, sievers wrote:
> > Can you put a comment that this needs to be treated as 'onscreen' because it
> > runs in the shared onscreen context (due to SurfaceTexture limitations when
it
> > comes to share groups and such)?
>
> I put something generic. Can you look again?
>
> What is the share group limitation? I thought the issue is SurfaceTexture uses
> eglImages underneath so can't be shared across threads with mailboxes.
Yes you cannot create another texture from a SurfaceTexture. You can only have
one and the API is a bit weird. For example, you can detach/attach it to a
different context, but then it will delete your texture (although the caller
created it). Also, it doesn't know about GL share groups but does a pointer
comparison (!) in many APIs for the context it's used with.
boliu
Holding off on landing this until I figure out the webgl flicker problem. With this ...
5 years, 11 months ago
(2015-01-23 21:58:40 UTC)
#8
Holding off on landing this until I figure out the webgl flicker problem. With
this I can sometimes see corrupt tiles on webgl pages.
And probably needs more general testing.
On 2015/01/23 21:48:35, sievers wrote:
> lgtm
>
>
https://codereview.chromium.org/769703005/diff/60001/content/browser/android/...
> File content/browser/android/in_process/synchronous_compositor_factory_impl.cc
> (right):
>
>
https://codereview.chromium.org/769703005/diff/60001/content/browser/android/...
> content/browser/android/in_process/synchronous_compositor_factory_impl.cc:303:
> service_, gpu::GLInProcessContextSharedMemoryLimits(), false));
> On 2015/01/21 02:08:01, boliu wrote:
> > On 2015/01/15 20:26:05, sievers wrote:
> > > Can you put a comment that this needs to be treated as 'onscreen' because
it
> > > runs in the shared onscreen context (due to SurfaceTexture limitations
when
> it
> > > comes to share groups and such)?
> >
> > I put something generic. Can you look again?
> >
> > What is the share group limitation? I thought the issue is SurfaceTexture
uses
> > eglImages underneath so can't be shared across threads with mailboxes.
>
> Yes you cannot create another texture from a SurfaceTexture. You can only have
> one and the API is a bit weird. For example, you can detach/attach it to a
> different context, but then it will delete your texture (although the caller
> created it). Also, it doesn't know about GL share groups but does a pointer
> comparison (!) in many APIs for the context it's used with.
Ok. The generic thing sounds fine then :p
boliu
Fix for crbug.com/453199 landed. This going in!
5 years, 10 months ago
(2015-01-29 23:53:12 UTC)
#9
Fix for crbug.com/453199 landed. This going in!
boliu
The CQ bit was checked by boliu@chromium.org
5 years, 10 months ago
(2015-01-29 23:53:35 UTC)
#10
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/888903002/ by boliu@chromium.org. ...
5 years, 10 months ago
(2015-01-30 18:23:44 UTC)
#14
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/888903002/ by boliu@chromium.org.
The reason for reverting is: Suspect causing
AwContentsClientFullScreenTest#testPowerSaveBlockerIsTransferredToFullscreen to
time out.
boliu
On 2015/01/30 18:23:44, boliu wrote: > A revert of this CL (patchset #6 id:100001) has ...
5 years, 10 months ago
(2015-02-05 01:19:42 UTC)
#15
On 2015/01/30 18:23:44, boliu wrote:
> A revert of this CL (patchset #6 id:100001) has been created in
> https://codereview.chromium.org/888903002/ by mailto:boliu@chromium.org.
>
> The reason for reverting is: Suspect causing
> AwContentsClientFullScreenTest#testPowerSaveBlockerIsTransferredToFullscreen
to
> time out.
The failure is a driver bug and worked around. Details in crbug.com/453857
This patch going back in!
boliu
The CQ bit was checked by boliu@chromium.org
5 years, 10 months ago
(2015-02-05 01:19:58 UTC)
#16
Issue 769703005: Move AW renderer compositor context to gpu thread
(Closed)
Created 6 years ago by boliu
Modified 5 years, 10 months ago
Reviewers: epenner, no sievers
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 10