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

Unified Diff: ppapi/proxy/ppb_context_3d_proxy.cc

Issue 7458010: Revert 93066 - Execute all GL commands up to the put offset reported by a each flush.This means g... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/ppb_context_3d_proxy.cc
===================================================================
--- ppapi/proxy/ppb_context_3d_proxy.cc (revision 93137)
+++ ppapi/proxy/ppb_context_3d_proxy.cc (working copy)
@@ -87,7 +87,6 @@
virtual bool Initialize(base::SharedMemory* buffer, int32 size);
virtual gpu::Buffer GetRingBuffer();
virtual State GetState();
- virtual State GetLastState();
virtual void Flush(int32 put_offset);
virtual State FlushSync(int32 put_offset, int32 last_known_get);
virtual void SetGetOffset(int32 get_offset);
@@ -187,10 +186,6 @@
return last_state_;
}
-gpu::CommandBuffer::State PepperCommandBuffer::GetLastState() {
- return last_state_;
-}
-
void PepperCommandBuffer::Flush(int32 put_offset) {
if (last_state_.error != gpu::error::kNoError)
return;
« no previous file with comments | « gpu/gles2_conform_support/egl/display.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698