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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation_impl_autogen.h

Issue 1146633002: Update target of texStorage2D for ES 3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update gl_tests Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | gpu/command_buffer/cmd_buffer_functions.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 2962 matching lines...) Expand 10 before | Expand all | Expand 10 after
2973 } 2973 }
2974 2974
2975 void GLES2Implementation::TexStorage2DEXT(GLenum target, 2975 void GLES2Implementation::TexStorage2DEXT(GLenum target,
2976 GLsizei levels, 2976 GLsizei levels,
2977 GLenum internalFormat, 2977 GLenum internalFormat,
2978 GLsizei width, 2978 GLsizei width,
2979 GLsizei height) { 2979 GLsizei height) {
2980 GPU_CLIENT_SINGLE_THREAD_CHECK(); 2980 GPU_CLIENT_SINGLE_THREAD_CHECK();
2981 GPU_CLIENT_LOG( 2981 GPU_CLIENT_LOG(
2982 "[" << GetLogPrefix() << "] glTexStorage2DEXT(" 2982 "[" << GetLogPrefix() << "] glTexStorage2DEXT("
2983 << GLES2Util::GetStringTextureTarget(target) << ", " << levels << ", " 2983 << GLES2Util::GetStringTextureBindTarget(target) << ", " << levels
2984 << ", "
2984 << GLES2Util::GetStringTextureInternalFormatStorage(internalFormat) 2985 << GLES2Util::GetStringTextureInternalFormatStorage(internalFormat)
2985 << ", " << width << ", " << height << ")"); 2986 << ", " << width << ", " << height << ")");
2986 if (levels < 0) { 2987 if (levels < 0) {
2987 SetGLError(GL_INVALID_VALUE, "glTexStorage2DEXT", "levels < 0"); 2988 SetGLError(GL_INVALID_VALUE, "glTexStorage2DEXT", "levels < 0");
2988 return; 2989 return;
2989 } 2990 }
2990 if (width < 0) { 2991 if (width < 0) {
2991 SetGLError(GL_INVALID_VALUE, "glTexStorage2DEXT", "width < 0"); 2992 SetGLError(GL_INVALID_VALUE, "glTexStorage2DEXT", "width < 0");
2992 return; 2993 return;
2993 } 2994 }
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
3459 3460
3460 void GLES2Implementation::BlendBarrierKHR() { 3461 void GLES2Implementation::BlendBarrierKHR() {
3461 GPU_CLIENT_SINGLE_THREAD_CHECK(); 3462 GPU_CLIENT_SINGLE_THREAD_CHECK();
3462 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBlendBarrierKHR(" 3463 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBlendBarrierKHR("
3463 << ")"); 3464 << ")");
3464 helper_->BlendBarrierKHR(); 3465 helper_->BlendBarrierKHR();
3465 CheckGLError(); 3466 CheckGLError();
3466 } 3467 }
3467 3468
3468 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ 3469 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/cmd_buffer_functions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698