summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'gpu')
-rw-r--r--gpu/config/gpu_driver_bug_list_json.cc15
-rw-r--r--gpu/config/gpu_driver_bug_workaround_type.h2
2 files changed, 17 insertions, 0 deletions
diff --git a/gpu/config/gpu_driver_bug_list_json.cc b/gpu/config/gpu_driver_bug_list_json.cc
index 325a1e6..a7195b1 100644
--- a/gpu/config/gpu_driver_bug_list_json.cc
+++ b/gpu/config/gpu_driver_bug_list_json.cc
@@ -1765,6 +1765,21 @@ LONG_STRING_CONST(
"features": [
"max_texture_size_limit_4096"
]
+ },
+ {
+ "id": 148,
+ "description": "Mali-4xx GPU on JB doesn't support DetachGLContext",
+ "os": {
+ "type": "android",
+ "version": {
+ "op": "<=",
+ "value": "4.4.4"
+ }
+ },
+ "gl_renderer": ".*Mali-4.*",
+ "features": [
+ "surface_texture_cant_detach"
+ ]
}
]
}
diff --git a/gpu/config/gpu_driver_bug_workaround_type.h b/gpu/config/gpu_driver_bug_workaround_type.h
index d65cdca..71ea843 100644
--- a/gpu/config/gpu_driver_bug_workaround_type.h
+++ b/gpu/config/gpu_driver_bug_workaround_type.h
@@ -120,6 +120,8 @@
set_texture_filter_before_generating_mipmap) \
GPU_OP(SIMULATE_OUT_OF_MEMORY_ON_LARGE_TEXTURES, \
simulate_out_of_memory_on_large_textures) \
+ GPU_OP(SURFACE_TEXTURE_CANT_DETACH, \
+ surface_texture_cant_detach) \
GPU_OP(SWIZZLE_RGBA_FOR_ASYNC_READPIXELS, \
swizzle_rgba_for_async_readpixels) \
GPU_OP(TEXSUBIMAGE_FASTER_THAN_TEXIMAGE, \