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

Side by Side Diff: public/platform/WebGraphicsContext3D.h

Issue 1207483004: Pass flipY and premultiplyAlpha params to command buffer through func args. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/graphics/gpu/DrawingBuffer.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 virtual void beginQueryEXT(WGC3Denum target, WebGLId query) { } 390 virtual void beginQueryEXT(WGC3Denum target, WebGLId query) { }
391 virtual void endQueryEXT(WGC3Denum target) { } 391 virtual void endQueryEXT(WGC3Denum target) { }
392 virtual void getQueryivEXT(WGC3Denum target, WGC3Denum pname, WGC3Dint* para ms) { } 392 virtual void getQueryivEXT(WGC3Denum target, WGC3Denum pname, WGC3Dint* para ms) { }
393 virtual void getQueryObjectuivEXT(WebGLId query, WGC3Denum pname, WGC3Duint* params) { } 393 virtual void getQueryObjectuivEXT(WebGLId query, WGC3Denum pname, WGC3Duint* params) { }
394 394
395 // GL_CHROMIUM_bind_uniform_location 395 // GL_CHROMIUM_bind_uniform_location
396 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, const WGC3Dchar* uniform) { } 396 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, const WGC3Dchar* uniform) { }
397 397
398 // GL_CHROMIUM_copy_texture 398 // GL_CHROMIUM_copy_texture
399 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId, 399 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId,
400 WGC3Duint destId, WGC3Denum internalFormat, WGC3Denum destType) { } 400 WGC3Duint destId, WGC3Denum internalFormat, WGC3Denum destType,
401 WGC3Dboolean unpackFlipY, WGC3Dboolean unpackPremultiplyAlpha, WGC3Dbool ean unpackUnmultiplyAlpha) { }
401 virtual void copySubTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId, 402 virtual void copySubTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId,
402 WGC3Duint destId, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dint x, 403 WGC3Duint destId, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dint x,
403 WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height) { } 404 WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height,
405 WGC3Dboolean unpackFlipY, WGC3Dboolean unpackPremultiplyAlpha, WGC3Dbool ean unpackUnmultiplyAlpha) { }
404 406
405 // GL_CHROMIUM_shallow_flush 407 // GL_CHROMIUM_shallow_flush
406 virtual void shallowFlushCHROMIUM() { } 408 virtual void shallowFlushCHROMIUM() { }
407 virtual void shallowFinishCHROMIUM() { } 409 virtual void shallowFinishCHROMIUM() { }
408 410
409 // GL_CHROMIUM_subscribe_uniform 411 // GL_CHROMIUM_subscribe_uniform
410 virtual void genValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids) { } 412 virtual void genValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids) { }
411 virtual WebGLId createValuebufferCHROMIUM() { return 0; } 413 virtual WebGLId createValuebufferCHROMIUM() { return 0; }
412 virtual void deleteValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids) { } 414 virtual void deleteValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids) { }
413 virtual void deleteValuebufferCHROMIUM(WebGLId) { } 415 virtual void deleteValuebufferCHROMIUM(WebGLId) { }
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { } 556 virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { }
555 virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC 3Duint z, WGC3Duint w) { } 557 virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC 3Duint z, WGC3Duint w) { }
556 virtual void vertexAttribI4uiv(WGC3Duint index, const WGC3Duint *v) { } 558 virtual void vertexAttribI4uiv(WGC3Duint index, const WGC3Duint *v) { }
557 virtual void vertexAttribIPointer(WGC3Duint index, WGC3Dint size, WGC3Denum type, WGC3Dsizei stride, WGC3Dintptr pointer) { } 559 virtual void vertexAttribIPointer(WGC3Duint index, WGC3Dint size, WGC3Denum type, WGC3Dsizei stride, WGC3Dintptr pointer) { }
558 virtual void waitSync(WGC3Dsync sync, WGC3Dbitfield flags, WGC3Duint64 timeo ut) { } 560 virtual void waitSync(WGC3Dsync sync, WGC3Dbitfield flags, WGC3Duint64 timeo ut) { }
559 }; 561 };
560 562
561 } // namespace blink 563 } // namespace blink
562 564
563 #endif 565 #endif
OLDNEW
« no previous file with comments | « Source/platform/graphics/gpu/DrawingBuffer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698