Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(720)

Issue 4287072: Add support for GL_CHROMIUM_framebuffer_multisample to Gr (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by bsalomon
Modified:
13 years, 8 months ago
Reviewers:
twiz1, senorblanco, reed1
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : make comments fit on one line #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -24 lines) Patch
M gpu/include/GrGLConfig_chrome.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/src/GrGLInterface.cpp View 1 chunk +17 lines, -2 lines 3 comments Download
M gpu/src/GrGpuGL.h View 1 1 chunk +4 lines, -3 lines 0 comments Download
M gpu/src/GrGpuGL.cpp View 2 chunks +36 lines, -19 lines 1 comment Download

Messages

Total messages: 3
bsalomon
I tested this in chrome by forcing layers to have Skia-created layers to have AA ...
13 years, 9 months ago (2011-03-22 21:47:28 UTC) #1
twiz1
LGTM. http://codereview.appspot.com/4287072/diff/2001/gpu/src/GrGLInterface.cpp File gpu/src/GrGLInterface.cpp (right): http://codereview.appspot.com/4287072/diff/2001/gpu/src/GrGLInterface.cpp#newcode220 gpu/src/GrGLInterface.cpp:220: if (!msaaFound && Do you need to check ...
13 years, 9 months ago (2011-03-22 22:22:53 UTC) #2
bsalomon
13 years, 9 months ago (2011-03-23 13:49:49 UTC) #3
On 2011/03/22 22:22:53, twiz1 wrote:
> LGTM.
> 
> http://codereview.appspot.com/4287072/diff/2001/gpu/src/GrGLInterface.cpp
> File gpu/src/GrGLInterface.cpp (right):
> 
>
http://codereview.appspot.com/4287072/diff/2001/gpu/src/GrGLInterface.cpp#new...
> gpu/src/GrGLInterface.cpp:220: if (!msaaFound &&
> Do you need to check !msaaFound here?  I guess it doesn't detract too much
from
> clarity, but it's not needed for the first 'probe'.

Not really. I was just thinking that someone might add another higher-precedence
extension above the CHROMIUM one. This way they wouldn't have to remember to add
the check. Really its moot, though, since were going to remove the generic
platform code anyway.

> 
>
http://codereview.appspot.com/4287072/diff/2001/gpu/src/GrGLInterface.cpp#new...
> gpu/src/GrGLInterface.cpp:232:
> GR_GL_GET_PROC_SUFFIX(RenderbufferStorageMultisample, APPLE);
> On 2011/03/22 21:47:29, bsalomon wrote:
> > This one was missing. We aren't testing on IOS anymore
> > so this went undetected. :(
> 
> Thanks for catching that and making the change.

No prob. It was probably already missing before your change but just worked
because on IOS the GR_GL macro devolved down to just calling the platform GL
functions without a funciont pointer.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b