OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
6 | 6 |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <list> | 10 #include <list> |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 DLOG(ERROR) << "Invalid context creation attribute: " << attrib; | 375 DLOG(ERROR) << "Invalid context creation attribute: " << attrib; |
376 return false; | 376 return false; |
377 } | 377 } |
378 } | 378 } |
379 | 379 |
380 return true; | 380 return true; |
381 } | 381 } |
382 | 382 |
383 // } // anonymous namespace. | 383 // } // anonymous namespace. |
384 | 384 |
| 385 bool GLES2Decoder::GetServiceTextureId(uint32 client_texture_id, |
| 386 uint32* service_texture_id) { |
| 387 return false; |
| 388 } |
| 389 |
385 GLES2Decoder::GLES2Decoder() | 390 GLES2Decoder::GLES2Decoder() |
386 : debug_(false) { | 391 : debug_(false) { |
387 } | 392 } |
388 | 393 |
389 GLES2Decoder::~GLES2Decoder() { | 394 GLES2Decoder::~GLES2Decoder() { |
390 } | 395 } |
391 | 396 |
392 class VertexAttribManager { | 397 class VertexAttribManager { |
393 public: | 398 public: |
394 // Info about Vertex Attributes. This is used to track what the user currently | 399 // Info about Vertex Attributes. This is used to track what the user currently |
(...skipping 5600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5995 return error::kNoError; | 6000 return error::kNoError; |
5996 } | 6001 } |
5997 | 6002 |
5998 // Include the auto-generated part of this file. We split this because it means | 6003 // Include the auto-generated part of this file. We split this because it means |
5999 // we can easily edit the non-auto generated parts right here in this file | 6004 // we can easily edit the non-auto generated parts right here in this file |
6000 // instead of having to edit some template or the code generator. | 6005 // instead of having to edit some template or the code generator. |
6001 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" | 6006 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" |
6002 | 6007 |
6003 } // namespace gles2 | 6008 } // namespace gles2 |
6004 } // namespace gpu | 6009 } // namespace gpu |
OLD | NEW |