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

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

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
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 16 matching lines...) Expand all
27 << GLES2Util::GetStringBufferTarget(target) << ", " 27 << GLES2Util::GetStringBufferTarget(target) << ", "
28 << buffer << ")"); 28 << buffer << ")");
29 if (IsBufferReservedId(buffer)) { 29 if (IsBufferReservedId(buffer)) {
30 SetGLError(GL_INVALID_OPERATION, "BindBuffer", "buffer reserved id"); 30 SetGLError(GL_INVALID_OPERATION, "BindBuffer", "buffer reserved id");
31 return; 31 return;
32 } 32 }
33 BindBufferHelper(target, buffer); 33 BindBufferHelper(target, buffer);
34 CheckGLError(); 34 CheckGLError();
35 } 35 }
36 36
37 void GLES2Implementation::BindBufferBase(GLenum target,
38 GLuint index,
39 GLuint buffer) {
40 GPU_CLIENT_SINGLE_THREAD_CHECK();
41 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBindBufferBase("
42 << GLES2Util::GetStringIndexedBufferTarget(target) << ", "
43 << index << ", " << buffer << ")");
44 helper_->BindBufferBase(target, index, buffer);
45 CheckGLError();
46 }
47
37 void GLES2Implementation::BindFramebuffer(GLenum target, GLuint framebuffer) { 48 void GLES2Implementation::BindFramebuffer(GLenum target, GLuint framebuffer) {
38 GPU_CLIENT_SINGLE_THREAD_CHECK(); 49 GPU_CLIENT_SINGLE_THREAD_CHECK();
39 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBindFramebuffer(" 50 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBindFramebuffer("
40 << GLES2Util::GetStringFrameBufferTarget(target) << ", " 51 << GLES2Util::GetStringFrameBufferTarget(target) << ", "
41 << framebuffer << ")"); 52 << framebuffer << ")");
42 if (IsFramebufferReservedId(framebuffer)) { 53 if (IsFramebufferReservedId(framebuffer)) {
43 SetGLError(GL_INVALID_OPERATION, "BindFramebuffer", 54 SetGLError(GL_INVALID_OPERATION, "BindFramebuffer",
44 "framebuffer reserved id"); 55 "framebuffer reserved id");
45 return; 56 return;
46 } 57 }
(...skipping 3012 matching lines...) Expand 10 before | Expand all | Expand 10 after
3059 3070
3060 void GLES2Implementation::BlendBarrierKHR() { 3071 void GLES2Implementation::BlendBarrierKHR() {
3061 GPU_CLIENT_SINGLE_THREAD_CHECK(); 3072 GPU_CLIENT_SINGLE_THREAD_CHECK();
3062 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBlendBarrierKHR(" 3073 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBlendBarrierKHR("
3063 << ")"); 3074 << ")");
3064 helper_->BlendBarrierKHR(); 3075 helper_->BlendBarrierKHR();
3065 CheckGLError(); 3076 CheckGLError();
3066 } 3077 }
3067 3078
3068 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ 3079 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698