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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" 5 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 client_buffer_id_(100), 46 client_buffer_id_(100),
47 client_framebuffer_id_(101), 47 client_framebuffer_id_(101),
48 client_program_id_(102), 48 client_program_id_(102),
49 client_renderbuffer_id_(103), 49 client_renderbuffer_id_(103),
50 client_shader_id_(104), 50 client_shader_id_(104),
51 client_texture_id_(106), 51 client_texture_id_(106),
52 client_element_buffer_id_(107), 52 client_element_buffer_id_(107),
53 client_vertex_shader_id_(121), 53 client_vertex_shader_id_(121),
54 client_fragment_shader_id_(122), 54 client_fragment_shader_id_(122),
55 client_query_id_(123), 55 client_query_id_(123),
56 client_vertexarray_id_(124) { 56 client_vertexarray_id_(124),
57 client_path_id_(125) {
57 memset(immediate_buffer_, 0xEE, sizeof(immediate_buffer_)); 58 memset(immediate_buffer_, 0xEE, sizeof(immediate_buffer_));
58 } 59 }
59 60
60 GLES2DecoderTestBase::~GLES2DecoderTestBase() {} 61 GLES2DecoderTestBase::~GLES2DecoderTestBase() {}
61 62
62 void GLES2DecoderTestBase::SetUp() { 63 void GLES2DecoderTestBase::SetUp() {
63 InitState init; 64 InitState init;
64 init.gl_version = "3.0"; 65 init.gl_version = "3.0";
65 init.has_alpha = true; 66 init.has_alpha = true;
66 init.has_depth = true; 67 init.has_depth = true;
(...skipping 1410 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 SetupDefaultProgram(); 1478 SetupDefaultProgram();
1478 } 1479 }
1479 1480
1480 // Include the auto-generated part of this file. We split this because it means 1481 // Include the auto-generated part of this file. We split this because it means
1481 // we can easily edit the non-auto generated parts right here in this file 1482 // we can easily edit the non-auto generated parts right here in this file
1482 // instead of having to edit some template or the code generator. 1483 // instead of having to edit some template or the code generator.
1483 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h" 1484 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h"
1484 1485
1485 } // namespace gles2 1486 } // namespace gles2
1486 } // namespace gpu 1487 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698