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

Unified Diff: gpu/command_buffer/service/vertex_attrib_manager.h

Issue 11413094: Fix VAOs and client side arrays (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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/service/vertex_attrib_manager.h
diff --git a/gpu/command_buffer/service/vertex_attrib_manager.h b/gpu/command_buffer/service/vertex_attrib_manager.h
index 28e5bd29fecfcf305e70c6eda0925098008a4fc0..9e87ee66d59f0da17a7919e231dbcdf1e9631c34 100644
--- a/gpu/command_buffer/service/vertex_attrib_manager.h
+++ b/gpu/command_buffer/service/vertex_attrib_manager.h
@@ -33,9 +33,6 @@ class GPU_EXPORT VertexAttribManager :
class GPU_EXPORT VertexAttribInfo {
public:
typedef std::list<VertexAttribInfo*> VertexAttribInfoList;
- struct Vec4 {
- float v[4];
- };
VertexAttribInfo();
~VertexAttribInfo();
@@ -79,14 +76,6 @@ class GPU_EXPORT VertexAttribManager :
return enabled_;
}
- void set_value(const Vec4& value) {
- value_ = value;
- }
-
- const Vec4& value() const {
- return value_;
- }
-
// Find the maximum vertex accessed, accounting for instancing.
GLuint MaxVertexAccessed(GLsizei primcount,
GLuint max_vertex_accessed) const {
@@ -171,9 +160,6 @@ class GPU_EXPORT VertexAttribManager :
GLsizei divisor_;
- // The current value of the attrib.
- Vec4 value_;
-
// The buffer bound to this attribute.
BufferManager::BufferInfo::Ref buffer_;
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/vertex_attrib_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698