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

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

Issue 1325433003: command_buffer: Add support for creating non-WebGL ES 3 contexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing hunk Created 5 years, 3 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/framebuffer_manager.cc
diff --git a/gpu/command_buffer/service/framebuffer_manager.cc b/gpu/command_buffer/service/framebuffer_manager.cc
index 4a4ffde26f240c07849d2eb09ba59f093002b234..b78a5dcb6bc8976fdda9da4eb4c7e02aa6cd0887 100644
--- a/gpu/command_buffer/service/framebuffer_manager.cc
+++ b/gpu/command_buffer/service/framebuffer_manager.cc
@@ -245,7 +245,7 @@ FramebufferManager::TextureDetachObserver::~TextureDetachObserver() {}
FramebufferManager::FramebufferManager(
uint32 max_draw_buffers,
uint32 max_color_attachments,
- ContextGroup::ContextType context_type,
+ ContextType context_type,
const scoped_refptr<FramebufferCompletenessCache>&
framebuffer_combo_complete_cache)
: framebuffer_state_change_count_(1),
@@ -491,7 +491,7 @@ GLenum Framebuffer::IsPossiblyComplete() const {
if (width == 0 || height == 0) {
return GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT;
}
- } else if (manager_->context_type() != ContextGroup::CONTEXT_TYPE_WEBGL2) {
+ } else if (manager_->context_type() != CONTEXT_TYPE_WEBGL2) {
// TODO(zmo): revisit this if we create ES3 contexts for clients other
// than WebGL 2.
if (attachment->width() != width || attachment->height() != height) {
« no previous file with comments | « gpu/command_buffer/service/framebuffer_manager.h ('k') | gpu/command_buffer/service/framebuffer_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698