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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc

Issue 2686233004: Mark SwapBuffers for an offscreen surface as unimplemented (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc
index ee25a045d89c983c3e2654c070ab45b51f25e3c6..569e8c5100dfe6c47ba567480815917b98879c81 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc
@@ -75,6 +75,7 @@ GLES2DecoderPassthroughImpl::GLES2DecoderPassthroughImpl(ContextGroup* group)
logger_(&debug_marker_manager_),
surface_(),
context_(),
+ offscreen_(false),
group_(group),
feature_info_(group->feature_info()) {
DCHECK(group);
@@ -161,6 +162,7 @@ bool GLES2DecoderPassthroughImpl::Initialize(
// with SetSurface.
context_ = context;
surface_ = surface;
+ offscreen_ = offscreen;
if (!group_->Initialize(this, attrib_helper.context_type,
disallowed_features)) {

Powered by Google App Engine
This is Rietveld 408576698