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

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: improve parameter validation and write up the extension .txt file Created 6 years, 8 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 3211a35e02fa1b3af596c3e62b846d428db9ef28..daca2c7856964328381fe1c75cd78051a91799ed 100644
--- a/gpu/command_buffer/tests/gl_manager.cc
+++ b/gpu/command_buffer/tests/gl_manager.cc
@@ -35,13 +35,15 @@ 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),
bind_generates_resource(false),
lose_context_when_out_of_memory(false),
context_lost_allowed(false),
- image_manager(NULL) {}
+ image_manager(NULL) {
+}
GLManager::GLManager()
: context_lost_allowed_(false) {
@@ -114,6 +116,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