OLD | NEW |
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 1929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1940 } | 1940 } |
1941 | 1941 |
1942 void GLES2TraceImplementation::PostSubBufferCHROMIUM(GLint x, | 1942 void GLES2TraceImplementation::PostSubBufferCHROMIUM(GLint x, |
1943 GLint y, | 1943 GLint y, |
1944 GLint width, | 1944 GLint width, |
1945 GLint height) { | 1945 GLint height) { |
1946 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::PostSubBufferCHROMIUM"); | 1946 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::PostSubBufferCHROMIUM"); |
1947 gl_->PostSubBufferCHROMIUM(x, y, width, height); | 1947 gl_->PostSubBufferCHROMIUM(x, y, width, height); |
1948 } | 1948 } |
1949 | 1949 |
1950 void GLES2TraceImplementation::TexImageIOSurface2DCHROMIUM(GLenum target, | |
1951 GLsizei width, | |
1952 GLsizei height, | |
1953 GLuint ioSurfaceId, | |
1954 GLuint plane) { | |
1955 TRACE_EVENT_BINARY_EFFICIENT0("gpu", | |
1956 "GLES2Trace::TexImageIOSurface2DCHROMIUM"); | |
1957 gl_->TexImageIOSurface2DCHROMIUM(target, width, height, ioSurfaceId, plane); | |
1958 } | |
1959 | |
1960 void GLES2TraceImplementation::CopyTextureCHROMIUM( | 1950 void GLES2TraceImplementation::CopyTextureCHROMIUM( |
1961 GLenum source_id, | 1951 GLenum source_id, |
1962 GLenum dest_id, | 1952 GLenum dest_id, |
1963 GLint internalformat, | 1953 GLint internalformat, |
1964 GLenum dest_type, | 1954 GLenum dest_type, |
1965 GLboolean unpack_flip_y, | 1955 GLboolean unpack_flip_y, |
1966 GLboolean unpack_premultiply_alpha, | 1956 GLboolean unpack_premultiply_alpha, |
1967 GLboolean unpack_unmultiply_alpha) { | 1957 GLboolean unpack_unmultiply_alpha) { |
1968 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTextureCHROMIUM"); | 1958 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTextureCHROMIUM"); |
1969 gl_->CopyTextureCHROMIUM(source_id, dest_id, internalformat, dest_type, | 1959 gl_->CopyTextureCHROMIUM(source_id, dest_id, internalformat, dest_type, |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2470 GLint location, | 2460 GLint location, |
2471 GLboolean transpose, | 2461 GLboolean transpose, |
2472 const GLfloat* default_value) { | 2462 const GLfloat* default_value) { |
2473 TRACE_EVENT_BINARY_EFFICIENT0( | 2463 TRACE_EVENT_BINARY_EFFICIENT0( |
2474 "gpu", "GLES2Trace::UniformMatrix4fvStreamTextureMatrixCHROMIUM"); | 2464 "gpu", "GLES2Trace::UniformMatrix4fvStreamTextureMatrixCHROMIUM"); |
2475 gl_->UniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, | 2465 gl_->UniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, |
2476 default_value); | 2466 default_value); |
2477 } | 2467 } |
2478 | 2468 |
2479 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 2469 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
OLD | NEW |