Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // A class to emulate GLES2 over command buffers. | 5 // A class to emulate GLES2 over command buffers. |
| 6 | 6 |
| 7 #include "../client/gles2_implementation.h" | 7 #include "../client/gles2_implementation.h" |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 2645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2656 return *result; | 2656 return *result; |
| 2657 } | 2657 } |
| 2658 | 2658 |
| 2659 void GLES2Implementation::DestroyStreamTextureCHROMIUM(GLuint texture) { | 2659 void GLES2Implementation::DestroyStreamTextureCHROMIUM(GLuint texture) { |
| 2660 GPU_CLIENT_LOG("[" << this << "] DestroyStreamTextureCHROMIUM(" | 2660 GPU_CLIENT_LOG("[" << this << "] DestroyStreamTextureCHROMIUM(" |
| 2661 << texture << ")"); | 2661 << texture << ")"); |
| 2662 TRACE_EVENT0("gpu", "GLES2::DestroyStreamTextureCHROMIUM"); | 2662 TRACE_EVENT0("gpu", "GLES2::DestroyStreamTextureCHROMIUM"); |
| 2663 helper_->DestroyStreamTextureCHROMIUM(texture); | 2663 helper_->DestroyStreamTextureCHROMIUM(texture); |
| 2664 } | 2664 } |
| 2665 | 2665 |
| 2666 void GLES2Implementation::PostSubBufferCHROMIUM( | |
| 2667 GLint x, GLint y, GLint width, GLint height) { | |
| 2668 GPU_CLIENT_LOG("[" << this << "] PostSubBufferCHROMIUM(" | |
| 2669 << x << ", " << y << ", " << width << ", " << height << ")"); | |
| 2670 TRACE_EVENT0("gpu", "GLES2::PostSubBufferCHROMIUM"); | |
| 2671 helper_->PostSubBufferCHROMIUM(x, y, width, height); | |
| 2672 } | |
|
apatrick_chromium
2011/11/10 19:33:16
I think the flush should go here. The EGL_NV_post_
jonathan.backer
2011/11/10 21:00:25
Done.
| |
| 2673 | |
| 2666 } // namespace gles2 | 2674 } // namespace gles2 |
| 2667 } // namespace gpu | 2675 } // namespace gpu |
| OLD | NEW |