Revert "Driver bug workaround: disable_discard_framebuffer"
This reverts commit 8aa0dca395
.
Reason for revert: need to revert to revert original change breaking chrome compile
Original change's description:
> Driver bug workaround: disable_discard_framebuffer
>
> Bug: chromium: 829614
> Change-Id: I285b39b31a370247518e3a0b56ac4ea54f38c0c0
> Reviewed-on: https://skia-review.googlesource.com/126749
> Commit-Queue: Adrienne Walker <enne@chromium.org>
> Commit-Queue: Brian Salomon <bsalomon@google.com>
> Auto-Submit: Adrienne Walker <enne@chromium.org>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
TBR=bsalomon@google.com,enne@chromium.org
Change-Id: I563808025a8f77807478c0f0d42c3009c3b57ea5
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium: 829614
Reviewed-on: https://skia-review.googlesource.com/127302
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
This commit is contained in:
parent
2919b610f4
commit
0b1e628835
@ -6,8 +6,10 @@
|
||||
// DO NOT EDIT!
|
||||
|
||||
#define GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)\
|
||||
GPU_OP(AVOID_STENCIL_BUFFERS, \
|
||||
avoid_stencil_buffers) \
|
||||
GPU_OP(CLEAR_TO_ZERO_OR_ONE_BROKEN, \
|
||||
clear_to_zero_or_one_broken) \
|
||||
GPU_OP(DISABLE_BLEND_EQUATION_ADVANCED, \
|
||||
disable_blend_equation_advanced) \
|
||||
GPU_OP(DISABLE_DISCARD_FRAMEBUFFER, \
|
||||
disable_discard_framebuffer) \
|
||||
// The End
|
||||
|
@ -2333,8 +2333,7 @@ void GrGLCaps::applyDriverCorrectnessWorkarounds(const GrGLContextInfo& ctxInfo,
|
||||
GrShaderCaps* shaderCaps) {
|
||||
// A driver but on the nexus 6 causes incorrect dst copies when invalidate is called beforehand.
|
||||
// Thus we are blacklisting this extension for now on Adreno4xx devices.
|
||||
if (kAdreno4xx_GrGLRenderer == ctxInfo.renderer() ||
|
||||
fDriverBugWorkarounds.disable_discard_framebuffer) {
|
||||
if (kAdreno4xx_GrGLRenderer == ctxInfo.renderer()) {
|
||||
fDiscardRenderTargetSupport = false;
|
||||
fInvalidateFBType = kNone_InvalidateFBType;
|
||||
}
|
||||
|
@ -1,2 +1,3 @@
|
||||
avoid_stencil_buffers
|
||||
disable_blend_equation_advanced
|
||||
disable_discard_framebuffer
|
||||
clear_to_zero_or_one_broken
|
||||
|
Loading…
Reference in New Issue
Block a user