diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2012-04-19 14:54:31 -0700 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2012-04-20 09:33:49 -0700 |
commit | 2ac76fe4e18c3325c8b3bb8f9435fdc7b96c0aca (patch) | |
tree | e9a2ec93fffb786b8eccf3f4bdba490c769337e6 /Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h | |
parent | 7ad2efca85a989d9ab57e311af605a6fed9c9925 (diff) | |
download | external_webkit-2ac76fe4e18c3325c8b3bb8f9435fdc7b96c0aca.zip external_webkit-2ac76fe4e18c3325c8b3bb8f9435fdc7b96c0aca.tar.gz external_webkit-2ac76fe4e18c3325c8b3bb8f9435fdc7b96c0aca.tar.bz2 |
Better handle the EGL context lost situation.
Unless framework provide a better message, we can't avoid this EGL context issue
totally if mis-match happen again.
Clean up some obsolete code.
Change-Id: Ica03daecd58f9757c8cad41e0f40d5d51b041748
Diffstat (limited to 'Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h b/Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h index cfdccda..d93fd89 100644 --- a/Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h +++ b/Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h @@ -153,7 +153,7 @@ public: m_contrast = contrast; } void setGLDrawInfo(const android::uirenderer::DrawGlInfo* info); - + void forceNeedsInit() { m_needsInit = true; } bool needsInit() { return m_needsInit; } bool usePointSampling(float tileScale, const TransformationMatrix* layerTransform); |