OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 void sampleCoverage(GC3Dclampf value, GC3Dboolean invert); | 666 void sampleCoverage(GC3Dclampf value, GC3Dboolean invert); |
667 void scissor(GC3Dint x, GC3Dint y, GC3Dsizei width, GC3Dsizei height); | 667 void scissor(GC3Dint x, GC3Dint y, GC3Dsizei width, GC3Dsizei height); |
668 void shaderSource(Platform3DObject, const String& string); | 668 void shaderSource(Platform3DObject, const String& string); |
669 void stencilFunc(GC3Denum func, GC3Dint ref, GC3Duint mask); | 669 void stencilFunc(GC3Denum func, GC3Dint ref, GC3Duint mask); |
670 void stencilFuncSeparate(GC3Denum face, GC3Denum func, GC3Dint ref, GC3Duint
mask); | 670 void stencilFuncSeparate(GC3Denum face, GC3Denum func, GC3Dint ref, GC3Duint
mask); |
671 void stencilMask(GC3Duint mask); | 671 void stencilMask(GC3Duint mask); |
672 void stencilMaskSeparate(GC3Denum face, GC3Duint mask); | 672 void stencilMaskSeparate(GC3Denum face, GC3Duint mask); |
673 void stencilOp(GC3Denum fail, GC3Denum zfail, GC3Denum zpass); | 673 void stencilOp(GC3Denum fail, GC3Denum zfail, GC3Denum zpass); |
674 void stencilOpSeparate(GC3Denum face, GC3Denum fail, GC3Denum zfail, GC3Denu
m zpass); | 674 void stencilOpSeparate(GC3Denum face, GC3Denum fail, GC3Denum zfail, GC3Denu
m zpass); |
675 | 675 |
676 bool texImage2D(GC3Denum target, GC3Dint level, GC3Denum internalformat, GC3
Dsizei width, GC3Dsizei height, GC3Dint border, GC3Denum format, GC3Denum type,
const void* pixels); | 676 void texImage2D(GC3Denum target, GC3Dint level, GC3Denum internalformat, GC3
Dsizei width, GC3Dsizei height, GC3Dint border, GC3Denum format, GC3Denum type,
const void* pixels); |
677 void texParameterf(GC3Denum target, GC3Denum pname, GC3Dfloat param); | 677 void texParameterf(GC3Denum target, GC3Denum pname, GC3Dfloat param); |
678 void texParameteri(GC3Denum target, GC3Denum pname, GC3Dint param); | 678 void texParameteri(GC3Denum target, GC3Denum pname, GC3Dint param); |
679 void texSubImage2D(GC3Denum target, GC3Dint level, GC3Dint xoffset, GC3Dint
yoffset, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denum type, cons
t void* pixels); | 679 void texSubImage2D(GC3Denum target, GC3Dint level, GC3Dint xoffset, GC3Dint
yoffset, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denum type, cons
t void* pixels); |
680 | 680 |
681 void uniform1f(GC3Dint location, GC3Dfloat x); | 681 void uniform1f(GC3Dint location, GC3Dfloat x); |
682 void uniform1fv(GC3Dint location, GC3Dsizei, GC3Dfloat* v); | 682 void uniform1fv(GC3Dint location, GC3Dsizei, GC3Dfloat* v); |
683 void uniform1i(GC3Dint location, GC3Dint x); | 683 void uniform1i(GC3Dint location, GC3Dint x); |
684 void uniform1iv(GC3Dint location, GC3Dsizei, GC3Dint* v); | 684 void uniform1iv(GC3Dint location, GC3Dsizei, GC3Dint* v); |
685 void uniform2f(GC3Dint location, GC3Dfloat x, GC3Dfloat y); | 685 void uniform2f(GC3Dint location, GC3Dfloat x, GC3Dfloat y); |
686 void uniform2fv(GC3Dint location, GC3Dsizei, GC3Dfloat* v); | 686 void uniform2fv(GC3Dint location, GC3Dsizei, GC3Dfloat* v); |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 | 894 |
895 #if !PLATFORM(BLACKBERRY) | 895 #if !PLATFORM(BLACKBERRY) |
896 friend class GraphicsContext3DPrivate; | 896 friend class GraphicsContext3DPrivate; |
897 OwnPtr<GraphicsContext3DPrivate> m_private; | 897 OwnPtr<GraphicsContext3DPrivate> m_private; |
898 #endif | 898 #endif |
899 }; | 899 }; |
900 | 900 |
901 } // namespace WebCore | 901 } // namespace WebCore |
902 | 902 |
903 #endif // GraphicsContext3D_h | 903 #endif // GraphicsContext3D_h |
OLD | NEW |