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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h

Issue 182413006: Workaround Linux AMD driver bug where TEXTURE_MAX_ANISOTROPY init value is incorrect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rid of ppapi change Created 6 years, 9 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) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 // It is included by gles2_cmd_decoder.cc 9 // It is included by gles2_cmd_decoder.cc
10 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ 10 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_
(...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 return error::kNoError; 1216 return error::kNoError;
1217 } 1217 }
1218 if (params == NULL) { 1218 if (params == NULL) {
1219 return error::kOutOfBounds; 1219 return error::kOutOfBounds;
1220 } 1220 }
1221 LOCAL_COPY_REAL_GL_ERRORS_TO_WRAPPER("GetTexParameterfv"); 1221 LOCAL_COPY_REAL_GL_ERRORS_TO_WRAPPER("GetTexParameterfv");
1222 // Check that the client initialized the result. 1222 // Check that the client initialized the result.
1223 if (result->size != 0) { 1223 if (result->size != 0) {
1224 return error::kInvalidArguments; 1224 return error::kInvalidArguments;
1225 } 1225 }
1226 glGetTexParameterfv(target, pname, params); 1226 DoGetTexParameterfv(target, pname, params);
1227 GLenum error = glGetError(); 1227 GLenum error = glGetError();
1228 if (error == GL_NO_ERROR) { 1228 if (error == GL_NO_ERROR) {
1229 result->SetNumResults(num_values); 1229 result->SetNumResults(num_values);
1230 } else { 1230 } else {
1231 LOCAL_SET_GL_ERROR(error, "GetTexParameterfv", ""); 1231 LOCAL_SET_GL_ERROR(error, "GetTexParameterfv", "");
1232 } 1232 }
1233 return error::kNoError; 1233 return error::kNoError;
1234 } 1234 }
1235 1235
1236 error::Error GLES2DecoderImpl::HandleGetTexParameteriv( 1236 error::Error GLES2DecoderImpl::HandleGetTexParameteriv(
(...skipping 15 matching lines...) Expand all
1252 return error::kNoError; 1252 return error::kNoError;
1253 } 1253 }
1254 if (params == NULL) { 1254 if (params == NULL) {
1255 return error::kOutOfBounds; 1255 return error::kOutOfBounds;
1256 } 1256 }
1257 LOCAL_COPY_REAL_GL_ERRORS_TO_WRAPPER("GetTexParameteriv"); 1257 LOCAL_COPY_REAL_GL_ERRORS_TO_WRAPPER("GetTexParameteriv");
1258 // Check that the client initialized the result. 1258 // Check that the client initialized the result.
1259 if (result->size != 0) { 1259 if (result->size != 0) {
1260 return error::kInvalidArguments; 1260 return error::kInvalidArguments;
1261 } 1261 }
1262 glGetTexParameteriv(target, pname, params); 1262 DoGetTexParameteriv(target, pname, params);
1263 GLenum error = glGetError(); 1263 GLenum error = glGetError();
1264 if (error == GL_NO_ERROR) { 1264 if (error == GL_NO_ERROR) {
1265 result->SetNumResults(num_values); 1265 result->SetNumResults(num_values);
1266 } else { 1266 } else {
1267 LOCAL_SET_GL_ERROR(error, "GetTexParameteriv", ""); 1267 LOCAL_SET_GL_ERROR(error, "GetTexParameteriv", "");
1268 } 1268 }
1269 return error::kNoError; 1269 return error::kNoError;
1270 } 1270 }
1271 1271
1272 error::Error GLES2DecoderImpl::HandleGetVertexAttribfv( 1272 error::Error GLES2DecoderImpl::HandleGetVertexAttribfv(
(...skipping 2067 matching lines...) Expand 10 before | Expand all | Expand 10 after
3340 framebuffer_state_.clear_state_dirty = true; 3340 framebuffer_state_.clear_state_dirty = true;
3341 } 3341 }
3342 return false; 3342 return false;
3343 default: 3343 default:
3344 NOTREACHED(); 3344 NOTREACHED();
3345 return false; 3345 return false;
3346 } 3346 }
3347 } 3347 }
3348 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ 3348 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_
3349 3349
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/texture_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698