|
Use vertex buffer objects instead of client side arrays in fixed-function codepaths
Pass vertices to the fixed-function shaders in vertex buffer object
stored at attribute 0. This is specified in OpenGL Compatibility
Profile Section 10.8.2 (Transferring Vertices With Vertex Attribute
Zero).
This makes future integration to Chromium command buffer better, since
the command buffer already has code for vertex buffer objects but not
vertex arrays.
Delete unused function pointers related to fixed-function codepaths.
Committed: http://code.google.com/p/skia/source/detail?r=13557
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+26 lines, -185 lines) |
Patch |
|
M |
include/gpu/gl/GrGLFunctions.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
include/gpu/gl/GrGLInterface.h
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLCreateNullInterface.cpp
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLInterface.cpp
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLNoOpInterface.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLNoOpInterface.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLVertexArray.h
|
View
|
1
2
3
4
|
4 chunks |
+1 line, -24 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLVertexArray.cpp
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -62 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGpuGL_program.cpp
|
View
|
1
2
3
4
|
2 chunks |
+22 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
|
View
|
1
2
3
4
|
5 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|