|
Fix mixed samples stencil clip
Fixes rendering bugs and nondeterminism in gm.
Before, mixed samples stencil clip would try to infer whether the draw
wanted co-centered sample locations from within GrGLGpu, which caused
various errors. This change reworks it so the draw itself can request
the co-centered sample locations when it knows it will need them.
Also reduces framebuffer binds by moving the code that enables
GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS into flushRenderTarget.
Committed: https://skia.googlesource.com/skia/+/14184d5567b58085b6d8a6375796d405056f7f73
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+111 lines, -121 lines) |
Patch |
|
M |
include/gpu/GrCaps.h
|
View
|
1
|
4 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrCaps.cpp
|
View
|
1
|
4 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrClipMaskManager.h
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrClipMaskManager.cpp
|
View
|
1
2
3
4
|
1 chunk |
+16 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawTarget.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawTarget.cpp
|
View
|
1
2
3
4
|
4 chunks |
+10 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrPipeline.h
|
View
|
1
2
3
4
|
4 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrPipeline.cpp
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLCaps.h
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLCaps.cpp
|
View
|
1
|
4 chunks |
+11 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLGpu.h
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLGpu.cpp
|
View
|
1
2
|
5 chunks |
+21 lines, -41 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLPathRendering.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLRenderTarget.h
|
View
|
|
3 chunks |
+15 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLRenderTarget.cpp
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
Total messages: 13 (4 generated)
|