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

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

Issue 740083003: Add unsafe ES3 APIs to command buffer: glTexStorage3D (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cb
Patch Set: Created 6 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 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 gl_->TexParameteri(target, pname, param); 772 gl_->TexParameteri(target, pname, param);
773 } 773 }
774 774
775 void GLES2TraceImplementation::TexParameteriv(GLenum target, 775 void GLES2TraceImplementation::TexParameteriv(GLenum target,
776 GLenum pname, 776 GLenum pname,
777 const GLint* params) { 777 const GLint* params) {
778 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexParameteriv"); 778 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexParameteriv");
779 gl_->TexParameteriv(target, pname, params); 779 gl_->TexParameteriv(target, pname, params);
780 } 780 }
781 781
782 void GLES2TraceImplementation::TexStorage3D(GLenum target,
783 GLsizei levels,
784 GLenum internalFormat,
785 GLsizei width,
786 GLsizei height,
787 GLsizei depth) {
788 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexStorage3D");
789 gl_->TexStorage3D(target, levels, internalFormat, width, height, depth);
790 }
791
782 void GLES2TraceImplementation::TexSubImage2D(GLenum target, 792 void GLES2TraceImplementation::TexSubImage2D(GLenum target,
783 GLint level, 793 GLint level,
784 GLint xoffset, 794 GLint xoffset,
785 GLint yoffset, 795 GLint yoffset,
786 GLsizei width, 796 GLsizei width,
787 GLsizei height, 797 GLsizei height,
788 GLenum format, 798 GLenum format,
789 GLenum type, 799 GLenum type,
790 const void* pixels) { 800 const void* pixels) {
791 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage2D"); 801 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage2D");
(...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
1692 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); 1702 "GLES2Trace::MatrixLoadIdentityCHROMIUM");
1693 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); 1703 gl_->MatrixLoadIdentityCHROMIUM(matrixMode);
1694 } 1704 }
1695 1705
1696 void GLES2TraceImplementation::BlendBarrierKHR() { 1706 void GLES2TraceImplementation::BlendBarrierKHR() {
1697 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); 1707 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR");
1698 gl_->BlendBarrierKHR(); 1708 gl_->BlendBarrierKHR();
1699 } 1709 }
1700 1710
1701 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ 1711 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_trace_implementation_autogen.h ('k') | gpu/command_buffer/cmd_buffer_functions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698