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

Issue 184573002: Use MSAA in GPU rasterization if Skia suggests it (Closed)

Created:
6 years, 9 months ago by Kimmo Kinnunen
Modified:
5 years, 9 months ago
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Use MSAA in GPU rasterization if Skia suggests it Query the recommended sample count for the context from Skia. This will select either 'gpu' or 'msaa' backend of Skia, depending on the context capabilities and the display density. BUG=347962

Patch Set 1 #

Patch Set 2 : add hunk lost in rebase #

Patch Set 3 : the hunk, actually #

Total comments: 1

Patch Set 4 : address review comments #

Total comments: 1

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -4 lines) Patch
M cc/output/output_surface.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/output_surface.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M cc/resources/resource_provider.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 3 4 5 4 chunks +24 lines, -4 lines 2 comments Download

Messages

Total messages: 11 (0 generated)
Kimmo Kinnunen
Would this be acceptable?
6 years, 9 months ago (2014-02-28 13:38:34 UTC) #1
nduca
i dont like the approach of command line flags to control rasterization choices. can this ...
6 years, 9 months ago (2014-03-01 21:59:12 UTC) #2
nduca
https://codereview.chromium.org/184573002/diff/30001/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/184573002/diff/30001/cc/resources/resource_provider.cc#newcode444 cc/resources/resource_provider.cc:444: desc.fSampleCnt = resource_provider()->num_gpu_rasterization_samples(); i think it woudl be better ...
6 years, 9 months ago (2014-03-01 22:02:28 UTC) #3
Kimmo Kinnunen
On 2014/03/01 22:02:28, nduca wrote: > i think it woudl be better if you obtained ...
6 years, 9 months ago (2014-03-03 06:12:29 UTC) #4
Kimmo Kinnunen
One obvious hurdle is that in order to develop non-default MSAA backend, one would need ...
6 years, 9 months ago (2014-03-03 06:37:26 UTC) #5
bsalomon
On 2014/03/03 06:12:29, kkinnunen wrote: > On 2014/03/01 22:02:28, nduca wrote: > > i think ...
6 years, 9 months ago (2014-03-03 14:08:48 UTC) #6
nduca
6 years, 9 months ago (2014-03-05 21:54:43 UTC) #7
Kimmo Kinnunen
How about this? The related Skia patch is: https://codereview.chromium.org/188403003/
6 years, 9 months ago (2014-03-06 07:16:00 UTC) #8
Kimmo Kinnunen
https://chromiumcodereview.appspot.com/184573002/diff/50001/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://chromiumcodereview.appspot.com/184573002/diff/50001/cc/resources/resource_provider.cc#newcode615 cc/resources/resource_provider.cc:615: kDisplayDensityScaleFactor * output_surface_->SurfaceScaleFactor(); Not entirely sure if this call ...
6 years, 9 months ago (2014-03-06 07:16:51 UTC) #9
Kimmo Kinnunen
Ping.. Anybody know who would be appropriate person to look at this?
6 years, 8 months ago (2014-04-23 12:29:48 UTC) #10
nduca
6 years, 8 months ago (2014-04-23 23:07:23 UTC) #11
https://codereview.chromium.org/184573002/diff/90001/cc/resources/resource_pr...
File cc/resources/resource_provider.cc (right):

https://codereview.chromium.org/184573002/diff/90001/cc/resources/resource_pr...
cc/resources/resource_provider.cc:64: // Display density in dots per inch at
scale factor 1.0.
what the heck is this? why do you need this?

https://codereview.chromium.org/184573002/diff/90001/cc/resources/resource_pr...
cc/resources/resource_provider.cc:454: if (surface_generation_id_ !=
surface_->generationID()) {
can you do this as a separate change please?

Powered by Google App Engine
This is Rietveld 408576698