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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h

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 unified diff | Download patch
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 // This file contains the GLES2DecoderPassthroughImpl class. 5 // This file contains the GLES2DecoderPassthroughImpl class.
6 6
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_
8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 uint8_t cmd_flags; // How to handle this command 309 uint8_t cmd_flags; // How to handle this command
310 uint16_t arg_count; // How many arguments are expected for this command. 310 uint16_t arg_count; // How many arguments are expected for this command.
311 }; 311 };
312 312
313 // A table of CommandInfo for all the commands. 313 // A table of CommandInfo for all the commands.
314 static const CommandInfo command_info[kNumCommands - kFirstGLES2Command]; 314 static const CommandInfo command_info[kNumCommands - kFirstGLES2Command];
315 315
316 // The GL context this decoder renders to on behalf of the client. 316 // The GL context this decoder renders to on behalf of the client.
317 scoped_refptr<gl::GLSurface> surface_; 317 scoped_refptr<gl::GLSurface> surface_;
318 scoped_refptr<gl::GLContext> context_; 318 scoped_refptr<gl::GLContext> context_;
319 bool offscreen_;
319 320
320 // Managers 321 // Managers
321 std::unique_ptr<ImageManager> image_manager_; 322 std::unique_ptr<ImageManager> image_manager_;
322 323
323 // The ContextGroup for this decoder uses to track resources. 324 // The ContextGroup for this decoder uses to track resources.
324 scoped_refptr<ContextGroup> group_; 325 scoped_refptr<ContextGroup> group_;
325 scoped_refptr<FeatureInfo> feature_info_; 326 scoped_refptr<FeatureInfo> feature_info_;
326 327
327 // Callbacks 328 // Callbacks
328 FenceSyncReleaseCallback fence_sync_release_callback_; 329 FenceSyncReleaseCallback fence_sync_release_callback_;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 382
382 // Include the prototypes of all the doer functions from a separate header to 383 // Include the prototypes of all the doer functions from a separate header to
383 // keep this file clean. 384 // keep this file clean.
384 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototyp es.h" 385 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototyp es.h"
385 }; 386 };
386 387
387 } // namespace gles2 388 } // namespace gles2
388 } // namespace gpu 389 } // namespace gpu
389 390
390 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ 391 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698