| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/client/program_info_manager.h" | 5 #include "gpu/command_buffer/client/program_info_manager.h" |
| 6 | 6 |
| 7 namespace { | 7 namespace { |
| 8 | 8 |
| 9 template<typename T> static T LocalGetAs( | 9 template<typename T> static T LocalGetAs( |
| 10 const std::vector<int8>& data, uint32 offset, size_t size) { | 10 const std::vector<int8>& data, uint32 offset, size_t size) { |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 *params = static_cast<GLint>( | 628 *params = static_cast<GLint>( |
| 629 uniform_block->referenced_by_fragment_shader); | 629 uniform_block->referenced_by_fragment_shader); |
| 630 break; | 630 break; |
| 631 default: | 631 default: |
| 632 NOTREACHED(); | 632 NOTREACHED(); |
| 633 } | 633 } |
| 634 return true; | 634 return true; |
| 635 } | 635 } |
| 636 } | 636 } |
| 637 } | 637 } |
| 638 return false; | 638 return gl->GetActiveUniformBlockivHelper(program, index, pname, params); |
| 639 // TODO(zmo): return gl->GetActiveUniformBlockivHelper( | |
| 640 // program, index, pname, params); | |
| 641 } | 639 } |
| 642 | 640 |
| 643 } // namespace gles2 | 641 } // namespace gles2 |
| 644 } // namespace gpu | 642 } // namespace gpu |
| 645 | 643 |
| OLD | NEW |