Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: gpu/command_buffer/common/gles2_cmd_utils.h

Issue 169403005: command_buffer: Implement path rendering functions for CHROMIUM_path_rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nv-pr-02-texgen
Patch Set: improve parameter validation and write up the extension .txt file Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/common/gles2_cmd_utils.h
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.h b/gpu/command_buffer/common/gles2_cmd_utils.h
index 0df1f314835a76d18bc8788bc147282015b213e3..be893db478b4b896ec2fd211e1419f4976d05fb5 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils.h
@@ -126,6 +126,8 @@ class GLES2_UTILS_EXPORT GLES2Util {
static size_t GetGLTypeSizeForTexturesAndBuffers(uint32 type);
+ static size_t GetComponentCountForGLTransformType(uint32 type);
+
static uint32 GLErrorToErrorBit(uint32 gl_error);
static uint32 GLErrorBitToGLError(uint32 error_bit);

Powered by Google App Engine
This is Rietveld 408576698