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

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

Issue 1551143002: Remove the "target" argument from CopyTextureChromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error. Created 4 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 1922 matching lines...) Expand 10 before | Expand all | Expand 10 after
1933 GLsizei width, 1933 GLsizei width,
1934 GLsizei height, 1934 GLsizei height,
1935 GLuint ioSurfaceId, 1935 GLuint ioSurfaceId,
1936 GLuint plane) { 1936 GLuint plane) {
1937 TRACE_EVENT_BINARY_EFFICIENT0("gpu", 1937 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1938 "GLES2Trace::TexImageIOSurface2DCHROMIUM"); 1938 "GLES2Trace::TexImageIOSurface2DCHROMIUM");
1939 gl_->TexImageIOSurface2DCHROMIUM(target, width, height, ioSurfaceId, plane); 1939 gl_->TexImageIOSurface2DCHROMIUM(target, width, height, ioSurfaceId, plane);
1940 } 1940 }
1941 1941
1942 void GLES2TraceImplementation::CopyTextureCHROMIUM( 1942 void GLES2TraceImplementation::CopyTextureCHROMIUM(
1943 GLenum target,
1944 GLenum source_id, 1943 GLenum source_id,
1945 GLenum dest_id, 1944 GLenum dest_id,
1946 GLint internalformat, 1945 GLint internalformat,
1947 GLenum dest_type, 1946 GLenum dest_type,
1948 GLboolean unpack_flip_y, 1947 GLboolean unpack_flip_y,
1949 GLboolean unpack_premultiply_alpha, 1948 GLboolean unpack_premultiply_alpha,
1950 GLboolean unpack_unmultiply_alpha) { 1949 GLboolean unpack_unmultiply_alpha) {
1951 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTextureCHROMIUM"); 1950 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTextureCHROMIUM");
1952 gl_->CopyTextureCHROMIUM(target, source_id, dest_id, internalformat, 1951 gl_->CopyTextureCHROMIUM(source_id, dest_id, internalformat, dest_type,
1953 dest_type, unpack_flip_y, unpack_premultiply_alpha, 1952 unpack_flip_y, unpack_premultiply_alpha,
1954 unpack_unmultiply_alpha); 1953 unpack_unmultiply_alpha);
1955 } 1954 }
1956 1955
1957 void GLES2TraceImplementation::CopySubTextureCHROMIUM( 1956 void GLES2TraceImplementation::CopySubTextureCHROMIUM(
1958 GLenum target,
1959 GLenum source_id, 1957 GLenum source_id,
1960 GLenum dest_id, 1958 GLenum dest_id,
1961 GLint xoffset, 1959 GLint xoffset,
1962 GLint yoffset, 1960 GLint yoffset,
1963 GLint x, 1961 GLint x,
1964 GLint y, 1962 GLint y,
1965 GLsizei width, 1963 GLsizei width,
1966 GLsizei height, 1964 GLsizei height,
1967 GLboolean unpack_flip_y, 1965 GLboolean unpack_flip_y,
1968 GLboolean unpack_premultiply_alpha, 1966 GLboolean unpack_premultiply_alpha,
1969 GLboolean unpack_unmultiply_alpha) { 1967 GLboolean unpack_unmultiply_alpha) {
1970 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopySubTextureCHROMIUM"); 1968 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopySubTextureCHROMIUM");
1971 gl_->CopySubTextureCHROMIUM( 1969 gl_->CopySubTextureCHROMIUM(source_id, dest_id, xoffset, yoffset, x, y, width,
1972 target, source_id, dest_id, xoffset, yoffset, x, y, width, height, 1970 height, unpack_flip_y, unpack_premultiply_alpha,
1973 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha); 1971 unpack_unmultiply_alpha);
1974 } 1972 }
1975 1973
1976 void GLES2TraceImplementation::CompressedCopyTextureCHROMIUM(GLenum target, 1974 void GLES2TraceImplementation::CompressedCopyTextureCHROMIUM(GLenum target,
1977 GLenum source_id, 1975 GLenum source_id,
1978 GLenum dest_id) { 1976 GLenum dest_id) {
1979 TRACE_EVENT_BINARY_EFFICIENT0("gpu", 1977 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1980 "GLES2Trace::CompressedCopyTextureCHROMIUM"); 1978 "GLES2Trace::CompressedCopyTextureCHROMIUM");
1981 gl_->CompressedCopyTextureCHROMIUM(target, source_id, dest_id); 1979 gl_->CompressedCopyTextureCHROMIUM(target, source_id, dest_id);
1982 } 1980 }
1983 1981
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
2510 gl_->BindFragDataLocationEXT(program, colorNumber, name); 2508 gl_->BindFragDataLocationEXT(program, colorNumber, name);
2511 } 2509 }
2512 2510
2513 GLint GLES2TraceImplementation::GetFragDataIndexEXT(GLuint program, 2511 GLint GLES2TraceImplementation::GetFragDataIndexEXT(GLuint program,
2514 const char* name) { 2512 const char* name) {
2515 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetFragDataIndexEXT"); 2513 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetFragDataIndexEXT");
2516 return gl_->GetFragDataIndexEXT(program, name); 2514 return gl_->GetFragDataIndexEXT(program, name);
2517 } 2515 }
2518 2516
2519 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ 2517 #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