Lines Matching refs:attrib_list
105 * @param[out] attrib_list specifies a list of attributes for the context.
109 * The <code>attrib_list<code> may be 0 or empty (first attribute is
111 * specified in <code>attrib_list</code>, then the default value is used
116 * the value specified in <code>attrib_list</code>.
118 * the value specified in <code>attrib_list</code>.
120 * Attributes that can be specified in <code>attrib_list</code> include:
149 const int32_t attrib_list[]);
163 * <code>attrib_list</code>.
166 * @param[in,out] attrib_list The list of attributes that are queried.
167 * <code>attrib_list</code> has the same structure as described for
174 * - <code>PP_ERROR_BADARGUMENT</code> if attrib_list is 0 or any attribute
175 * in the <code>attrib_list</code> is not a valid attribute.
180 * int attrib_list[] = {PP_GRAPHICS3DATTRIB_RED_SIZE, 0,
184 * GetAttribs(context, attrib_list);
185 * int red_bits = attrib_list[1];
186 * int green_bits = attrib_list[3];
187 * int blue_bits = attrib_list[5];
190 int32_t (*GetAttribs)(PP_Resource context, int32_t attrib_list[]);
193 * <code>attrib_list</code>.
196 * @param[in] attrib_list The list of attributes whose values need to be set.
197 * <code>attrib_list</code> has the same structure as described for
204 * - <code>PP_ERROR_BADARGUMENT</code> if <code>attrib_list</code> is 0 or
205 * any attribute in the <code>attrib_list</code> is not a valid attribute.
207 int32_t (*SetAttribs)(PP_Resource context, const int32_t attrib_list[]);