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

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

Issue 2639973002: Add target argument to Copy{Sub}TextureCHROMIUM entry point (Closed)
Patch Set: use dest_target instead of target Created 3 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 1932 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 GLint source_level,
1953 GLenum dest_target,
1953 GLenum dest_id, 1954 GLenum dest_id,
1954 GLint dest_level, 1955 GLint dest_level,
1955 GLint internalformat, 1956 GLint internalformat,
1956 GLenum dest_type, 1957 GLenum dest_type,
1957 GLboolean unpack_flip_y, 1958 GLboolean unpack_flip_y,
1958 GLboolean unpack_premultiply_alpha, 1959 GLboolean unpack_premultiply_alpha,
1959 GLboolean unpack_unmultiply_alpha) { 1960 GLboolean unpack_unmultiply_alpha) {
1960 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTextureCHROMIUM"); 1961 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTextureCHROMIUM");
1961 gl_->CopyTextureCHROMIUM(source_id, source_level, dest_id, dest_level, 1962 gl_->CopyTextureCHROMIUM(source_id, source_level, dest_target, dest_id,
1962 internalformat, dest_type, unpack_flip_y, 1963 dest_level, internalformat, dest_type, unpack_flip_y,
1963 unpack_premultiply_alpha, unpack_unmultiply_alpha); 1964 unpack_premultiply_alpha, unpack_unmultiply_alpha);
1964 } 1965 }
1965 1966
1966 void GLES2TraceImplementation::CopySubTextureCHROMIUM( 1967 void GLES2TraceImplementation::CopySubTextureCHROMIUM(
1967 GLenum source_id, 1968 GLenum source_id,
1968 GLint source_level, 1969 GLint source_level,
1970 GLenum dest_target,
1969 GLenum dest_id, 1971 GLenum dest_id,
1970 GLint dest_level, 1972 GLint dest_level,
1971 GLint xoffset, 1973 GLint xoffset,
1972 GLint yoffset, 1974 GLint yoffset,
1973 GLint x, 1975 GLint x,
1974 GLint y, 1976 GLint y,
1975 GLsizei width, 1977 GLsizei width,
1976 GLsizei height, 1978 GLsizei height,
1977 GLboolean unpack_flip_y, 1979 GLboolean unpack_flip_y,
1978 GLboolean unpack_premultiply_alpha, 1980 GLboolean unpack_premultiply_alpha,
1979 GLboolean unpack_unmultiply_alpha) { 1981 GLboolean unpack_unmultiply_alpha) {
1980 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopySubTextureCHROMIUM"); 1982 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopySubTextureCHROMIUM");
1981 gl_->CopySubTextureCHROMIUM(source_id, source_level, dest_id, dest_level, 1983 gl_->CopySubTextureCHROMIUM(source_id, source_level, dest_target, dest_id,
1982 xoffset, yoffset, x, y, width, height, 1984 dest_level, xoffset, yoffset, x, y, width, height,
1983 unpack_flip_y, unpack_premultiply_alpha, 1985 unpack_flip_y, unpack_premultiply_alpha,
1984 unpack_unmultiply_alpha); 1986 unpack_unmultiply_alpha);
1985 } 1987 }
1986 1988
1987 void GLES2TraceImplementation::CompressedCopyTextureCHROMIUM(GLenum source_id, 1989 void GLES2TraceImplementation::CompressedCopyTextureCHROMIUM(GLenum source_id,
1988 GLenum dest_id) { 1990 GLenum dest_id) {
1989 TRACE_EVENT_BINARY_EFFICIENT0("gpu", 1991 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1990 "GLES2Trace::CompressedCopyTextureCHROMIUM"); 1992 "GLES2Trace::CompressedCopyTextureCHROMIUM");
1991 gl_->CompressedCopyTextureCHROMIUM(source_id, dest_id); 1993 gl_->CompressedCopyTextureCHROMIUM(source_id, dest_id);
1992 } 1994 }
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
2507 void GLES2TraceImplementation::SwapBuffersWithDamageCHROMIUM(GLint x, 2509 void GLES2TraceImplementation::SwapBuffersWithDamageCHROMIUM(GLint x,
2508 GLint y, 2510 GLint y,
2509 GLint width, 2511 GLint width,
2510 GLint height) { 2512 GLint height) {
2511 TRACE_EVENT_BINARY_EFFICIENT0("gpu", 2513 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
2512 "GLES2Trace::SwapBuffersWithDamageCHROMIUM"); 2514 "GLES2Trace::SwapBuffersWithDamageCHROMIUM");
2513 gl_->SwapBuffersWithDamageCHROMIUM(x, y, width, height); 2515 gl_->SwapBuffersWithDamageCHROMIUM(x, y, width, height);
2514 } 2516 }
2515 2517
2516 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ 2518 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698