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 1563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1574 } | 1574 } |
1575 | 1575 |
1576 error::Error GLES2DecoderPassthroughImpl::DoScissor(GLint x, | 1576 error::Error GLES2DecoderPassthroughImpl::DoScissor(GLint x, |
1577 GLint y, | 1577 GLint y, |
1578 GLsizei width, | 1578 GLsizei width, |
1579 GLsizei height) { | 1579 GLsizei height) { |
1580 glScissor(x, y, width, height); | 1580 glScissor(x, y, width, height); |
1581 return error::kNoError; | 1581 return error::kNoError; |
1582 } | 1582 } |
1583 | 1583 |
| 1584 error::Error GLES2DecoderPassthroughImpl::DoSetSurfaceHandleCHROMIUM( |
| 1585 GLint surface_handle) { |
| 1586 return error::kNoError; |
| 1587 } |
| 1588 |
1584 error::Error GLES2DecoderPassthroughImpl::DoShaderBinary(GLsizei n, | 1589 error::Error GLES2DecoderPassthroughImpl::DoShaderBinary(GLsizei n, |
1585 const GLuint* shaders, | 1590 const GLuint* shaders, |
1586 GLenum binaryformat, | 1591 GLenum binaryformat, |
1587 const void* binary, | 1592 const void* binary, |
1588 GLsizei length) { | 1593 GLsizei length) { |
1589 NOTIMPLEMENTED(); | 1594 NOTIMPLEMENTED(); |
1590 return error::kNoError; | 1595 return error::kNoError; |
1591 } | 1596 } |
1592 | 1597 |
1593 error::Error GLES2DecoderPassthroughImpl::DoShaderSource(GLuint shader, | 1598 error::Error GLES2DecoderPassthroughImpl::DoShaderSource(GLuint shader, |
(...skipping 1719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3313 GLuint texture, | 3318 GLuint texture, |
3314 GLboolean promotion_hint, | 3319 GLboolean promotion_hint, |
3315 GLint display_x, | 3320 GLint display_x, |
3316 GLint display_y) { | 3321 GLint display_y) { |
3317 NOTIMPLEMENTED(); | 3322 NOTIMPLEMENTED(); |
3318 return error::kNoError; | 3323 return error::kNoError; |
3319 } | 3324 } |
3320 | 3325 |
3321 } // namespace gles2 | 3326 } // namespace gles2 |
3322 } // namespace gpu | 3327 } // namespace gpu |
OLD | NEW |