OLD | NEW |
---|---|
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 1445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1456 } | 1456 } |
1457 | 1457 |
1458 error::Error GLES2DecoderPassthroughImpl::DoScissor(GLint x, | 1458 error::Error GLES2DecoderPassthroughImpl::DoScissor(GLint x, |
1459 GLint y, | 1459 GLint y, |
1460 GLsizei width, | 1460 GLsizei width, |
1461 GLsizei height) { | 1461 GLsizei height) { |
1462 glScissor(x, y, width, height); | 1462 glScissor(x, y, width, height); |
1463 return error::kNoError; | 1463 return error::kNoError; |
1464 } | 1464 } |
1465 | 1465 |
1466 error::Error GLES2DecoderPassthroughImpl::DoSetSurfaceHandleCHROMIUM( | |
1467 GLint surface_handle) { | |
piman
2016/11/09 17:50:07
Raise an error if not implemented?
What is the pla
| |
1468 return error::kNoError; | |
1469 } | |
1470 | |
1466 error::Error GLES2DecoderPassthroughImpl::DoShaderBinary(GLsizei n, | 1471 error::Error GLES2DecoderPassthroughImpl::DoShaderBinary(GLsizei n, |
1467 const GLuint* shaders, | 1472 const GLuint* shaders, |
1468 GLenum binaryformat, | 1473 GLenum binaryformat, |
1469 const void* binary, | 1474 const void* binary, |
1470 GLsizei length) { | 1475 GLsizei length) { |
1471 NOTIMPLEMENTED(); | 1476 NOTIMPLEMENTED(); |
1472 return error::kNoError; | 1477 return error::kNoError; |
1473 } | 1478 } |
1474 | 1479 |
1475 error::Error GLES2DecoderPassthroughImpl::DoShaderSource(GLuint shader, | 1480 error::Error GLES2DecoderPassthroughImpl::DoShaderSource(GLuint shader, |
(...skipping 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3023 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM( | 3028 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM( |
3024 GLint location, | 3029 GLint location, |
3025 GLboolean transpose, | 3030 GLboolean transpose, |
3026 const volatile GLfloat* defaultValue) { | 3031 const volatile GLfloat* defaultValue) { |
3027 NOTIMPLEMENTED(); | 3032 NOTIMPLEMENTED(); |
3028 return error::kNoError; | 3033 return error::kNoError; |
3029 } | 3034 } |
3030 | 3035 |
3031 } // namespace gles2 | 3036 } // namespace gles2 |
3032 } // namespace gpu | 3037 } // namespace gpu |
OLD | NEW |