|
Implement support for origin-TopLeft render targets. Note that the default behaviour remains the same: textures default to origin-TopLeft, render targets default to origin-BottomLeft, and backend textures default to origin-BottomLeft. However, the caller can override the default by setting fOrigin in GrTextureDesc, GrBackendTextureDesc or GrBackendRenderTargetDesc.
Committed: https://code.google.com/p/skia/source/detail?r=7594
Total comments: 5
Total comments: 1
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+187 lines, -143 lines) |
Patch |
|
M |
include/gpu/GrRenderTarget.h
|
View
|
1
2
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrSurface.h
|
View
|
1
2
|
2 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrTexture.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrTypes.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleApp.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrContext.cpp
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+9 lines, -55 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrGpu.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrGpu.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrTexture.cpp
|
View
|
1
2
3
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLIRect.h
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgram.h
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgram.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLRenderTarget.h
|
View
|
1
2
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLRenderTarget.cpp
|
View
|
1
2
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLShaderBuilder.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLTexture.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLTexture.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGpuGL.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGpuGL.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
14 chunks |
+52 lines, -23 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGpuGL_program.cpp
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+24 lines, -8 lines |
0 comments
|
Download
|
|
M |
tests/ReadPixelsTest.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/WritePixelsTest.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+20 lines, -6 lines |
0 comments
|
Download
|
Total messages: 17
|