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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc

Issue 2163493002: Break glScheduleCALayerCHROMIUM into smaller functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp37_cleanup_calayeroverlay
Patch Set: Comments from piman. Created 4 years, 5 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 (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h" 5 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h"
6 6
7 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 8
9 namespace gpu { 9 namespace gpu {
10 namespace gles2 { 10 namespace gles2 {
(...skipping 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after
1851 GLint bounds_y, 1851 GLint bounds_y,
1852 GLint bounds_width, 1852 GLint bounds_width,
1853 GLint bounds_height, 1853 GLint bounds_height,
1854 GLfloat uv_x, 1854 GLfloat uv_x,
1855 GLfloat uv_y, 1855 GLfloat uv_y,
1856 GLfloat uv_width, 1856 GLfloat uv_width,
1857 GLfloat uv_height) { 1857 GLfloat uv_height) {
1858 return error::kNoError; 1858 return error::kNoError;
1859 } 1859 }
1860 1860
1861 error::Error GLES2DecoderPassthroughImpl::DoScheduleCALayerCHROMIUM( 1861 error::Error GLES2DecoderPassthroughImpl::DoScheduleCALayerSharedStateCHROMIUM(
1862 GLuint contents_texture_id,
1863 const GLfloat* contents_rect,
1864 GLfloat opacity, 1862 GLfloat opacity,
1865 GLuint background_color,
1866 GLuint edge_aa_mask,
1867 const GLfloat* bounds_rect,
1868 GLboolean is_clipped, 1863 GLboolean is_clipped,
1869 const GLfloat* clip_rect, 1864 const GLfloat* clip_rect,
1870 GLint sorting_context_id, 1865 GLint sorting_context_id,
1871 const GLfloat* transform) { 1866 const GLfloat* transform) {
1872 return error::kNoError; 1867 return error::kNoError;
1873 } 1868 }
1874 1869
1870 error::Error GLES2DecoderPassthroughImpl::DoScheduleCALayerCHROMIUM(
1871 GLuint contents_texture_id,
1872 const GLfloat* contents_rect,
1873 GLuint background_color,
1874 GLuint edge_aa_mask,
1875 const GLfloat* bounds_rect) {
1876 return error::kNoError;
1877 }
1878
1875 error::Error GLES2DecoderPassthroughImpl::DoScheduleCALayerInUseQueryCHROMIUM( 1879 error::Error GLES2DecoderPassthroughImpl::DoScheduleCALayerInUseQueryCHROMIUM(
1876 GLuint n, 1880 GLuint n,
1877 const GLuint* textures) { 1881 const GLuint* textures) {
1878 return error::kNoError; 1882 return error::kNoError;
1879 } 1883 }
1880 1884
1881 error::Error GLES2DecoderPassthroughImpl::DoCommitOverlayPlanesCHROMIUM() { 1885 error::Error GLES2DecoderPassthroughImpl::DoCommitOverlayPlanesCHROMIUM() {
1882 return error::kNoError; 1886 return error::kNoError;
1883 } 1887 }
1884 1888
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
2132 error::Error 2136 error::Error
2133 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM( 2137 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM(
2134 GLint location, 2138 GLint location,
2135 GLboolean transpose, 2139 GLboolean transpose,
2136 const GLfloat* defaultValue) { 2140 const GLfloat* defaultValue) {
2137 return error::kNoError; 2141 return error::kNoError;
2138 } 2142 }
2139 2143
2140 } // namespace gles2 2144 } // namespace gles2
2141 } // namespace gpu 2145 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698