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

Unified Diff: gpu/command_buffer/tests/gl_manager.cc

Issue 169403005: command_buffer: Implement path rendering functions for CHROMIUM_path_rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nv-pr-02-texgen
Patch Set: rebase and cleanup ids Created 6 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/tests/gl_manager.cc
diff --git a/gpu/command_buffer/tests/gl_manager.cc b/gpu/command_buffer/tests/gl_manager.cc
index 6e7d4b47ed74d1f6f41e1929922526e703d83fbe..bf0a1bfde2d7d9b054d4c3451a97d7daa7903d19 100644
--- a/gpu/command_buffer/tests/gl_manager.cc
+++ b/gpu/command_buffer/tests/gl_manager.cc
@@ -86,6 +86,7 @@ scoped_refptr<gfx::GLContext>* GLManager::base_context_;
GLManager::Options::Options()
: size(4, 4),
+ stencil_size(-1),
share_group_manager(NULL),
share_mailbox_manager(NULL),
virtual_manager(NULL),
@@ -164,6 +165,7 @@ void GLManager::Initialize(const GLManager::Options& options) {
attrib_helper.blue_size = 8;
attrib_helper.alpha_size = 8;
attrib_helper.depth_size = 16;
+ attrib_helper.stencil_size = options.stencil_size;
attrib_helper.Serialize(&attribs);
if (!context_group) {

Powered by Google App Engine
This is Rietveld 408576698