| 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 2656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2667 | 2667 |
| 2668 error::Error GLES2DecoderPassthroughImpl::DoReleaseTexImage2DCHROMIUM( | 2668 error::Error GLES2DecoderPassthroughImpl::DoReleaseTexImage2DCHROMIUM( |
| 2669 GLenum target, | 2669 GLenum target, |
| 2670 GLint imageId) { | 2670 GLint imageId) { |
| 2671 // TODO(geofflang): error handling | 2671 // TODO(geofflang): error handling |
| 2672 gl::GLImage* image = image_manager_->LookupImage(imageId); | 2672 gl::GLImage* image = image_manager_->LookupImage(imageId); |
| 2673 image->ReleaseTexImage(target); | 2673 image->ReleaseTexImage(target); |
| 2674 return error::kNoError; | 2674 return error::kNoError; |
| 2675 } | 2675 } |
| 2676 | 2676 |
| 2677 error::Error GLES2DecoderPassthroughImpl::DoCopyImageSubDataCHROMIUM( |
| 2678 GLint source_image_id, |
| 2679 GLint dest_texture_id, |
| 2680 GLint xoffset, |
| 2681 GLint yoffset, |
| 2682 GLint x, |
| 2683 GLint y, |
| 2684 GLsizei width, |
| 2685 GLsizei height, |
| 2686 GLint in_fence_id, |
| 2687 GLint out_fence_id) { |
| 2688 NOTIMPLEMENTED(); |
| 2689 return error::kNoError; |
| 2690 } |
| 2691 |
| 2677 error::Error GLES2DecoderPassthroughImpl::DoTraceBeginCHROMIUM( | 2692 error::Error GLES2DecoderPassthroughImpl::DoTraceBeginCHROMIUM( |
| 2678 const char* category_name, | 2693 const char* category_name, |
| 2679 const char* trace_name) { | 2694 const char* trace_name) { |
| 2680 NOTIMPLEMENTED(); | 2695 NOTIMPLEMENTED(); |
| 2681 return error::kNoError; | 2696 return error::kNoError; |
| 2682 } | 2697 } |
| 2683 | 2698 |
| 2684 error::Error GLES2DecoderPassthroughImpl::DoTraceEndCHROMIUM() { | 2699 error::Error GLES2DecoderPassthroughImpl::DoTraceEndCHROMIUM() { |
| 2685 NOTIMPLEMENTED(); | 2700 NOTIMPLEMENTED(); |
| 2686 return error::kNoError; | 2701 return error::kNoError; |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3069 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM( | 3084 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM( |
| 3070 GLint location, | 3085 GLint location, |
| 3071 GLboolean transpose, | 3086 GLboolean transpose, |
| 3072 const volatile GLfloat* defaultValue) { | 3087 const volatile GLfloat* defaultValue) { |
| 3073 NOTIMPLEMENTED(); | 3088 NOTIMPLEMENTED(); |
| 3074 return error::kNoError; | 3089 return error::kNoError; |
| 3075 } | 3090 } |
| 3076 | 3091 |
| 3077 } // namespace gles2 | 3092 } // namespace gles2 |
| 3078 } // namespace gpu | 3093 } // namespace gpu |
| OLD | NEW |