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

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

Issue 12581004: Move InsertSyncPoint to GLES2Interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 9 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 | Annotate | Revision Log
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 // 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 <algorithm> 9 #include <algorithm>
10 #include <map> 10 #include <map>
(...skipping 3429 matching lines...) Expand 10 before | Expand all | Expand 10 after
3440 } 3440 }
3441 3441
3442 void GLES2Implementation::WaitAsyncTexImage2DCHROMIUM(GLenum target) { 3442 void GLES2Implementation::WaitAsyncTexImage2DCHROMIUM(GLenum target) {
3443 GPU_CLIENT_SINGLE_THREAD_CHECK(); 3443 GPU_CLIENT_SINGLE_THREAD_CHECK();
3444 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glWaitAsyncTexImage2DCHROMIUM(" 3444 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glWaitAsyncTexImage2DCHROMIUM("
3445 << GLES2Util::GetStringTextureTarget(target) << ")"); 3445 << GLES2Util::GetStringTextureTarget(target) << ")");
3446 helper_->WaitAsyncTexImage2DCHROMIUM(target); 3446 helper_->WaitAsyncTexImage2DCHROMIUM(target);
3447 CheckGLError(); 3447 CheckGLError();
3448 } 3448 }
3449 3449
3450 GLuint GLES2Implementation::InsertSyncPointCHROMIUM() {
3451 GPU_CLIENT_SINGLE_THREAD_CHECK();
3452 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glInsertSyncPointCHROMIUM");
3453 return helper_->InsertSyncPointCHROMIUM();
3454 }
3455
3450 // Include the auto-generated part of this file. We split this because it means 3456 // Include the auto-generated part of this file. We split this because it means
3451 // we can easily edit the non-auto generated parts right here in this file 3457 // we can easily edit the non-auto generated parts right here in this file
3452 // instead of having to edit some template or the code generator. 3458 // instead of having to edit some template or the code generator.
3453 #include "../client/gles2_implementation_impl_autogen.h" 3459 #include "../client/gles2_implementation_impl_autogen.h"
3454 3460
3455 } // namespace gles2 3461 } // namespace gles2
3456 } // namespace gpu 3462 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_cmd_helper.h ('k') | gpu/command_buffer/client/gles2_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698