summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/context_state_autogen.h
diff options
context:
space:
mode:
authorzmo <zmo@chromium.org>2015-12-02 09:35:56 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-02 17:36:55 +0000
commitcdfe65d79d2f9c02553392e0f38bb5a2279d31b8 (patch)
tree23de32884e7911ee1deefba640e9fd11c2247296 /gpu/command_buffer/service/context_state_autogen.h
parentc34a2b26aa39a4c6bf9165f59d262c2fe2c9f321 (diff)
downloadchromium_src-cdfe65d79d2f9c02553392e0f38bb5a2279d31b8.zip
chromium_src-cdfe65d79d2f9c02553392e0f38bb5a2279d31b8.tar.gz
chromium_src-cdfe65d79d2f9c02553392e0f38bb5a2279d31b8.tar.bz2
Reland of Upgrade PixelStorei to ES3/WebGL2. (patchset #1 id:1 of https://codereview.chromium.org/1494553002/ )
Reason for revert: revert the revert (i.e., reland) the WebGL 2 CTS failure is due to the bug in the test. I am going to suppress it for now and fix it in khronos and roll in. Original issue's description: > Revert of Upgrade PixelStorei to ES3/WebGL2. (patchset #7 id:160001 of https://codereview.chromium.org/1474513003/ ) > > Reason for revert: > Failing the WebGL 2 CTS: > > WebglConformance.conformance2_state_gl_get_calls: > [3560:1299:1202/051124:INFO:CONSOLE(11)] "context.getParameter(context.UNPACK_SKIP_IMAGES) should be false (of type boolean). Was 0 (of type number).", source: (11) > [3560:1299:1202/051124:INFO:CONSOLE(11)] "FAIL context.getParameter(context.UNPACK_SKIP_IMAGES) should be false (of type boolean). Was 0 (of type number).", source: (11) > [3560:1299:1202/051124:INFO:CONSOLE(11)] "context.getParameter(context.UNPACK_SKIP_PIXELS) should be false (of type boolean). Was 0 (of type number).", source: (11) > [3560:1299:1202/051124:INFO:CONSOLE(11)] "FAIL context.getParameter(context.UNPACK_SKIP_PIXELS) should be false (of type boolean). Was 0 (of type number).", source: (11) > [3560:1299:1202/051124:INFO:CONSOLE(11)] "context.getParameter(context.UNPACK_SKIP_ROWS) should be false (of type boolean). Was 0 (of type number).", source: (11) > [3560:1299:1202/051124:INFO:CONSOLE(11)] "FAIL context.getParameter(context.UNPACK_SKIP_ROWS) should be false (of type boolean). Was 0 (of type number).", source: (11) > > http://build.chromium.org/p/chromium.gpu.fyi/builders/Mac%2010.10%20Release%20%28Intel%29/builds/7016 > http://build.chromium.org/p/chromium.gpu.fyi/builders/Win8%20Debug%20%28NVIDIA%29/builds/10350 > http://build.chromium.org/p/chromium.gpu.fyi/builders/Linux%20Release%20%28NVIDIA%29/builds/33475 > > Original issue's description: > > Upgrade PixelStorei to ES3/WebGL2. > > > > BUG=295792,429053 > > TEST=gpu_unittests, webgl2_conformance > > R=kbr@chromium.org,bajones@chromium.org,piman@chromium.org > > > > Committed: https://crrev.com/c6c114178c562feeddfc4d41a33b9999698a4144 > > Cr-Commit-Position: refs/heads/master@{#362585} > > TBR=bajones@chromium.org,kbr@chromium.org,piman@chromium.org,zmo@chromium.org > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=295792,429053 > > Committed: https://crrev.com/72ea7571631a1922f7c15e7ef5447b8098c1ab24 > Cr-Commit-Position: refs/heads/master@{#362696} TBR=bajones@chromium.org,kbr@chromium.org,piman@chromium.org,jmadill@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=295792,429053 Review URL: https://codereview.chromium.org/1492013002 Cr-Commit-Position: refs/heads/master@{#362741}
Diffstat (limited to 'gpu/command_buffer/service/context_state_autogen.h')
-rw-r--r--gpu/command_buffer/service/context_state_autogen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/context_state_autogen.h b/gpu/command_buffer/service/context_state_autogen.h
index 7278a24..d354bd0 100644
--- a/gpu/command_buffer/service/context_state_autogen.h
+++ b/gpu/command_buffer/service/context_state_autogen.h
@@ -83,6 +83,14 @@ GLint stencil_path_ref;
GLuint stencil_path_mask;
GLint pack_alignment;
GLint unpack_alignment;
+GLint pack_row_length;
+GLint pack_skip_pixels;
+GLint pack_skip_rows;
+GLint unpack_row_length;
+GLint unpack_image_height;
+GLint unpack_skip_pixels;
+GLint unpack_skip_rows;
+GLint unpack_skip_images;
GLfloat polygon_offset_factor;
GLfloat polygon_offset_units;
GLclampf sample_coverage_value;