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

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

Issue 1236053003: texture mipmap level is not zero-only in ES 3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code rebase Created 5 years 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
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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 gles2::cmds::FramebufferRenderbuffer* c = 662 gles2::cmds::FramebufferRenderbuffer* c =
663 GetCmdSpace<gles2::cmds::FramebufferRenderbuffer>(); 663 GetCmdSpace<gles2::cmds::FramebufferRenderbuffer>();
664 if (c) { 664 if (c) {
665 c->Init(target, attachment, renderbuffertarget, renderbuffer); 665 c->Init(target, attachment, renderbuffertarget, renderbuffer);
666 } 666 }
667 } 667 }
668 668
669 void FramebufferTexture2D(GLenum target, 669 void FramebufferTexture2D(GLenum target,
670 GLenum attachment, 670 GLenum attachment,
671 GLenum textarget, 671 GLenum textarget,
672 GLuint texture) { 672 GLuint texture,
673 GLint level) {
673 gles2::cmds::FramebufferTexture2D* c = 674 gles2::cmds::FramebufferTexture2D* c =
674 GetCmdSpace<gles2::cmds::FramebufferTexture2D>(); 675 GetCmdSpace<gles2::cmds::FramebufferTexture2D>();
675 if (c) { 676 if (c) {
676 c->Init(target, attachment, textarget, texture); 677 c->Init(target, attachment, textarget, texture, level);
677 } 678 }
678 } 679 }
679 680
680 void FramebufferTextureLayer(GLenum target, 681 void FramebufferTextureLayer(GLenum target,
681 GLenum attachment, 682 GLenum attachment,
682 GLuint texture, 683 GLuint texture,
683 GLint level, 684 GLint level,
684 GLint layer) { 685 GLint layer) {
685 gles2::cmds::FramebufferTextureLayer* c = 686 gles2::cmds::FramebufferTextureLayer* c =
686 GetCmdSpace<gles2::cmds::FramebufferTextureLayer>(); 687 GetCmdSpace<gles2::cmds::FramebufferTextureLayer>();
(...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after
2194 GetCmdSpace<gles2::cmds::RenderbufferStorageMultisampleEXT>(); 2195 GetCmdSpace<gles2::cmds::RenderbufferStorageMultisampleEXT>();
2195 if (c) { 2196 if (c) {
2196 c->Init(target, samples, internalformat, width, height); 2197 c->Init(target, samples, internalformat, width, height);
2197 } 2198 }
2198 } 2199 }
2199 2200
2200 void FramebufferTexture2DMultisampleEXT(GLenum target, 2201 void FramebufferTexture2DMultisampleEXT(GLenum target,
2201 GLenum attachment, 2202 GLenum attachment,
2202 GLenum textarget, 2203 GLenum textarget,
2203 GLuint texture, 2204 GLuint texture,
2205 GLint level,
2204 GLsizei samples) { 2206 GLsizei samples) {
2205 gles2::cmds::FramebufferTexture2DMultisampleEXT* c = 2207 gles2::cmds::FramebufferTexture2DMultisampleEXT* c =
2206 GetCmdSpace<gles2::cmds::FramebufferTexture2DMultisampleEXT>(); 2208 GetCmdSpace<gles2::cmds::FramebufferTexture2DMultisampleEXT>();
2207 if (c) { 2209 if (c) {
2208 c->Init(target, attachment, textarget, texture, samples); 2210 c->Init(target, attachment, textarget, texture, level, samples);
2209 } 2211 }
2210 } 2212 }
2211 2213
2212 void TexStorage2DEXT(GLenum target, 2214 void TexStorage2DEXT(GLenum target,
2213 GLsizei levels, 2215 GLsizei levels,
2214 GLenum internalFormat, 2216 GLenum internalFormat,
2215 GLsizei width, 2217 GLsizei width,
2216 GLsizei height) { 2218 GLsizei height) {
2217 gles2::cmds::TexStorage2DEXT* c = GetCmdSpace<gles2::cmds::TexStorage2DEXT>(); 2219 gles2::cmds::TexStorage2DEXT* c = GetCmdSpace<gles2::cmds::TexStorage2DEXT>();
2218 if (c) { 2220 if (c) {
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
3147 3149
3148 void ApplyScreenSpaceAntialiasingCHROMIUM() { 3150 void ApplyScreenSpaceAntialiasingCHROMIUM() {
3149 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c = 3151 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c =
3150 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>(); 3152 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>();
3151 if (c) { 3153 if (c) {
3152 c->Init(); 3154 c->Init();
3153 } 3155 }
3154 } 3156 }
3155 3157
3156 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 3158 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_implementation_impl_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698