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

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: address review comments 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 7f036db908c6327eef9dc5b364a6a28353e5f7df..a87b02d1e721de2bd9908c5ac261992305bcd468 100644
--- a/gpu/command_buffer/client/gles2_implementation.h
+++ b/gpu/command_buffer/client/gles2_implementation.h
@@ -645,6 +645,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);

Powered by Google App Engine
This is Rietveld 408576698