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

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

Issue 2525393002: Use the extensions generated by FeatureInfo in the passthrough cmd decoder. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 case GL_SHADING_LANGUAGE_VERSION: 1139 case GL_SHADING_LANGUAGE_VERSION:
1140 *result = GetServiceShadingLanguageVersionString(feature_info_.get()); 1140 *result = GetServiceShadingLanguageVersionString(feature_info_.get());
1141 break; 1141 break;
1142 case GL_RENDERER: 1142 case GL_RENDERER:
1143 *result = GetServiceRendererString(feature_info_.get()); 1143 *result = GetServiceRendererString(feature_info_.get());
1144 break; 1144 break;
1145 case GL_VENDOR: 1145 case GL_VENDOR:
1146 *result = GetServiceVendorString(feature_info_.get()); 1146 *result = GetServiceVendorString(feature_info_.get());
1147 break; 1147 break;
1148 case GL_EXTENSIONS: 1148 case GL_EXTENSIONS:
1149 *result = extension_string_.c_str(); 1149 *result = feature_info_->extensions().c_str();
1150 break; 1150 break;
1151 default: 1151 default:
1152 *result = reinterpret_cast<const char*>(glGetString(name)); 1152 *result = reinterpret_cast<const char*>(glGetString(name));
1153 break; 1153 break;
1154 } 1154 }
1155 1155
1156 return error::kNoError; 1156 return error::kNoError;
1157 } 1157 }
1158 1158
1159 error::Error GLES2DecoderPassthroughImpl::DoGetSynciv(GLuint sync, 1159 error::Error GLES2DecoderPassthroughImpl::DoGetSynciv(GLuint sync,
(...skipping 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after
3235 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM( 3235 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM(
3236 GLint location, 3236 GLint location,
3237 GLboolean transpose, 3237 GLboolean transpose,
3238 const volatile GLfloat* defaultValue) { 3238 const volatile GLfloat* defaultValue) {
3239 NOTIMPLEMENTED(); 3239 NOTIMPLEMENTED();
3240 return error::kNoError; 3240 return error::kNoError;
3241 } 3241 }
3242 3242
3243 } // namespace gles2 3243 } // namespace gles2
3244 } // namespace gpu 3244 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698