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

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

Issue 1750123002: Upgrade Tex{Sub}Image{2|3}D to handle ES3 unpack parameters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 e32b3c15b58152f0fca710c55a085c6148aa1c94..79a6a81fb7c7a5ec186b18be0677022c6858e73b 100644
--- a/gpu/command_buffer/client/gles2_implementation.h
+++ b/gpu/command_buffer/client/gles2_implementation.h
@@ -297,6 +297,12 @@ class GLES2_IMPL_EXPORT GLES2Implementation
kUnknownExtensionStatus
};
+ enum Dimension {
+ k2D,
+ k3D,
+ };
+
+
// Base class for mapped resources.
struct MappedResource {
MappedResource(GLenum _access, int _shm_id, void* mem, unsigned int offset)
@@ -693,6 +699,8 @@ class GLES2_IMPL_EXPORT GLES2Implementation
void UpdateCachedExtensionsIfNeeded();
void InvalidateCachedExtensions();
+ PixelStoreParams GetUnpackParameters(Dimension dimension);
+
GLES2Util util_;
GLES2CmdHelper* helper_;
TransferBufferInterface* transfer_buffer_;
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_implementation.cc » ('j') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698