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); | |
249 $gvec4 texture($gsampler2D sampler, vec2 P, float bias); | 247 $gvec4 texture($gsampler2D sampler, vec2 P, float bias); |
250 $gvec4 texture($gsampler3D sampler, vec3 P); | 248 $gvec4 texture($gsampler3D sampler, vec3 P); |
251 $gvec4 texture($gsampler3D sampler, vec3 P, float bias); | 249 $gvec4 texture($gsampler3D sampler, vec3 P, float bias); |
252 $gvec4 texture($gsamplerCube sampler, vec3 P); | 250 $gvec4 texture($gsamplerCube sampler, vec3 P); |
253 $gvec4 texture($gsamplerCube sampler, vec3 P, float bias); | 251 $gvec4 texture($gsamplerCube sampler, vec3 P, float bias); |
254 float texture(sampler1DShadow sampler, vec3 P); | 252 float texture(sampler1DShadow sampler, vec3 P); |
255 float texture(sampler1DShadow sampler, vec3 P, float bias); | 253 float texture(sampler1DShadow sampler, vec3 P, float bias); |
256 float texture(sampler2DShadow sampler, vec3 P); | 254 float texture(sampler2DShadow sampler, vec3 P); |
257 float texture(sampler2DShadow sampler, vec3 P, float bias); | 255 float texture(sampler2DShadow sampler, vec3 P, float bias); |
258 float texture(samplerCubeShadow sampler, vec4 P); | 256 float texture(samplerCubeShadow sampler, vec4 P); |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 vec4 texture1D(sampler1D sampler, float coord); | 457 vec4 texture1D(sampler1D sampler, float coord); |
460 vec4 texture1D(sampler1D sampler, float coord, float bias); | 458 vec4 texture1D(sampler1D sampler, float coord, float bias); |
461 vec4 texture1DProj(sampler1D sampler, vec2 coord); | 459 vec4 texture1DProj(sampler1D sampler, vec2 coord); |
462 vec4 texture1DProj(sampler1D sampler, vec2 coord, float bias); | 460 vec4 texture1DProj(sampler1D sampler, vec2 coord, float bias); |
463 vec4 texture1DProj(sampler1D sampler, vec4 coord); | 461 vec4 texture1DProj(sampler1D sampler, vec4 coord); |
464 vec4 texture1DProj(sampler1D sampler, vec4 coord, float bias); | 462 vec4 texture1DProj(sampler1D sampler, vec4 coord, float bias); |
465 vec4 texture1DLod(sampler1D sampler, float coord, float lod); | 463 vec4 texture1DLod(sampler1D sampler, float coord, float lod); |
466 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod); | 464 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod); |
467 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod); | 465 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod); |
468 vec4 texture2D(sampler2D sampler, vec2 coord); | 466 vec4 texture2D(sampler2D sampler, vec2 coord); |
469 vec4 texture2D(samplerExternalOES sampler, vec2 coord); | |
470 vec4 texture2D(sampler2D sampler, vec2 coord, float bias); | 467 vec4 texture2D(sampler2D sampler, vec2 coord, float bias); |
471 vec4 texture2DProj(sampler2D sampler, vec3 coord); | 468 vec4 texture2DProj(sampler2D sampler, vec3 coord); |
472 vec4 texture2DProj(sampler2D sampler, vec3 coord, float bias); | 469 vec4 texture2DProj(sampler2D sampler, vec3 coord, float bias); |
473 vec4 texture2DProj(sampler2D sampler, vec4 coord); | 470 vec4 texture2DProj(sampler2D sampler, vec4 coord); |
474 vec4 texture2DProj(sampler2D sampler, vec4 coord, float bias); | 471 vec4 texture2DProj(sampler2D sampler, vec4 coord, float bias); |
475 vec4 texture2DLod(sampler2D sampler, vec2 coord, float lod); | 472 vec4 texture2DLod(sampler2D sampler, vec2 coord, float lod); |
476 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod); | 473 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod); |
477 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod); | 474 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod); |
478 vec4 texture3D(sampler3D sampler, vec3 coord); | 475 vec4 texture3D(sampler3D sampler, vec3 coord); |
479 vec4 texture3D(sampler3D sampler, vec3 coord, float bias); | 476 vec4 texture3D(sampler3D sampler, vec3 coord, float bias); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 void barrier(); | 535 void barrier(); |
539 void memoryBarrier(); | 536 void memoryBarrier(); |
540 void memoryBarrierAtomicCounter(); | 537 void memoryBarrierAtomicCounter(); |
541 void memoryBarrierBuffer(); | 538 void memoryBarrierBuffer(); |
542 void memoryBarrierShared(); | 539 void memoryBarrierShared(); |
543 void memoryBarrierImage(); | 540 void memoryBarrierImage(); |
544 void groupMemoryBarrier(); | 541 void groupMemoryBarrier(); |
545 | 542 |
546 ) | 543 ) |
547 | 544 |
OLD | NEW |