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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h

Issue 1472993003: Add CommitOverlayPlanesCHROMIUM command buffer function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot to add the extension description txt file 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
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | mojo/gpu/mojo_gles2_impl_autogen.h » ('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 4891 matching lines...) Expand 10 before | Expand all | Expand 10 after
4902 LOCAL_SET_GL_ERROR(GL_INVALID_VALUE, "glDrawBuffersEXT", "count < 0"); 4902 LOCAL_SET_GL_ERROR(GL_INVALID_VALUE, "glDrawBuffersEXT", "count < 0");
4903 return error::kNoError; 4903 return error::kNoError;
4904 } 4904 }
4905 if (bufs == NULL) { 4905 if (bufs == NULL) {
4906 return error::kOutOfBounds; 4906 return error::kOutOfBounds;
4907 } 4907 }
4908 DoDrawBuffersEXT(count, bufs); 4908 DoDrawBuffersEXT(count, bufs);
4909 return error::kNoError; 4909 return error::kNoError;
4910 } 4910 }
4911 4911
4912 error::Error GLES2DecoderImpl::HandleCommitOverlayPlanesCHROMIUM(
4913 uint32_t immediate_data_size,
4914 const void* cmd_data) {
4915 const gles2::cmds::CommitOverlayPlanesCHROMIUM& c =
4916 *static_cast<const gles2::cmds::CommitOverlayPlanesCHROMIUM*>(cmd_data);
4917 (void)c;
4918 DoCommitOverlayPlanes();
4919 return error::kNoError;
4920 }
4921
4912 error::Error GLES2DecoderImpl::HandleSwapInterval(uint32_t immediate_data_size, 4922 error::Error GLES2DecoderImpl::HandleSwapInterval(uint32_t immediate_data_size,
4913 const void* cmd_data) { 4923 const void* cmd_data) {
4914 const gles2::cmds::SwapInterval& c = 4924 const gles2::cmds::SwapInterval& c =
4915 *static_cast<const gles2::cmds::SwapInterval*>(cmd_data); 4925 *static_cast<const gles2::cmds::SwapInterval*>(cmd_data);
4916 (void)c; 4926 (void)c;
4917 GLint interval = static_cast<GLint>(c.interval); 4927 GLint interval = static_cast<GLint>(c.interval);
4918 DoSwapInterval(interval); 4928 DoSwapInterval(interval);
4919 return error::kNoError; 4929 return error::kNoError;
4920 } 4930 }
4921 4931
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
5145 state_.enable_flags.cached_primitive_restart_fixed_index = enabled; 5155 state_.enable_flags.cached_primitive_restart_fixed_index = enabled;
5146 return true; 5156 return true;
5147 } 5157 }
5148 return false; 5158 return false;
5149 default: 5159 default:
5150 NOTREACHED(); 5160 NOTREACHED();
5151 return false; 5161 return false;
5152 } 5162 }
5153 } 5163 }
5154 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ 5164 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | mojo/gpu/mojo_gles2_impl_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698