From 6edf92433a1c328f0b8e166fefc687e691dd7298 Mon Sep 17 00:00:00 2001 From: Nicolas Roard Date: Wed, 3 Nov 2010 19:49:27 -0700 Subject: 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 --- WebCore/platform/graphics/android/GLUtils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'WebCore/platform/graphics/android/GLUtils.h') 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); -- cgit v1.1