OLD | NEW |
1 STRINGIFY( | 1 STRINGIFY( |
2 | 2 |
3 // defines built-in functions supported by SkiaSL | 3 // defines built-in functions supported by SkiaSL |
4 | 4 |
5 $genType radians($genType degrees); | 5 $genType radians($genType degrees); |
6 $genType sin($genType angle); | 6 $genType sin($genType angle); |
7 $genType cos($genType angle); | 7 $genType cos($genType angle); |
8 $genType tan($genType angle); | 8 $genType tan($genType angle); |
9 $genType asin($genType x); | 9 $genType asin($genType x); |
10 $genType acos($genType x); | 10 $genType acos($genType x); |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 int textureQueryLevels($gsamplerCubeArray sampler); | 237 int textureQueryLevels($gsamplerCubeArray sampler); |
238 int textureQueryLevels(sampler1DShadow sampler); | 238 int textureQueryLevels(sampler1DShadow sampler); |
239 int textureQueryLevels(sampler2DShadow sampler); | 239 int textureQueryLevels(sampler2DShadow sampler); |
240 int textureQueryLevels(samplerCubeShadow sampler); | 240 int textureQueryLevels(samplerCubeShadow sampler); |
241 int textureQueryLevels(sampler1DArrayShadow sampler); | 241 int textureQueryLevels(sampler1DArrayShadow sampler); |
242 int textureQueryLevels(sampler2DArrayShadow sampler); | 242 int textureQueryLevels(sampler2DArrayShadow sampler); |
243 int textureQueryLevels(samplerCubeArrayShadow sampler); | 243 int textureQueryLevels(samplerCubeArrayShadow sampler); |
244 $gvec4 texture($gsampler1D sampler, float P); | 244 $gvec4 texture($gsampler1D sampler, float P); |
245 $gvec4 texture($gsampler1D sampler, float P, float bias); | 245 $gvec4 texture($gsampler1D sampler, float P, float bias); |
246 $gvec4 texture($gsampler2D sampler, vec2 P); | 246 $gvec4 texture($gsampler2D sampler, vec2 P); |
| 247 vec4 texture(samplerExternalOES sampler, vec2 P, float bias); |
| 248 vec4 texture(samplerExternalOES sampler, vec2 P); |
247 $gvec4 texture($gsampler2D sampler, vec2 P, float bias); | 249 $gvec4 texture($gsampler2D sampler, vec2 P, float bias); |
248 $gvec4 texture($gsampler3D sampler, vec3 P); | 250 $gvec4 texture($gsampler3D sampler, vec3 P); |
249 $gvec4 texture($gsampler3D sampler, vec3 P, float bias); | 251 $gvec4 texture($gsampler3D sampler, vec3 P, float bias); |
250 $gvec4 texture($gsamplerCube sampler, vec3 P); | 252 $gvec4 texture($gsamplerCube sampler, vec3 P); |
251 $gvec4 texture($gsamplerCube sampler, vec3 P, float bias); | 253 $gvec4 texture($gsamplerCube sampler, vec3 P, float bias); |
252 float texture(sampler1DShadow sampler, vec3 P); | 254 float texture(sampler1DShadow sampler, vec3 P); |
253 float texture(sampler1DShadow sampler, vec3 P, float bias); | 255 float texture(sampler1DShadow sampler, vec3 P, float bias); |
254 float texture(sampler2DShadow sampler, vec3 P); | 256 float texture(sampler2DShadow sampler, vec3 P); |
255 float texture(sampler2DShadow sampler, vec3 P, float bias); | 257 float texture(sampler2DShadow sampler, vec3 P, float bias); |
256 float texture(samplerCubeShadow sampler, vec4 P); | 258 float texture(samplerCubeShadow sampler, vec4 P); |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 vec4 texture1D(sampler1D sampler, float coord); | 459 vec4 texture1D(sampler1D sampler, float coord); |
458 vec4 texture1D(sampler1D sampler, float coord, float bias); | 460 vec4 texture1D(sampler1D sampler, float coord, float bias); |
459 vec4 texture1DProj(sampler1D sampler, vec2 coord); | 461 vec4 texture1DProj(sampler1D sampler, vec2 coord); |
460 vec4 texture1DProj(sampler1D sampler, vec2 coord, float bias); | 462 vec4 texture1DProj(sampler1D sampler, vec2 coord, float bias); |
461 vec4 texture1DProj(sampler1D sampler, vec4 coord); | 463 vec4 texture1DProj(sampler1D sampler, vec4 coord); |
462 vec4 texture1DProj(sampler1D sampler, vec4 coord, float bias); | 464 vec4 texture1DProj(sampler1D sampler, vec4 coord, float bias); |
463 vec4 texture1DLod(sampler1D sampler, float coord, float lod); | 465 vec4 texture1DLod(sampler1D sampler, float coord, float lod); |
464 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod); | 466 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod); |
465 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod); | 467 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod); |
466 vec4 texture2D(sampler2D sampler, vec2 coord); | 468 vec4 texture2D(sampler2D sampler, vec2 coord); |
| 469 vec4 texture2D(samplerExternalOES sampler, vec2 coord); |
467 vec4 texture2D(sampler2D sampler, vec2 coord, float bias); | 470 vec4 texture2D(sampler2D sampler, vec2 coord, float bias); |
468 vec4 texture2DProj(sampler2D sampler, vec3 coord); | 471 vec4 texture2DProj(sampler2D sampler, vec3 coord); |
469 vec4 texture2DProj(sampler2D sampler, vec3 coord, float bias); | 472 vec4 texture2DProj(sampler2D sampler, vec3 coord, float bias); |
470 vec4 texture2DProj(sampler2D sampler, vec4 coord); | 473 vec4 texture2DProj(sampler2D sampler, vec4 coord); |
471 vec4 texture2DProj(sampler2D sampler, vec4 coord, float bias); | 474 vec4 texture2DProj(sampler2D sampler, vec4 coord, float bias); |
472 vec4 texture2DLod(sampler2D sampler, vec2 coord, float lod); | 475 vec4 texture2DLod(sampler2D sampler, vec2 coord, float lod); |
473 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod); | 476 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod); |
474 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod); | 477 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod); |
475 vec4 texture3D(sampler3D sampler, vec3 coord); | 478 vec4 texture3D(sampler3D sampler, vec3 coord); |
476 vec4 texture3D(sampler3D sampler, vec3 coord, float bias); | 479 vec4 texture3D(sampler3D sampler, vec3 coord, float bias); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 void barrier(); | 538 void barrier(); |
536 void memoryBarrier(); | 539 void memoryBarrier(); |
537 void memoryBarrierAtomicCounter(); | 540 void memoryBarrierAtomicCounter(); |
538 void memoryBarrierBuffer(); | 541 void memoryBarrierBuffer(); |
539 void memoryBarrierShared(); | 542 void memoryBarrierShared(); |
540 void memoryBarrierImage(); | 543 void memoryBarrierImage(); |
541 void groupMemoryBarrier(); | 544 void groupMemoryBarrier(); |
542 | 545 |
543 ) | 546 ) |
544 | 547 |
OLD | NEW |