| 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 1931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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::CopyTextureCHROMIUM( | 1950 void GLES2TraceImplementation::CopyTextureCHROMIUM( |
| 1951 GLenum source_id, | 1951 GLenum source_id, |
| 1952 GLint source_level, |
| 1952 GLenum dest_id, | 1953 GLenum dest_id, |
| 1954 GLint dest_level, |
| 1953 GLint internalformat, | 1955 GLint internalformat, |
| 1954 GLenum dest_type, | 1956 GLenum dest_type, |
| 1955 GLboolean unpack_flip_y, | 1957 GLboolean unpack_flip_y, |
| 1956 GLboolean unpack_premultiply_alpha, | 1958 GLboolean unpack_premultiply_alpha, |
| 1957 GLboolean unpack_unmultiply_alpha) { | 1959 GLboolean unpack_unmultiply_alpha) { |
| 1958 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTextureCHROMIUM"); | 1960 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTextureCHROMIUM"); |
| 1959 gl_->CopyTextureCHROMIUM(source_id, dest_id, internalformat, dest_type, | 1961 gl_->CopyTextureCHROMIUM(source_id, source_level, dest_id, dest_level, |
| 1960 unpack_flip_y, unpack_premultiply_alpha, | 1962 internalformat, dest_type, unpack_flip_y, |
| 1961 unpack_unmultiply_alpha); | 1963 unpack_premultiply_alpha, unpack_unmultiply_alpha); |
| 1962 } | 1964 } |
| 1963 | 1965 |
| 1964 void GLES2TraceImplementation::CopySubTextureCHROMIUM( | 1966 void GLES2TraceImplementation::CopySubTextureCHROMIUM( |
| 1965 GLenum source_id, | 1967 GLenum source_id, |
| 1968 GLint source_level, |
| 1966 GLenum dest_id, | 1969 GLenum dest_id, |
| 1970 GLint dest_level, |
| 1967 GLint xoffset, | 1971 GLint xoffset, |
| 1968 GLint yoffset, | 1972 GLint yoffset, |
| 1969 GLint x, | 1973 GLint x, |
| 1970 GLint y, | 1974 GLint y, |
| 1971 GLsizei width, | 1975 GLsizei width, |
| 1972 GLsizei height, | 1976 GLsizei height, |
| 1973 GLboolean unpack_flip_y, | 1977 GLboolean unpack_flip_y, |
| 1974 GLboolean unpack_premultiply_alpha, | 1978 GLboolean unpack_premultiply_alpha, |
| 1975 GLboolean unpack_unmultiply_alpha) { | 1979 GLboolean unpack_unmultiply_alpha) { |
| 1976 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopySubTextureCHROMIUM"); | 1980 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopySubTextureCHROMIUM"); |
| 1977 gl_->CopySubTextureCHROMIUM(source_id, dest_id, xoffset, yoffset, x, y, width, | 1981 gl_->CopySubTextureCHROMIUM(source_id, source_level, dest_id, dest_level, |
| 1978 height, unpack_flip_y, unpack_premultiply_alpha, | 1982 xoffset, yoffset, x, y, width, height, |
| 1983 unpack_flip_y, unpack_premultiply_alpha, |
| 1979 unpack_unmultiply_alpha); | 1984 unpack_unmultiply_alpha); |
| 1980 } | 1985 } |
| 1981 | 1986 |
| 1982 void GLES2TraceImplementation::CompressedCopyTextureCHROMIUM(GLenum source_id, | 1987 void GLES2TraceImplementation::CompressedCopyTextureCHROMIUM(GLenum source_id, |
| 1983 GLenum dest_id) { | 1988 GLenum dest_id) { |
| 1984 TRACE_EVENT_BINARY_EFFICIENT0("gpu", | 1989 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
| 1985 "GLES2Trace::CompressedCopyTextureCHROMIUM"); | 1990 "GLES2Trace::CompressedCopyTextureCHROMIUM"); |
| 1986 gl_->CompressedCopyTextureCHROMIUM(source_id, dest_id); | 1991 gl_->CompressedCopyTextureCHROMIUM(source_id, dest_id); |
| 1987 } | 1992 } |
| 1988 | 1993 |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2502 void GLES2TraceImplementation::SwapBuffersWithDamageCHROMIUM(GLint x, | 2507 void GLES2TraceImplementation::SwapBuffersWithDamageCHROMIUM(GLint x, |
| 2503 GLint y, | 2508 GLint y, |
| 2504 GLint width, | 2509 GLint width, |
| 2505 GLint height) { | 2510 GLint height) { |
| 2506 TRACE_EVENT_BINARY_EFFICIENT0("gpu", | 2511 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
| 2507 "GLES2Trace::SwapBuffersWithDamageCHROMIUM"); | 2512 "GLES2Trace::SwapBuffersWithDamageCHROMIUM"); |
| 2508 gl_->SwapBuffersWithDamageCHROMIUM(x, y, width, height); | 2513 gl_->SwapBuffersWithDamageCHROMIUM(x, y, width, height); |
| 2509 } | 2514 } |
| 2510 | 2515 |
| 2511 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 2516 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
| OLD | NEW |