| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This file is auto-generated from | 5 // This file is auto-generated from |
| 6 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
| 7 // DO NOT EDIT! | 7 // DO NOT EDIT! |
| 8 | 8 |
| 9 // This file is included by gles2_implementation.h to declare the | 9 // This file is included by gles2_implementation.h to declare the |
| 10 // GL api functions. | 10 // GL api functions. |
| (...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1383 if (height < 0) { | 1383 if (height < 0) { |
| 1384 SetGLError( | 1384 SetGLError( |
| 1385 GL_INVALID_VALUE, "glRenderbufferStorageMultisampleEXT: height < 0"); | 1385 GL_INVALID_VALUE, "glRenderbufferStorageMultisampleEXT: height < 0"); |
| 1386 return; | 1386 return; |
| 1387 } | 1387 } |
| 1388 helper_->RenderbufferStorageMultisampleEXT( | 1388 helper_->RenderbufferStorageMultisampleEXT( |
| 1389 target, samples, internalformat, width, height); | 1389 target, samples, internalformat, width, height); |
| 1390 } | 1390 } |
| 1391 | 1391 |
| 1392 void TexStorage2DEXT( | 1392 void TexStorage2DEXT( |
| 1393 GLenum target, GLsizei levels, GLint internalFormat, GLsizei width, | 1393 GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, |
| 1394 GLsizei height) { | 1394 GLsizei height) { |
| 1395 GPU_CLIENT_SINGLE_THREAD_CHECK(); | 1395 GPU_CLIENT_SINGLE_THREAD_CHECK(); |
| 1396 GPU_CLIENT_LOG("[" << this << "] glTexStorage2DEXT(" << GLES2Util::GetStringTe
xtureTarget(target) << ", " << levels << ", " << internalFormat << ", " << width
<< ", " << height << ")"); // NOLINT | 1396 GPU_CLIENT_LOG("[" << this << "] glTexStorage2DEXT(" << GLES2Util::GetStringTe
xtureTarget(target) << ", " << levels << ", " << GLES2Util::GetStringTextureInte
rnalFormatStorage(internalFormat) << ", " << width << ", " << height << ")"); /
/ NOLINT |
| 1397 if (levels < 0) { | 1397 if (levels < 0) { |
| 1398 SetGLError(GL_INVALID_VALUE, "glTexStorage2DEXT: levels < 0"); | 1398 SetGLError(GL_INVALID_VALUE, "glTexStorage2DEXT: levels < 0"); |
| 1399 return; | 1399 return; |
| 1400 } | 1400 } |
| 1401 if (width < 0) { | 1401 if (width < 0) { |
| 1402 SetGLError(GL_INVALID_VALUE, "glTexStorage2DEXT: width < 0"); | 1402 SetGLError(GL_INVALID_VALUE, "glTexStorage2DEXT: width < 0"); |
| 1403 return; | 1403 return; |
| 1404 } | 1404 } |
| 1405 if (height < 0) { | 1405 if (height < 0) { |
| 1406 SetGLError(GL_INVALID_VALUE, "glTexStorage2DEXT: height < 0"); | 1406 SetGLError(GL_INVALID_VALUE, "glTexStorage2DEXT: height < 0"); |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1494 if (height < 0) { | 1494 if (height < 0) { |
| 1495 SetGLError(GL_INVALID_VALUE, "glTexImageIOSurface2DCHROMIUM: height < 0"); | 1495 SetGLError(GL_INVALID_VALUE, "glTexImageIOSurface2DCHROMIUM: height < 0"); |
| 1496 return; | 1496 return; |
| 1497 } | 1497 } |
| 1498 helper_->TexImageIOSurface2DCHROMIUM( | 1498 helper_->TexImageIOSurface2DCHROMIUM( |
| 1499 target, width, height, ioSurfaceId, plane); | 1499 target, width, height, ioSurfaceId, plane); |
| 1500 } | 1500 } |
| 1501 | 1501 |
| 1502 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ | 1502 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ |
| 1503 | 1503 |
| OLD | NEW |