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

Issue 4901046: ref counted GrGLInterface (Closed)

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

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : cleanup #

Patch Set 4 : update #

Patch Set 5 : fix ref/unref order in GrGLSetDefaultGLInterface #

Patch Set 6 : Add unref in ~GrGpuGL #

Patch Set 7 : fix missing win gl funcs and memset #

Total comments: 19

Patch Set 8 : comments #

Patch Set 9 : remove namespace indent #

Patch Set 10 : add GR_API to GrGLInterface for dll build #

Patch Set 11 : fix mac bindings #

Patch Set 12 : fix dumb & instead of | bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1631 lines, -1376 lines) Patch
M gpu/include/GrGLConfig.h View 1 2 3 2 chunks +37 lines, -27 lines 0 comments Download
M gpu/include/GrGLInterface.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +44 lines, -23 lines 0 comments Download
M gpu/include/GrTypes.h View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M gpu/src/GrGLDefaultInterface_none.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gpu/src/GrGLIRect.h View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M gpu/src/GrGLIndexBuffer.cpp View 1 2 3 8 chunks +22 lines, -12 lines 0 comments Download
M gpu/src/GrGLInterface.cpp View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +143 lines, -18 lines 0 comments Download
M gpu/src/GrGLProgram.h View 1 2 3 4 chunks +11 lines, -5 lines 0 comments Download
M gpu/src/GrGLProgram.cpp View 1 2 3 17 chunks +88 lines, -87 lines 0 comments Download
M gpu/src/GrGLRenderTarget.cpp View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M gpu/src/GrGLStencilBuffer.h View 1 2 3 1 chunk +5 lines, -24 lines 0 comments Download
A gpu/src/GrGLStencilBuffer.cpp View 1 2 3 4 5 6 7 1 chunk +40 lines, -0 lines 0 comments Download
M gpu/src/GrGLTexture.h View 1 2 3 3 chunks +10 lines, -5 lines 0 comments Download
M gpu/src/GrGLTexture.cpp View 1 2 3 5 chunks +14 lines, -11 lines 0 comments Download
M gpu/src/GrGLUtil.cpp View 1 2 3 2 chunks +10 lines, -8 lines 0 comments Download
M gpu/src/GrGLVertexBuffer.cpp View 1 2 3 8 chunks +16 lines, -11 lines 0 comments Download
M gpu/src/GrGpuFactory.cpp View 1 2 3 4 5 6 7 2 chunks +16 lines, -25 lines 0 comments Download
M gpu/src/GrGpuGL.h View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M gpu/src/GrGpuGL.cpp View 1 2 3 4 5 81 chunks +352 lines, -313 lines 0 comments Download
M gpu/src/GrGpuGLFixed.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gpu/src/GrGpuGLFixed.cpp View 1 2 3 4 5 6 7 8 12 chunks +84 lines, -45 lines 0 comments Download
M gpu/src/GrGpuGLShaders.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M gpu/src/GrGpuGLShaders.cpp View 1 2 3 4 5 6 7 8 21 chunks +70 lines, -51 lines 0 comments Download
M gpu/src/android/GrGLDefaultInterface_android.cpp View 1 2 3 4 5 6 7 1 chunk +100 lines, -130 lines 0 comments Download
M gpu/src/ios/GrGLDefaultInterface_iOS.cpp View 1 2 3 1 chunk +124 lines, -127 lines 0 comments Download
M gpu/src/mac/GrGLDefaultInterface_mac.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +142 lines, -149 lines 0 comments Download
M gpu/src/mesa/GrGLDefaultInterface_mesa.cpp View 1 2 3 4 chunks +57 lines, -61 lines 0 comments Download
M gpu/src/unix/GrGLDefaultInterface_unix.cpp View 1 2 3 4 chunks +58 lines, -60 lines 0 comments Download
M gpu/src/win/GrGLDefaultInterface_win.cpp View 1 2 3 4 5 6 1 chunk +158 lines, -164 lines 0 comments Download
M gyp/gpu.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M samplecode/SampleApp.cpp View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 6
bsalomon
Hi Jeff, We will soon have different GrContexts using different GL implementations in the same ...
13 years, 4 months ago (2011-08-18 14:11:54 UTC) #1
twiz
On 2011/08/18 14:11:54, bsalomon wrote: > Hi Jeff, We will soon have different GrContexts using ...
13 years, 4 months ago (2011-08-18 15:58:12 UTC) #2
twiz
LGTM. Just a few NITS. I think that the current GL_CALL macro definition is fine. ...
13 years, 4 months ago (2011-08-18 18:48:19 UTC) #3
bsalomon
Thanks for the thorough review! I made changes related to all the comments except GL_CALL. ...
13 years, 4 months ago (2011-08-18 19:50:45 UTC) #4
twiz
http://codereview.appspot.com/4901046/diff/8002/gpu/src/GrGpuFactory.cpp File gpu/src/GrGpuFactory.cpp (right): http://codereview.appspot.com/4901046/diff/8002/gpu/src/GrGpuFactory.cpp#newcode29 gpu/src/GrGpuFactory.cpp:29: glInterface = (const GrGLInterface*) context3D; On 2011/08/18 19:50:47, bsalomon ...
13 years, 4 months ago (2011-08-18 20:06:42 UTC) #5
bsalomon
13 years, 4 months ago (2011-08-19 17:17:02 UTC) #6
Closed with r2140.
Sign in to reply to this message.

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