summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/GLUtils.h
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-11-03 19:49:27 -0700
committerJohn Reck <jreck@google.com>2011-04-11 15:04:49 -0700
commit6edf92433a1c328f0b8e166fefc687e691dd7298 (patch)
treeedd77425c5f5346916789f88001b7ba698c63331 /WebCore/platform/graphics/android/GLUtils.h
parent5ba4a087b9212ca9ae083f015637f417199d85cc (diff)
downloadexternal_webkit-6edf92433a1c328f0b8e166fefc687e691dd7298.zip
external_webkit-6edf92433a1c328f0b8e166fefc687e691dd7298.tar.gz
external_webkit-6edf92433a1c328f0b8e166fefc687e691dd7298.tar.bz2
Implements the focus ring drawing in GL.
In WebView::drawGL(), we check if the extras to draw are rings, and if so we get their rectangles and pass that to GLWebViewState. Updated with holo colors Change-Id: Id5f8941f16dba1733e8a84eae8cd2b317fbc7c55
Diffstat (limited to 'WebCore/platform/graphics/android/GLUtils.h')
-rw-r--r--WebCore/platform/graphics/android/GLUtils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/GLUtils.h b/WebCore/platform/graphics/android/GLUtils.h
index 64aedbb..1e8df39 100644
--- a/WebCore/platform/graphics/android/GLUtils.h
+++ b/WebCore/platform/graphics/android/GLUtils.h
@@ -59,6 +59,7 @@ public:
// Texture utilities
static EGLContext createBackgroundContext(EGLContext sharedContext);
static void deleteTexture(GLuint* texture);
+ static GLuint createSampleColorTexture(int r, int g, int b);
static GLuint createSampleTexture();
static void createTextureWithBitmap(GLuint texture, SkBitmap& bitmap, GLint filter = GL_LINEAR);
static void updateTextureWithBitmap(GLuint texture, SkBitmap& bitmap, GLint filter = GL_LINEAR);