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

Issue 5635052: Allow chrome to limit the number of FBO status checks (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by bsalomon
Modified:
12 years, 7 months ago
Reviewers:
TomH
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Allow chrome to limit the number of FBO status checks Committed: https://code.google.com/p/skia/source/detail?r=3144

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -43 lines) Patch
include/gpu/GrGLConfig.h View 1 chunk +22 lines, -11 lines 2 comments Download
M include/gpu/GrGLConfig_chrome.h View 1 chunk +3 lines, -0 lines 2 comments Download
include/gpu/GrTypes.h View 1 chunk +2 lines, -0 lines 0 comments Download
src/gpu/GrGpuGL.h View 2 chunks +37 lines, -3 lines 0 comments Download
M src/gpu/GrGpuGL.cpp View 1 2 10 chunks +128 lines, -29 lines 2 comments Download

Messages

Total messages: 3
bsalomon
Re: http://code.google.com/p/chromium/issues/detail?id=102945 this prevent skia from repeatedly calling glCheckframebufferStatus when a) initially attaching a texture ...
12 years, 7 months ago (2012-02-06 22:17:56 UTC) #1
TomH
LGTM. I had a couple of concerns, then realized I was misreading the code. https://codereview.appspot.com/5635052/diff/12/include/gpu/GrGLConfig.h ...
12 years, 7 months ago (2012-02-07 15:22:31 UTC) #2
bsalomon
12 years, 7 months ago (2012-02-07 15:45:18 UTC) #3
https://codereview.appspot.com/5635052/diff/12/include/gpu/GrGLConfig.h
File include/gpu/GrGLConfig.h (right):

https://codereview.appspot.com/5635052/diff/12/include/gpu/GrGLConfig.h#newco...
include/gpu/GrGLConfig.h:98: * environments CheckFrameBufferStatus is very
exepense. If this is set we will
On 2012/02/07 15:22:32, TomH wrote:
> nit: expensive

Done.

https://codereview.appspot.com/5635052/diff/12/include/gpu/GrGLConfig_chrome.h
File include/gpu/GrGLConfig_chrome.h (right):

https://codereview.appspot.com/5635052/diff/12/include/gpu/GrGLConfig_chrome....
include/gpu/GrGLConfig_chrome.h:34: // CheckFramebufferStatus in chrome
synchronizes the gpu and renderer processes.
On 2012/02/07 15:22:32, TomH wrote:
> Cryptic comment means something to people who understand everything already,
but
> not to those who don't?

This is in a chrome-specific config file. It's documenting why flags were set a
specific way within chrome. I think it's ok to require the reader to have some
understanding of chrome's architecture.

https://codereview.appspot.com/5635052/diff/12/src/gpu/GrGpuGL.cpp
File src/gpu/GrGpuGL.cpp (right):

https://codereview.appspot.com/5635052/diff/12/src/gpu/GrGpuGL.cpp#newcode80
src/gpu/GrGpuGL.cpp:80: // Why are we seeing a stencil format that GLCaps
doesn't know about.
On 2012/02/07 15:22:32, TomH wrote:
> Nit: ?, not .
> Also, do we want to put this as a string inside the assert so it's more
> informative?

Done.
Sign in to reply to this message.

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