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

Issue 4373057: GL for linux sample app. (Closed)

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

Description

Submitted with http://code.google.com/p/skia/source/detail?r=1135

Patch Set 1 #

Total comments: 2

Patch Set 2 : GL for linux sample app #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+388 lines, -122 lines) Patch
A gpu/src/unix/GrGLDefaultInterface_unix.cpp View 1 1 chunk +170 lines, -0 lines 1 comment Download
M gyp/skia.gyp View 3 chunks +10 lines, -0 lines 0 comments Download
M include/views/SkOSWindow_Unix.h View 4 chunks +12 lines, -1 line 0 comments Download
M src/utils/unix/SkOSWindow_Unix.cpp View 1 3 chunks +186 lines, -10 lines 0 comments Download
M unix_test_app/main.cpp View 3 chunks +9 lines, -110 lines 0 comments Download
M unix_test_app/makefile View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5
Scroggo
13 years, 1 month ago (2011-04-12 20:58:57 UTC) #1
reed1
LGTM
13 years, 1 month ago (2011-04-12 21:05:15 UTC) #2
bsalomon
http://codereview.appspot.com/4373057/diff/1/gpu/src/unix/GrGLDefaultInterface_unix.cpp File gpu/src/unix/GrGLDefaultInterface_unix.cpp (right): http://codereview.appspot.com/4373057/diff/1/gpu/src/unix/GrGLDefaultInterface_unix.cpp#newcode122 gpu/src/unix/GrGLDefaultInterface_unix.cpp:122: #if GL_ARB_framebuffer_object I think you should do a has_gl_extension_from_string ...
13 years, 1 month ago (2011-04-12 21:12:46 UTC) #3
Scroggo
http://codereview.appspot.com/4373057/diff/1/gpu/src/unix/GrGLDefaultInterface_unix.cpp File gpu/src/unix/GrGLDefaultInterface_unix.cpp (right): http://codereview.appspot.com/4373057/diff/1/gpu/src/unix/GrGLDefaultInterface_unix.cpp#newcode122 gpu/src/unix/GrGLDefaultInterface_unix.cpp:122: #if GL_ARB_framebuffer_object On 2011/04/12 21:12:46, bsalomon wrote: > I ...
13 years, 1 month ago (2011-04-15 14:25:12 UTC) #4
bsalomon
13 years, 1 month ago (2011-04-15 14:34:04 UTC) #5
LGTM.

http://codereview.appspot.com/4373057/diff/6001/gpu/src/unix/GrGLDefaultInter...
File gpu/src/unix/GrGLDefaultInterface_unix.cpp (right):

http://codereview.appspot.com/4373057/diff/6001/gpu/src/unix/GrGLDefaultInter...
gpu/src/unix/GrGLDefaultInterface_unix.cpp:142:
GR_GL_GET_PROC_SUFFIX(GenFramebuffers, EXT);
If the functions are declared it's OK to just do
gDefaultInterface.fGenFramebuffers = glGenFramebuffersEXT here as you had
before. But it doesn't matter either way.
Sign in to reply to this message.

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