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

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

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 7d17d64a46221579dba7a359404066443d103831..25021fbeb32d842f4b2a5d411b63ac3d71928a47 100644
--- a/gpu/command_buffer/client/gles2_implementation.h
+++ b/gpu/command_buffer/client/gles2_implementation.h
@@ -510,13 +510,19 @@ class GLES2_IMPL_EXPORT GLES2Implementation
void RestoreElementAndArrayBuffers(bool restore);
void RestoreArrayBuffer(bool restrore);
- // The pixels pointer should already account for unpack skip rows and skip
- // pixels.
+ // The pixels pointer should already account for unpack skip
+ // images/rows/pixels.
void TexSubImage2DImpl(
GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width,
GLsizei height, GLenum format, GLenum type, uint32 unpadded_row_size,
const void* pixels, uint32 pixels_padded_row_size, GLboolean internal,
ScopedTransferBufferPtr* buffer, uint32 buffer_padded_row_size);
+ void TexSubImage3DImpl(
+ GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset,
+ GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type,
+ uint32 unpadded_row_size, const void* pixels,
+ uint32 pixels_padded_row_size, GLboolean internal,
+ ScopedTransferBufferPtr* buffer, uint32 buffer_padded_row_size);
// Helpers for query functions.
bool GetHelper(GLenum pname, GLint* params);
@@ -640,12 +646,18 @@ class GLES2_IMPL_EXPORT GLES2Implementation
// unpack row length as last set by glPixelStorei
GLint unpack_row_length_;
+ // unpack image height as last set by glPixelStorei
+ GLint unpack_image_height_;
+
// unpack skip rows as last set by glPixelStorei
GLint unpack_skip_rows_;
// unpack skip pixels as last set by glPixelStorei
GLint unpack_skip_pixels_;
+ // unpack skip images as last set by glPixelStorei
+ GLint unpack_skip_images_;
+
// pack reverse row order as last set by glPixelstorei
bool pack_reverse_row_order_;
@@ -731,8 +743,7 @@ class GLES2_IMPL_EXPORT GLES2Implementation
GLES2ImplementationErrorMessageCallback* error_message_callback_;
- scoped_ptr<std::string> current_trace_category_;
- scoped_ptr<std::string> current_trace_name_;
+ int current_trace_stack_;
GpuControl* gpu_control_;
« 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