Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Issue 130423013: Use vertex buffer objects instead of client side arrays in fixed-function codepaths (Closed)

Created:
6 years, 10 months ago by Kimmo Kinnunen
Modified:
6 years, 10 months ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : more iffing #

Patch Set 3 : do not run texgen, do not require the funcs #

Patch Set 4 : #

Patch Set 5 : no vertexpointer #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : rebase #

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

Messages

Total messages: 9 (0 generated)
Kimmo Kinnunen
Brian, would this direction be acceptable in order to enable NVPR in Chromium? Eg. replacing ...
6 years, 10 months ago (2014-02-14 14:30:09 UTC) #1
bsalomon
I'm not really sure that I understand the proposal. Is there some info about GL_CHROMIUM_NV_path_rendering? ...
6 years, 10 months ago (2014-02-14 14:40:20 UTC) #2
Kimmo Kinnunen
On 2014/02/14 14:40:20, bsalomon wrote: > I'm not really sure that I understand the proposal. ...
6 years, 10 months ago (2014-02-18 14:58:33 UTC) #3
bsalomon
On 2014/02/18 14:58:33, kkinnunen wrote: > On 2014/02/14 14:40:20, bsalomon wrote: > > I'm not ...
6 years, 10 months ago (2014-02-20 15:44:28 UTC) #4
Kimmo Kinnunen
On 2014/02/20 15:44:28, bsalomon wrote: > On 2014/02/18 14:58:33, kkinnunen wrote: > > I updated ...
6 years, 10 months ago (2014-02-21 06:27:12 UTC) #5
bsalomon
Ah... I see, I took another look at the patch and get it now :) ...
6 years, 10 months ago (2014-02-21 14:05:21 UTC) #6
Kimmo Kinnunen
The CQ bit was checked by kkinnunen@nvidia.com
6 years, 10 months ago (2014-02-24 11:51:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/kkinnunen@nvidia.com/130423013/470001
6 years, 10 months ago (2014-02-24 11:51:58 UTC) #8
commit-bot: I haz the power
6 years, 10 months ago (2014-02-24 12:05:16 UTC) #9
Message was sent while issue was closed.
Change committed as 13557

Powered by Google App Engine
This is Rietveld 408576698