|
This is the first of a series of changes to make Gr able to manage stencil buffers more dynamically. This change makes the resource size a base class query. The next change will use this to turn GrTextureCache into GrResourceCache (which will eventually also manage a new GrStencilBuffer class).
It also makes GrRenderTarget aware of its pixel config. It is a bit hairy to figure out the pixel config from the current GL state, hence all the new GL code and added GL enums/func ptrs.
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+312 lines, -58 lines) |
Patch |
|
M |
gpu/include/GrGLConfig.h
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/include/GrGLDefines.h
|
View
|
|
4 chunks |
+22 lines, -9 lines |
0 comments
|
Download
|
|
M |
gpu/include/GrGLInterface.h
|
View
|
1
2
|
4 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/include/GrGLTexture.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
gpu/include/GrGeometryBuffer.h
|
View
|
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
gpu/include/GrIndexBuffer.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
|
gpu/include/GrResource.h
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/include/GrTexture.h
|
View
|
|
7 chunks |
+21 lines, -8 lines |
0 comments
|
Download
|
|
M |
gpu/src/GrBufferAllocPool.cpp
|
View
|
|
7 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
gpu/src/GrDrawTarget.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
gpu/src/GrGLIndexBuffer.cpp
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
gpu/src/GrGLInterface.cpp
|
View
|
1
2
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
gpu/src/GrGLTexture.cpp
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
gpu/src/GrGLVertexBuffer.cpp
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
gpu/src/GrGpuGL.cpp
|
View
|
1
2
3
4
|
2 chunks |
+158 lines, -6 lines |
0 comments
|
Download
|
|
M |
gpu/src/GrTextContext.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
gpu/src/GrTexture.cpp
|
View
|
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/src/android/GrGLDefaultInterface_android.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
gpu/src/ios/GrGLDefaultInterface_iOS.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/src/mac/GrGLDefaultInterface_mac.cpp
|
View
|
1
2
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/src/mesa/GrGLDefaultInterface_mesa.cpp
|
View
|
1
2
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/src/unix/GrGLDefaultInterface_unix.cpp
|
View
|
1
2
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/src/win/GrGLDefaultInterface_win.cpp
|
View
|
1
2
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5
|