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

Side by Side Diff: gpu/command_buffer/client/program_info_manager.cc

Issue 894373004: Add glGetActiveUniformBlockiv to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win bots Created 5 years, 10 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) 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698