| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ | 5 #ifndef CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ |
| 6 #define CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ | 6 #define CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ |
| 7 | 7 |
| 8 #if defined(ENABLE_GPU) | 8 #if defined(ENABLE_GPU) |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 virtual void frontFace(unsigned long mode); | 130 virtual void frontFace(unsigned long mode); |
| 131 virtual void generateMipmap(unsigned long target); | 131 virtual void generateMipmap(unsigned long target); |
| 132 | 132 |
| 133 virtual bool getActiveAttrib(WebGLId program, | 133 virtual bool getActiveAttrib(WebGLId program, |
| 134 unsigned long index, | 134 unsigned long index, |
| 135 ActiveInfo&); | 135 ActiveInfo&); |
| 136 virtual bool getActiveUniform(WebGLId program, | 136 virtual bool getActiveUniform(WebGLId program, |
| 137 unsigned long index, | 137 unsigned long index, |
| 138 ActiveInfo&); | 138 ActiveInfo&); |
| 139 | 139 |
| 140 virtual void getAttachedShaders(WebGLId program, |
| 141 int maxCount, |
| 142 int* count, |
| 143 unsigned int* shaders); |
| 144 |
| 140 virtual int getAttribLocation(WebGLId program, const char* name); | 145 virtual int getAttribLocation(WebGLId program, const char* name); |
| 141 | 146 |
| 142 virtual void getBooleanv(unsigned long pname, unsigned char* value); | 147 virtual void getBooleanv(unsigned long pname, unsigned char* value); |
| 143 | 148 |
| 144 virtual void getBufferParameteriv(unsigned long target, | 149 virtual void getBufferParameteriv(unsigned long target, |
| 145 unsigned long pname, | 150 unsigned long pname, |
| 146 int* value); | 151 int* value); |
| 147 | 152 |
| 148 virtual Attributes getContextAttributes(); | 153 virtual Attributes getContextAttributes(); |
| 149 | 154 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 scoped_ptr<uint8> scanline_; | 347 scoped_ptr<uint8> scanline_; |
| 343 void FlipVertically(uint8* framebuffer, | 348 void FlipVertically(uint8* framebuffer, |
| 344 unsigned int width, | 349 unsigned int width, |
| 345 unsigned int height); | 350 unsigned int height); |
| 346 #endif | 351 #endif |
| 347 }; | 352 }; |
| 348 | 353 |
| 349 #endif // defined(ENABLE_GPU) | 354 #endif // defined(ENABLE_GPU) |
| 350 #endif // CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ | 355 #endif // CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ |
| 351 | 356 |
| OLD | NEW |