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

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

Issue 1152723002: Adding |x|, |y|, |width| and |height| parameters copySubTextureCHROMIUM in WebGraphicsContext3D. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | « no previous file | 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 virtual void copySubTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId, 401 virtual void copySubTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId,
402 WGC3Duint destId, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dint x,
403 WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height) { }
404 // TODO(reveman): Remove method without |x|, |y|, |width|, |height|.
405 // crbug.com/490889
406 virtual void copySubTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId,
402 WGC3Duint destId, WGC3Dint xoffset, WGC3Dint yoffset) { } 407 WGC3Duint destId, WGC3Dint xoffset, WGC3Dint yoffset) { }
403 408
404 // GL_CHROMIUM_shallow_flush 409 // GL_CHROMIUM_shallow_flush
405 virtual void shallowFlushCHROMIUM() { } 410 virtual void shallowFlushCHROMIUM() { }
406 virtual void shallowFinishCHROMIUM() { } 411 virtual void shallowFinishCHROMIUM() { }
407 412
408 // GL_CHROMIUM_subscribe_uniform 413 // GL_CHROMIUM_subscribe_uniform
409 virtual void genValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids) { } 414 virtual void genValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids) { }
410 virtual WebGLId createValuebufferCHROMIUM() { return 0; } 415 virtual WebGLId createValuebufferCHROMIUM() { return 0; }
411 virtual void deleteValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids) { } 416 virtual void deleteValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids) { }
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { } 555 virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { }
551 virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC 3Duint z, WGC3Duint w) { } 556 virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC 3Duint z, WGC3Duint w) { }
552 virtual void vertexAttribI4uiv(WGC3Duint index, const WGC3Duint *v) { } 557 virtual void vertexAttribI4uiv(WGC3Duint index, const WGC3Duint *v) { }
553 virtual void vertexAttribIPointer(WGC3Duint index, WGC3Dint size, WGC3Denum type, WGC3Dsizei stride, WGC3Dintptr pointer) { } 558 virtual void vertexAttribIPointer(WGC3Duint index, WGC3Dint size, WGC3Denum type, WGC3Dsizei stride, WGC3Dintptr pointer) { }
554 virtual void waitSync(WGC3Dsync sync, WGC3Dbitfield flags, WGC3Duint64 timeo ut) { } 559 virtual void waitSync(WGC3Dsync sync, WGC3Dbitfield flags, WGC3Duint64 timeo ut) { }
555 }; 560 };
556 561
557 } // namespace blink 562 } // namespace blink
558 563
559 #endif 564 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698