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

Unified Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 477623004: command_buffer: Support instanced path rendering in gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-03-path-funcs
Patch Set: fix msvc signedness warning in an unittest Created 5 years, 2 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/client/gles2_implementation.h
diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h
index c8eb84c61a4aa96adcbb8526cd64c890c017bfe2..9595d3762bd42f999d8caf0e1cab38b40609c6b3 100644
--- a/gpu/command_buffer/client/gles2_implementation.h
+++ b/gpu/command_buffer/client/gles2_implementation.h
@@ -647,6 +647,17 @@ class GLES2_IMPL_EXPORT GLES2Implementation
const std::string& GetLogPrefix() const;
+ bool PrepareInstancedPathCommand(const char* function_name,
+ GLsizei num_paths,
+ GLenum path_name_type,
+ const void* paths,
+ GLenum transform_type,
+ const GLfloat* transform_values,
+ ScopedTransferBufferPtr* buffer,
+ uint32* out_paths_shm_id,
+ size_t* out_paths_offset,
+ uint32* out_transforms_shm_id,
+ size_t* out_transforms_offset);
#if defined(GL_CLIENT_FAIL_GL_ERRORS)
void CheckGLError();
void FailGLError(GLenum error);
« no previous file with comments | « gpu/command_buffer/client/gles2_cmd_helper_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698