blob: af41a28690de5940c107e9e7e236d902a9ea974f [file] [log] [blame]
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -07001#
2# Copyright (C) 2015 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17header:
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -070018summary: Graphics Functions and Types
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -070019description:
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -070020 The graphics subsystem of RenderScript was removed at API level 23.
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -070021include:
22 #ifdef __LP64__
23 // TODO We need to fix some of the builds before enabling this error:
24 // #error "RenderScript graphics is deprecated and not supported in 64bit mode."
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -070025 #endif
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -070026
27 // TODO we seem to assume order for the other headers too.
28 #include "rs_object_types.rsh"
29end:
30
31type: rs_blend_src_func
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -070032version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -070033size: 32
34enum:
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -070035value: RS_BLEND_SRC_ZERO = 0
36value: RS_BLEND_SRC_ONE = 1
37value: RS_BLEND_SRC_DST_COLOR = 2
38value: RS_BLEND_SRC_ONE_MINUS_DST_COLOR = 3
39value: RS_BLEND_SRC_SRC_ALPHA = 4
40value: RS_BLEND_SRC_ONE_MINUS_SRC_ALPHA = 5
41value: RS_BLEND_SRC_DST_ALPHA = 6
42value: RS_BLEND_SRC_ONE_MINUS_DST_ALPHA = 7
43value: RS_BLEND_SRC_SRC_ALPHA_SATURATE = 8
44value: RS_BLEND_SRC_INVALID = 100
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -070045deprecated: 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -070046summary: Blend source function
47description:
48end:
49
50type: rs_blend_dst_func
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -070051version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -070052size: 32
53enum:
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -070054value: RS_BLEND_DST_ZERO = 0
55value: RS_BLEND_DST_ONE = 1
56value: RS_BLEND_DST_SRC_COLOR = 2
57value: RS_BLEND_DST_ONE_MINUS_SRC_COLOR = 3
58value: RS_BLEND_DST_SRC_ALPHA = 4
59value: RS_BLEND_DST_ONE_MINUS_SRC_ALPHA = 5
60value: RS_BLEND_DST_DST_ALPHA = 6
61value: RS_BLEND_DST_ONE_MINUS_DST_ALPHA = 7
62value: RS_BLEND_DST_INVALID = 100
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -070063deprecated: 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -070064summary: Blend destination function
65description:
66end:
67
68type: rs_cull_mode
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -070069version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -070070size: 32
71enum:
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -070072value: RS_CULL_BACK = 0
73value: RS_CULL_FRONT = 1
74value: RS_CULL_NONE = 2
75value: RS_CULL_INVALID = 100
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -070076deprecated: 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -070077summary: Culling mode
78description:
79end:
80
81type: rs_depth_func
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -070082version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -070083size: 32
84enum:
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -070085value: RS_DEPTH_FUNC_ALWAYS = 0, "Always drawn"
86value: RS_DEPTH_FUNC_LESS = 1, "Drawn if the incoming depth value is less than that in the depth buffer"
87value: RS_DEPTH_FUNC_LEQUAL = 2, "Drawn if the incoming depth value is less or equal to that in the depth buffer"
88value: RS_DEPTH_FUNC_GREATER = 3, "Drawn if the incoming depth value is greater than that in the depth buffer"
89value: RS_DEPTH_FUNC_GEQUAL = 4, "Drawn if the incoming depth value is greater or equal to that in the depth buffer"
90value: RS_DEPTH_FUNC_EQUAL = 5, "Drawn if the incoming depth value is equal to that in the depth buffer"
91value: RS_DEPTH_FUNC_NOTEQUAL = 6, "Drawn if the incoming depth value is not equal to that in the depth buffer"
92value: RS_DEPTH_FUNC_INVALID = 100, "Invalid depth function"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -070093deprecated: 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -070094summary: Depth function
95description:
96 Specifies conditional drawing depending on the comparison of the incoming
97 depth to that found in the depth buffer.
98end:
99
100type: rs_primitive
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700101version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700102size: 32
103enum:
104value: RS_PRIMITIVE_POINT = 0, "Vertex data will be rendered as a series of points"
105value: RS_PRIMITIVE_LINE = 1, "Vertex pairs will be rendered as lines"
106value: RS_PRIMITIVE_LINE_STRIP = 2, "Vertex data will be rendered as a connected line strip"
107value: RS_PRIMITIVE_TRIANGLE = 3, "Vertices will be rendered as individual triangles"
108value: RS_PRIMITIVE_TRIANGLE_STRIP = 4, "Vertices will be rendered as a connected triangle strip defined by the first three vertices with each additional triangle defined by a new vertex"
109value: RS_PRIMITIVE_TRIANGLE_FAN = 5, "Vertices will be rendered as a sequence of triangles that all share first vertex as the origin"
110value: RS_PRIMITIVE_INVALID = 100, "Invalid primitive"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700111deprecated: 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700112summary: How to intepret mesh vertex data
113description:
114 Describes the way mesh vertex data is interpreted when rendering
115end:
116
117type: rs_font
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700118version: 9 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700119size: 32
120simple: _RS_HANDLE
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700121deprecated: 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700122summary: Handle to a Font
123description:
124 Opaque handle to a RenderScript font object.
125 See: android.renderscript.Font
126end:
127
128
129type: rs_mesh
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700130version: 9 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700131size: 32
132simple: _RS_HANDLE
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700133deprecated: 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700134summary: Handle to a Mesh
135description:
136 Opaque handle to a RenderScript mesh object.
137 See: android.renderscript.Mesh
138end:
139
140type: rs_program_fragment
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700141version: 9 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700142size: 32
143simple: _RS_HANDLE
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700144deprecated: 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700145summary: Handle to a ProgramFragment
146description:
147 Opaque handle to a RenderScript ProgramFragment object.
148 See: android.renderscript.ProgramFragment
149end:
150
151type: rs_program_vertex
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700152version: 9 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700153size: 32
154simple: _RS_HANDLE
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700155deprecated: 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700156summary: Handle to a ProgramVertex
157description:
158 Opaque handle to a RenderScript ProgramVertex object.
159 See: android.renderscript.ProgramVertex
160end:
161
162type: rs_program_raster
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700163version: 9 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700164size: 32
165simple: _RS_HANDLE
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700166deprecated: 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700167summary: Handle to a ProgramRaster
168description:
169 Opaque handle to a RenderScript ProgramRaster object.
170 See: android.renderscript.ProgramRaster
171end:
172
173type: rs_program_store
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700174version: 9 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700175size: 32
176simple: _RS_HANDLE
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700177deprecated: 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700178summary: Handle to a ProgramStore
179description:
180 Opaque handle to a RenderScript ProgramStore object.
181 See: android.renderscript.ProgramStore
182end:
183
184function: rsClearObject
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700185version: 9 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700186size: 32
187t: rs_mesh, rs_program_fragment, rs_program_vertex, rs_program_raster, rs_program_store, rs_font
188ret: void
189arg: #1* dst
190test: none
191end:
192
193function: rsIsObject
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700194version: 9 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700195size: 32
196t: rs_mesh, rs_program_fragment, rs_program_vertex, rs_program_raster, rs_program_store, rs_font
197ret: bool
198arg: #1 v
199test: none
200end:
201
202function: rsSetObject
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700203version: 9 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700204size: 32
205t: rs_mesh, rs_program_fragment, rs_program_vertex, rs_program_raster, rs_program_store, rs_font
206ret: void
207arg: #1* dst
208arg: #1 src
209test: none
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700210end:
211
212function: rsgAllocationSyncAll
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700213version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700214size: 32
215ret: void
216arg: rs_allocation alloc
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700217deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700218summary: Sync the contents of an allocation
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700219description:
220 Sync the contents of an allocation.
221
222 If the source is specified, sync from memory space specified by source.
223
224 If the source is not specified, sync from its SCRIPT memory space to its HW
225 memory spaces.
226test: none
227end:
228
229function: rsgAllocationSyncAll
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700230version: 14 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700231size: 32
232ret: void
233arg: rs_allocation alloc
234arg: rs_allocation_usage_type source
235test: none
236end:
237
238function: rsgBindColorTarget
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700239version: 14 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700240size: 32
241ret: void
242arg: rs_allocation colorTarget
243arg: uint slot
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700244deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700245summary: Set the color target
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700246description:
247 Set the color target used for all subsequent rendering calls
248test: none
249end:
250
251function: rsgBindConstant
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700252version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700253size: 32
254ret: void
255arg: rs_program_fragment ps, "program fragment object"
256arg: uint slot, "index of the constant buffer on the program"
257arg: rs_allocation c, "constants to bind"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700258deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700259summary: Bind a constant allocation
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700260description:
261 Bind a new Allocation object to a ProgramFragment or ProgramVertex.
262 The Allocation must be a valid constant input for the Program.
263test: none
264end:
265
266function: rsgBindConstant
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700267version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700268size: 32
269ret: void
270arg: rs_program_vertex pv, "program vertex object"
271arg: uint slot
272arg: rs_allocation c
273test: none
274end:
275
276function: rsgBindDepthTarget
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700277version: 14 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700278size: 32
279ret: void
280arg: rs_allocation depthTarget
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700281deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700282summary: Set the depth target
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700283description:
284 Set the depth target used for all subsequent rendering calls
285test: none
286end:
287
288function: rsgBindFont
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700289version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700290size: 32
291ret: void
292arg: rs_font font, "object to bind"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700293deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700294summary: Bind a font object
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700295description:
296 Binds the font object to be used for all subsequent font rendering calls
297test: none
298end:
299
300function: rsgBindProgramFragment
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700301version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700302size: 32
303ret: void
304arg: rs_program_fragment pf
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700305deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700306summary: Bind a ProgramFragment
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700307description:
308 Bind a new ProgramFragment to the rendering context.
309test: none
310end:
311
312function: rsgBindProgramRaster
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700313version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700314size: 32
315ret: void
316arg: rs_program_raster pr
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700317deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700318summary: Bind a ProgramRaster
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700319description:
320 Bind a new ProgramRaster to the rendering context.
321test: none
322end:
323
324function: rsgBindProgramStore
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700325version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700326size: 32
327ret: void
328arg: rs_program_store ps
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700329deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700330summary: Bind a ProgramStore
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700331description:
332 Bind a new ProgramStore to the rendering context.
333test: none
334end:
335
336function: rsgBindProgramVertex
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700337version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700338size: 32
339ret: void
340arg: rs_program_vertex pv
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700341deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700342summary: Bind a ProgramVertex
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700343description:
344 Bind a new ProgramVertex to the rendering context.
345test: none
346end:
347
348function: rsgBindSampler
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700349version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700350size: 32
351ret: void
352arg: rs_program_fragment fragment
353arg: uint slot
354arg: rs_sampler sampler
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700355deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700356summary: Bind a sampler
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700357description:
358 Bind a new Sampler object to a ProgramFragment. The sampler will
359 operate on the texture bound at the matching slot.
360test: none
361end:
362
363function: rsgBindTexture
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700364version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700365size: 32
366ret: void
367arg: rs_program_fragment v
368arg: uint slot
369arg: rs_allocation alloc
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700370deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700371summary: Bind a texture allocation
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700372description:
373 Bind a new Allocation object to a ProgramFragment. The
374 Allocation must be a valid texture for the Program. The sampling
375 of the texture will be controled by the Sampler bound at the
376 matching slot.
377test: none
378end:
379
380function: rsgClearAllRenderTargets
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700381version: 14 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700382size: 32
383ret: void
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700384deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700385summary: Clear all color and depth targets
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700386description:
387 Clear all color and depth targets and resume rendering into
388 the framebuffer
389test: none
390end:
391
392function: rsgClearColor
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700393version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700394size: 32
395ret: void
396arg: float r
397arg: float g
398arg: float b
399arg: float a
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700400deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700401summary: Clear the specified color from the surface
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700402description:
403 Clears the rendering surface to the specified color.
404test: none
405end:
406
407function: rsgClearColorTarget
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700408version: 14 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700409size: 32
410ret: void
411arg: uint slot
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700412deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700413summary: Clear the color target
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700414description:
415 Clear the previously set color target
416test: none
417end:
418
419function: rsgClearDepth
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700420version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700421size: 32
422ret: void
423arg: float value
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700424deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700425summary: Clear the depth surface
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700426description:
427 Clears the depth suface to the specified value.
428test: none
429end:
430
431function: rsgClearDepthTarget
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700432version: 14 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700433size: 32
434ret: void
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700435deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700436summary: Clear the depth target
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700437description:
438 Clear the previously set depth target
439test: none
440end:
441
442function: rsgDrawMesh
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700443version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700444size: 32
445ret: void
446arg: rs_mesh ism, "mesh object to render"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700447deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700448summary: Draw a mesh
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700449description:
450 Draw a mesh using the current context state.
451
452 If primitiveIndex is specified, draw part of a mesh using the current context state.
453
454 If start and len are also specified, draw specified index range of part of a mesh using the current context state.
455
456 Otherwise the whole mesh is rendered.
457test: none
458end:
459
460function: rsgDrawMesh
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700461version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700462size: 32
463ret: void
464arg: rs_mesh ism
465arg: uint primitiveIndex, "for meshes that contain multiple primitive groups this parameter specifies the index of the group to draw."
466test: none
467end:
468
469function: rsgDrawMesh
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700470version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700471size: 32
472ret: void
473arg: rs_mesh ism
474arg: uint primitiveIndex
475arg: uint start, "starting index in the range"
476arg: uint len, "number of indices to draw"
477test: none
478end:
479
480function: rsgDrawQuad
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700481version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700482size: 32
483ret: void
484arg: float x1
485arg: float y1
486arg: float z1
487arg: float x2
488arg: float y2
489arg: float z2
490arg: float x3
491arg: float y3
492arg: float z3
493arg: float x4
494arg: float y4
495arg: float z4
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700496deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700497summary: Draw a quad
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700498description:
499 Low performance utility function for drawing a simple quad. Not intended for
500 drawing large quantities of geometry.
501test: none
502end:
503
504function: rsgDrawQuadTexCoords
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700505version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700506size: 32
507ret: void
508arg: float x1
509arg: float y1
510arg: float z1
511arg: float u1
512arg: float v1
513arg: float x2
514arg: float y2
515arg: float z2
516arg: float u2
517arg: float v2
518arg: float x3
519arg: float y3
520arg: float z3
521arg: float u3
522arg: float v3
523arg: float x4
524arg: float y4
525arg: float z4
526arg: float u4
527arg: float v4
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700528deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700529summary: Draw a textured quad
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700530description:
531 Low performance utility function for drawing a textured quad. Not intended
532 for drawing large quantities of geometry.
533test: none
534end:
535
536function: rsgDrawRect
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700537version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700538size: 32
539ret: void
540arg: float x1
541arg: float y1
542arg: float x2
543arg: float y2
544arg: float z
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700545deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700546summary: Draw a rectangle
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700547description:
548 Low performance utility function for drawing a simple rectangle. Not
549 intended for drawing large quantities of geometry.
550test: none
551end:
552
553function: rsgDrawSpriteScreenspace
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700554version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700555size: 32
556ret: void
557arg: float x
558arg: float y
559arg: float z
560arg: float w
561arg: float h
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700562deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700563summary: Draw rectangles in screenspace
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700564description:
565 Low performance function for drawing rectangles in screenspace. This
566 function uses the default passthough ProgramVertex. Any bound ProgramVertex
567 is ignored. This function has considerable overhead and should not be used
568 for drawing in shipping applications.
569test: none
570end:
571
572function: rsgDrawText
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700573version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700574size: 32
575ret: void
576arg: const char* text
577arg: int x
578arg: int y
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700579deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700580summary: Draw a text string
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700581description:
582 Draws text given a string and location
583test: none
584end:
585
586function: rsgDrawText
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700587version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700588size: 32
589ret: void
590arg: rs_allocation alloc
591arg: int x
592arg: int y
593test: none
594end:
595
596function: rsgFinish
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700597version: 14 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700598size: 32
599ret: uint
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700600deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700601summary: End rendering commands
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700602description:
603 Force RenderScript to finish all rendering commands
604test: none
605end:
606
607function: rsgFontColor
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700608version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700609size: 32
610ret: void
611arg: float r, "red component"
612arg: float g, "green component"
613arg: float b, "blue component"
614arg: float a, "alpha component"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700615deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700616summary: Set the font color
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700617description:
618 Sets the font color for all subsequent rendering calls
619test: none
620end:
621
622function: rsgGetHeight
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700623version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700624size: 32
625ret: uint
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700626deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700627summary: Get the surface height
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700628description:
629 Get the height of the current rendering surface.
630test: none
631end:
632
633function: rsgGetWidth
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700634version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700635size: 32
636ret: uint
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700637deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700638summary: Get the surface width
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700639description:
640 Get the width of the current rendering surface.
641test: none
642end:
643
644function: rsgMeasureText
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700645version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700646size: 32
647ret: void
648arg: const char* text
649arg: int* left
650arg: int* right
651arg: int* top
652arg: int* bottom
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700653deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700654summary: Get the bounding box for a text string
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700655description:
656 Returns the bounding box of the text relative to (0, 0)
657 Any of left, right, top, bottom could be NULL
658test: none
659end:
660
661function: rsgMeasureText
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700662version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700663size: 32
664ret: void
665arg: rs_allocation alloc
666arg: int* left
667arg: int* right
668arg: int* top
669arg: int* bottom
670test: none
671end:
672
673function: rsgMeshComputeBoundingBox
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700674version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700675size: 32
676ret: void
677arg: rs_mesh mesh
678arg: float* minX
679arg: float* minY
680arg: float* min
681arg: float* maxX
682arg: float* maxY
683arg: float* maxZ
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700684deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700685summary: Compute a bounding box
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700686description:
687 Computes an axis aligned bounding box of a mesh object
688test: none
689end:
690
691function: rsgMeshComputeBoundingBox
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700692version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700693size: 32
694attrib: always_inline
695ret: void
696arg: rs_mesh mesh
697arg: float3* bBoxMin
698arg: float3* bBoxMax
699inline:
700 float x1, y1, z1, x2, y2, z2;
701 rsgMeshComputeBoundingBox(mesh, &x1, &y1, &z1, &x2, &y2, &z2);
702 bBoxMin->x = x1;
703 bBoxMin->y = y1;
704 bBoxMin->z = z1;
705 bBoxMax->x = x2;
706 bBoxMax->y = y2;
707 bBoxMax->z = z2;
708test: none
709end:
710
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700711function: rsgMeshGetIndexAllocation
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700712version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700713size: 32
714ret: rs_allocation, "allocation containing index data"
715arg: rs_mesh m, "mesh to get data from"
716arg: uint32_t index, "index of the index allocation"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700717deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700718summary: Return an allocation containing index data
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700719description:
720 Returns an allocation containing index data or a null
721 allocation if only the primitive is specified
722test: none
723end:
724
725function: rsgMeshGetPrimitive
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700726version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700727size: 32
728ret: rs_primitive, "primitive describing how the mesh is rendered"
729arg: rs_mesh m, "mesh to get data from"
730arg: uint32_t index, "index of the primitive"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700731deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700732summary: Return the primitive
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700733description:
734 Returns the primitive describing how a part of the mesh is
735 rendered
736test: none
737end:
738
739function: rsgMeshGetPrimitiveCount
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700740version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700741size: 32
742ret: uint32_t, "number of primitive groups in the mesh. This would include simple primitives as well as allocations containing index data"
743arg: rs_mesh m, "mesh to get data from"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700744deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700745summary: Return the number of index sets
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700746description:
747 Meshes could have multiple index sets, this function returns
748 the number.
749test: none
750end:
751
752function: rsgMeshGetVertexAllocation
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700753version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700754size: 32
755ret: rs_allocation, "allocation containing vertex data"
756arg: rs_mesh m, "mesh to get data from"
757arg: uint32_t index, "index of the vertex allocation"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700758deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700759summary: Return a vertex allocation
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700760description:
761 Returns an allocation that is part of the mesh and contains
762 vertex data, e.g. positions, normals, texcoords
763test: none
764end:
765
766function: rsgMeshGetVertexAllocationCount
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700767version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700768size: 32
769ret: uint32_t, "number of allocations in the mesh that contain vertex data"
770arg: rs_mesh m, "mesh to get data from"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700771deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700772summary: Return the number of vertex allocations
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700773description:
774 Returns the number of allocations in the mesh that contain
775 vertex data
776test: none
777end:
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700778
779function: rsgProgramFragmentConstantColor
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700780version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700781size: 32
782ret: void
783arg: rs_program_fragment pf
784arg: float r
785arg: float g
786arg: float b
787arg: float a
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700788deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700789summary: Set the constant color for a fixed function emulation program
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700790description:
791 Set the constant color for a fixed function emulation program.
792test: none
793end:
794
795function: rsgProgramVertexGetProjectionMatrix
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700796version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700797size: 32
798ret: void
799arg: rs_matrix4x4* proj, "matrix to store the current projection matrix into"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700800deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700801summary: Get the projection matrix for a fixed function vertex program
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700802description:
803 Get the projection matrix for a currently bound fixed function
804 vertex program. Calling this function with a custom vertex shader
805 would result in an error.
806test: none
807end:
808
809function: rsgProgramVertexLoadModelMatrix
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700810version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700811size: 32
812ret: void
813arg: const rs_matrix4x4* model, "model matrix"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700814deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700815summary: Load the model matrix for a bound fixed function vertex program
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700816description:
817 Load the model matrix for a currently bound fixed function
818 vertex program. Calling this function with a custom vertex shader
819 would result in an error.
820test: none
821end:
822
823function: rsgProgramVertexLoadProjectionMatrix
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700824version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700825size: 32
826ret: void
827arg: const rs_matrix4x4* proj, "projection matrix"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700828deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700829summary: Load the projection matrix for a bound fixed function vertex program
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700830description:
831 Load the projection matrix for a currently bound fixed function
832 vertex program. Calling this function with a custom vertex shader
833 would result in an error.
834test: none
835end:
836
837function: rsgProgramVertexLoadTextureMatrix
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700838version: 9 22
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700839size: 32
840ret: void
841arg: const rs_matrix4x4* tex, "texture matrix"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700842deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700843summary: Load the texture matrix for a bound fixed function vertex program
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -0700844description:
845 Load the texture matrix for a currently bound fixed function
846 vertex program. Calling this function with a custom vertex shader
847 would result in an error.
848test: none
849end:
850
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700851function: rsgProgramRasterGetCullMode
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700852version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700853size: 32
854ret: rs_cull_mode
855arg: rs_program_raster pr, "program raster to query"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700856deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700857summary: Get program raster cull mode
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700858description:
859 Get program raster cull mode
860test: none
861end:
862
863function: rsgProgramRasterIsPointSpriteEnabled
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700864version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700865size: 32
866ret: bool
867arg: rs_program_raster pr, "program raster to query"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700868deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700869summary: Get program raster point sprite state
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700870description:
871 Get program raster point sprite state
872test: none
873end:
874
875function: rsgProgramStoreGetBlendDstFunc
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700876version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700877size: 32
878ret: rs_blend_dst_func
879arg: rs_program_store ps, "program store to query"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700880deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700881summary: Get program store blend destination function
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700882description:
883 Get program store blend destination function
884test: none
885end:
886
887function: rsgProgramStoreGetBlendSrcFunc
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700888version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700889size: 32
890ret: rs_blend_src_func
891arg: rs_program_store ps, "program store to query"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700892deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700893summary: Get program store blend source function
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700894description:
895 Get program store blend source function
896test: none
897end:
898
899function: rsgProgramStoreGetDepthFunc
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700900version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700901size: 32
902ret: rs_depth_func
903arg: rs_program_store ps, "program store to query"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700904deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700905summary: Get program store depth function
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700906description:
907 Get program store depth function
908test: none
909end:
910
911function: rsgProgramStoreIsColorMaskAlphaEnabled
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700912version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700913size: 32
914ret: bool
915arg: rs_program_store ps, "program store to query"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700916deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700917summary: Get program store alpha component color mask
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700918description:
919 Get program store alpha component color mask
920test: none
921end:
922
923function: rsgProgramStoreIsColorMaskBlueEnabled
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700924version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700925size: 32
926ret: bool
927arg: rs_program_store ps, "program store to query"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700928deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700929summary: Get program store blur component color mask
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700930description:
931 Get program store blur component color mask
932test: none
933end:
934
935function: rsgProgramStoreIsColorMaskGreenEnabled
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700936version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700937size: 32
938ret: bool
939arg: rs_program_store ps, "program store to query"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700940deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700941summary: Get program store green component color mask
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700942description:
943 Get program store green component color mask
944test: none
945end:
946
947function: rsgProgramStoreIsColorMaskRedEnabled
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700948version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700949size: 32
950ret: bool
951arg: rs_program_store ps, "program store to query"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700952deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700953summary: Get program store red component color mask
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700954description:
955 Get program store red component color mask
956test: none
957end:
958
959function: rsgProgramStoreIsDepthMaskEnabled
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700960version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700961size: 32
962ret: bool
963arg: rs_program_store ps, "program store to query"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700964deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700965summary: Get program store depth mask
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700966description:
967 Get program store depth mask
968test: none
969end:
970
971function: rsgProgramStoreIsDitherEnabled
Jean-Luc Brouillet67923a92015-05-12 15:38:27 -0700972version: 16 22
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700973size: 32
974ret: bool
975arg: rs_program_store ps, "program store to query"
Jean-Luc Brouillet36e2be52015-04-30 14:41:24 -0700976deprecated: 22
Jean-Luc Brouillet20b27d62015-04-03 14:39:53 -0700977summary: Get program store dither state
Jean-Luc Brouilletbe216382015-03-22 12:44:27 -0700978description:
979 Get program store dither state
980test: none
981end: