Home
last modified time | relevance | path

Searched refs:pname (Results 1 – 25 of 528) sorted by relevance

12345678910>>...22

/external/angle/src/libANGLE/
Dqueryutils.h41 GLenum pname,
43 void QueryBufferParameteriv(const Buffer *buffer, GLenum pname, GLint *params);
44 void QueryBufferParameteri64v(const Buffer *buffer, GLenum pname, GLint64 *params);
45 void QueryBufferPointerv(const Buffer *buffer, GLenum pname, void **params);
46 void QueryProgramiv(Context *context, const Program *program, GLenum pname, GLint *params);
49 GLenum pname,
51 void QueryShaderiv(const Context *context, Shader *shader, GLenum pname, GLint *params);
55 GLenum pname,
60 GLenum pname,
64 GLenum pname,
[all …]
Dqueryconversions.cpp28 QueryT CastFromStateValueToInt(GLenum pname, NativeT value) in CastFromStateValueToInt() argument
36 switch (pname) in CastFromStateValueToInt()
58 NativeT CastQueryValueToInt(GLenum pname, QueryT value) in CastQueryValueToInt() argument
87 QueryT CastFromGLintStateValue(GLenum pname, InternalT value) in CastFromGLintStateValue() argument
89 return CastFromStateValue<QueryT, GLint>(pname, clampCast<GLint, InternalT>(value)); in CastFromGLintStateValue()
92 template GLfloat CastFromGLintStateValue<GLfloat, GLenum>(GLenum pname, GLenum value);
93 template GLint CastFromGLintStateValue<GLint, GLenum>(GLenum pname, GLenum value);
94 template GLint64 CastFromGLintStateValue<GLint64, GLenum>(GLenum pname, GLenum value);
95 template GLuint CastFromGLintStateValue<GLuint, GLenum>(GLenum pname, GLenum value);
96 template GLuint CastFromGLintStateValue<GLuint, GLint>(GLenum pname, GLint value);
[all …]
Dqueryutils.cpp136 GLenum pname, in QueryTexLevelParameterBase() argument
142 switch (pname) in QueryTexLevelParameterBase()
146 pname, info->redBits ? info->componentType : GL_NONE); in QueryTexLevelParameterBase()
150 pname, info->greenBits ? info->componentType : GL_NONE); in QueryTexLevelParameterBase()
154 pname, info->blueBits ? info->componentType : GL_NONE); in QueryTexLevelParameterBase()
158 pname, info->alphaBits ? info->componentType : GL_NONE); in QueryTexLevelParameterBase()
162 pname, info->depthBits ? info->componentType : GL_NONE); in QueryTexLevelParameterBase()
165 *params = CastFromGLintStateValue<ParamType>(pname, info->redBits); in QueryTexLevelParameterBase()
168 *params = CastFromGLintStateValue<ParamType>(pname, info->greenBits); in QueryTexLevelParameterBase()
171 *params = CastFromGLintStateValue<ParamType>(pname, info->blueBits); in QueryTexLevelParameterBase()
[all …]
DContext_gles_1_0.cpp128 void Context::fogf(GLenum pname, GLfloat param) in fogf() argument
130 SetFogParameters(&mState.gles1(), pname, &param); in fogf()
133 void Context::fogfv(GLenum pname, const GLfloat *params) in fogfv() argument
135 SetFogParameters(&mState.gles1(), pname, params); in fogfv()
138 void Context::fogx(GLenum pname, GLfixed param) in fogx() argument
140 if (GetFogParameterCount(pname) == 1) in fogx()
142 GLfloat paramf = pname == GL_FOG_MODE ? ConvertToGLenum(param) : ConvertFixedToFloat(param); in fogx()
143 fogf(pname, paramf); in fogx()
151 void Context::fogxv(GLenum pname, const GLfixed *params) in fogxv() argument
153 int paramCount = GetFogParameterCount(pname); in fogxv()
[all …]
DvalidationES1.cpp177 LightParameter pname, in ValidateLightCommon() argument
188 switch (pname) in ValidateLightCommon()
231 LightParameter pname, in ValidateLightSingleComponent() argument
234 if (!ValidateLightCommon(context, light, pname, &param)) in ValidateLightSingleComponent()
239 if (GetLightParameterCount(pname) > 1) in ValidateLightSingleComponent()
250 MaterialParameter pname, in ValidateMaterialCommon() argument
253 switch (pname) in ValidateMaterialCommon()
276 MaterialParameter pname, in ValidateMaterialSetting() argument
287 return ValidateMaterialCommon(context, face, pname, params); in ValidateMaterialSetting()
290 bool ValidateMaterialQuery(const Context *context, GLenum face, MaterialParameter pname) in ValidateMaterialQuery() argument
[all …]
DContext_gles_ext_autogen.h37 void getTexGenfv(GLenum coord, GLenum pname, GLfloat *params); \
38 void getTexGeniv(GLenum coord, GLenum pname, GLint *params); \
39 void getTexGenxv(GLenum coord, GLenum pname, GLfixed *params); \
40 void texGenf(GLenum coord, GLenum pname, GLfloat param); \
41 void texGenfv(GLenum coord, GLenum pname, const GLfloat *params); \
42 void texGeni(GLenum coord, GLenum pname, GLint param); \
43 void texGeniv(GLenum coord, GLenum pname, const GLint *params); \
44 void texGenx(GLenum coord, GLenum pname, GLfixed param); \
45 void texGenxv(GLenum coord, GLenum pname, const GLfixed *params); \
131 void getQueryObjecti64v(QueryID idPacked, GLenum pname, GLint64 *params); \
[all …]
/external/mesa3d/src/mesa/main/
Dtexparam.h40 GLenum pname, GLfloat param, bool dsa);
45 GLenum pname, const GLfloat *params, bool dsa);
51 GLenum pname, GLint param, bool dsa);
56 GLenum pname, const GLint *params, bool dsa);
61 GLenum pname, const GLint *params, bool dsa);
66 GLenum pname, const GLuint *params, bool dsa);
85 GLenum pname, GLfloat *params );
89 GLenum pname, GLint *params );
93 GLenum pname, GLfloat *params);
97 GLenum pname, GLint *params);
[all …]
Des1_conversion.c128 _mesa_Fogx(GLenum pname, GLfixed param) in _mesa_Fogx() argument
130 if (pname != GL_FOG_MODE) { in _mesa_Fogx()
131 _mesa_Fogf(pname, (GLfloat) (param / 65536.0f)); in _mesa_Fogx()
133 _mesa_Fogf(pname, (GLfloat) param); in _mesa_Fogx()
139 _mesa_Fogxv(GLenum pname, const GLfixed *params) in _mesa_Fogxv() argument
146 switch(pname) { in _mesa_Fogxv()
161 "glFogxv(pname=0x%x)", pname); in _mesa_Fogxv()
175 _mesa_Fogfv(pname, converted_params); in _mesa_Fogxv()
227 _mesa_GetLightxv(GLenum light, GLenum pname, GLfixed *params) in _mesa_GetLightxv() argument
238 switch(pname) { in _mesa_GetLightxv()
[all …]
Dtexenv.c109 GLenum pname, GLenum mode) in set_combiner_mode() argument
128 pname == GL_COMBINE_RGB); in set_combiner_mode()
133 pname == GL_COMBINE_RGB); in set_combiner_mode()
150 switch (pname) { in set_combiner_mode()
165 TE_ERROR(GL_INVALID_ENUM, "glTexEnv(pname=%s)", pname); in set_combiner_mode()
178 GLenum pname, GLenum param) in set_combiner_source() argument
188 switch (pname) { in set_combiner_source()
193 term = pname - GL_SOURCE0_RGB; in set_combiner_source()
200 term = pname - GL_SOURCE0_ALPHA; in set_combiner_source()
204 TE_ERROR(GL_INVALID_ENUM, "glTexEnv(pname=%s)", pname); in set_combiner_source()
[all …]
Dtexgen.c78 texgenfv( GLuint texunitIndex, GLenum coord, GLenum pname, in texgenfv() argument
90 switch (pname) { in texgenfv()
176 ctx->Driver.TexGen( ctx, coord, pname, params ); in texgenfv()
182 gettexgendv( GLuint texunitIndex, GLenum coord, GLenum pname, in gettexgendv() argument
194 switch (pname) { in gettexgendv()
212 gettexgenfv( GLenum texunitIndex, GLenum coord, GLenum pname, in gettexgenfv() argument
224 switch (pname) { in gettexgenfv()
250 gettexgeniv( GLenum texunitIndex, GLenum coord, GLenum pname, in gettexgeniv() argument
262 switch (pname) { in gettexgeniv()
293 _mesa_TexGenfv( GLenum coord, GLenum pname, const GLfloat *params ) in _mesa_TexGenfv() argument
[all …]
Dtexgen.h36 _mesa_TexGenfv( GLenum coord, GLenum pname, const GLfloat *params );
38 _mesa_TexGeniv(GLenum coord, GLenum pname, const GLint *params );
40 _mesa_TexGend(GLenum coord, GLenum pname, GLdouble param );
42 _mesa_TexGendv(GLenum coord, GLenum pname, const GLdouble *params );
44 _mesa_TexGenf( GLenum coord, GLenum pname, GLfloat param );
46 _mesa_TexGeni( GLenum coord, GLenum pname, GLint param );
48 _mesa_GetTexGendv( GLenum coord, GLenum pname, GLdouble *params );
50 _mesa_GetTexGenfv( GLenum coord, GLenum pname, GLfloat *params );
52 _mesa_GetTexGeniv( GLenum coord, GLenum pname, GLint *params );
55 _mesa_MultiTexGenfvEXT( GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params );
[all …]
Dformatquery.c63 GLenum pname, GLsizei bufSize, GLint *params) in _legal_parameters() argument
129 switch(pname){ in _legal_parameters()
144 _mesa_enum_to_string(pname)); in _legal_parameters()
229 _mesa_enum_to_string(pname)); in _legal_parameters()
238 _mesa_enum_to_string(pname)); in _legal_parameters()
276 _set_default_response(GLenum pname, GLint buffer[16]) in _set_default_response() argument
287 switch(pname) { in _set_default_response()
455 GLenum internalformat, GLenum pname) in _is_resource_supported() argument
469 switch (pname) { in _is_resource_supported()
624 GLenum internalFormat, GLenum pname, in _mesa_query_internal_format_default() argument
[all …]
Dglthread_marshal.h145 _mesa_tex_param_enum_to_count(GLenum pname) in _mesa_tex_param_enum_to_count() argument
147 switch (pname) { in _mesa_tex_param_enum_to_count()
183 _mesa_fog_enum_to_count(GLenum pname) in _mesa_fog_enum_to_count() argument
185 switch (pname) { in _mesa_fog_enum_to_count()
202 _mesa_light_enum_to_count(GLenum pname) in _mesa_light_enum_to_count() argument
204 switch (pname) { in _mesa_light_enum_to_count()
224 _mesa_light_model_enum_to_count(GLenum pname) in _mesa_light_model_enum_to_count() argument
226 switch (pname) { in _mesa_light_model_enum_to_count()
239 _mesa_texenv_enum_to_count(GLenum pname) in _mesa_texenv_enum_to_count() argument
241 switch (pname) { in _mesa_texenv_enum_to_count()
[all …]
Dtexparam.c249 GLenum pname, const GLint *params, bool dsa) in set_tex_parameteri() argument
266 switch (pname) { in set_tex_parameteri()
530 const GLuint comp = pname - GL_TEXTURE_SWIZZLE_R_EXT; in set_tex_parameteri()
618 suffix, _mesa_enum_to_string(pname)); in set_tex_parameteri()
632 suffix, _mesa_enum_to_string(pname)); in set_tex_parameteri()
637 suffix, _mesa_enum_to_string(pname)); in set_tex_parameteri()
649 GLenum pname, const GLfloat *params, bool dsa) in set_tex_parameterf() argument
666 switch (pname) { in set_tex_parameterf()
786 suffix, _mesa_enum_to_string(pname)); in set_tex_parameterf()
793 suffix, _mesa_enum_to_string(pname)); in set_tex_parameterf()
[all …]
Des1_conversion.h62 _mesa_Fogx(GLenum pname, GLfixed param);
65 _mesa_Fogxv(GLenum pname, const GLfixed *params);
82 _mesa_GetLightxv(GLenum light, GLenum pname, GLfixed *params);
85 _mesa_GetMaterialxv(GLenum face, GLenum pname, GLfixed *params);
88 _check_GetTexGenivOES(GLenum coord, GLenum pname, GLint *params);
91 _mesa_GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params);
94 _mesa_GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params);
97 _mesa_GetTexParameterxv(GLenum target, GLenum pname, GLfixed *params);
100 _mesa_LightModelx(GLenum pname, GLfixed param);
103 _mesa_LightModelxv(GLenum pname, const GLfixed *params);
[all …]
Dlight.h48 _mesa_Lightf( GLenum light, GLenum pname, GLfloat param );
51 _mesa_Lightfv( GLenum light, GLenum pname, const GLfloat *params );
54 _mesa_Lightiv( GLenum light, GLenum pname, const GLint *params );
57 _mesa_Lighti( GLenum light, GLenum pname, GLint param );
60 _mesa_LightModelf( GLenum pname, GLfloat param );
63 _mesa_LightModelfv( GLenum pname, const GLfloat *params );
66 _mesa_LightModeli( GLenum pname, GLint param );
69 _mesa_LightModeliv( GLenum pname, const GLint *params );
72 _mesa_GetLightfv( GLenum light, GLenum pname, GLfloat *params );
75 _mesa_GetLightiv( GLenum light, GLenum pname, GLint *params );
[all …]
Dget.h39 _mesa_GetBooleanv( GLenum pname, GLboolean *params );
42 _mesa_GetDoublev( GLenum pname, GLdouble *params );
45 _mesa_GetFloatv( GLenum pname, GLfloat *params );
48 _mesa_GetIntegerv( GLenum pname, GLint *params );
51 _mesa_GetInteger64v( GLenum pname, GLint64 *params );
54 _mesa_GetFixedv(GLenum pname, GLfixed *params);
57 _mesa_GetUnsignedBytevEXT(GLenum pname, GLubyte *data);
60 _mesa_GetBooleani_v( GLenum pname, GLuint index, GLboolean *params );
63 _mesa_GetIntegeri_v( GLenum pname, GLuint index, GLint *params );
66 _mesa_GetInteger64i_v( GLenum pname, GLuint index, GLint64 *params );
[all …]
Dtexenv.h34 _mesa_GetTexEnvfv( GLenum target, GLenum pname, GLfloat *params );
37 _mesa_GetTexEnviv( GLenum target, GLenum pname, GLint *params );
40 _mesa_TexEnvf( GLenum target, GLenum pname, GLfloat param );
43 _mesa_TexEnvfv( GLenum target, GLenum pname, const GLfloat *param );
46 _mesa_TexEnvi( GLenum target, GLenum pname, GLint param );
49 _mesa_TexEnviv( GLenum target, GLenum pname, const GLint *param );
53 GLenum pname, GLfloat param );
57 GLenum pname, const GLfloat *param );
61 GLenum pname, GLint param );
65 GLenum pname, const GLint *param );
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DGLErrorLogger.java245 public void glFogf(int pname, float param) { in glFogf() argument
246 ((GL10)mGL).glFogf(pname, param); in glFogf()
250 public void glFogfv(int pname, FloatBuffer params) { in glFogfv() argument
251 ((GL10)mGL).glFogfv(pname, params); in glFogfv()
255 public void glFogfv(int pname, float[] params, int offset) { in glFogfv() argument
256 ((GL10)mGL).glFogfv(pname, params, offset); in glFogfv()
260 public void glFogx(int pname, int param) { in glFogx() argument
261 ((GL10)mGL).glFogx(pname, param); in glFogx()
265 public void glFogxv(int pname, IntBuffer params) { in glFogxv() argument
266 ((GL10)mGL).glFogxv(pname, params); in glFogxv()
[all …]
/external/angle/src/libGLESv1_CM/
DlibGLESv1_CM.cpp48 void GL_APIENTRY glFogf(GLenum pname, GLfloat param) in glFogf() argument
50 return GL_Fogf(pname, param); in glFogf()
53 void GL_APIENTRY glFogfv(GLenum pname, const GLfloat *params) in glFogfv() argument
55 return GL_Fogfv(pname, params); in glFogfv()
68 void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat *data) in glGetFloatv() argument
70 return GL_GetFloatv(pname, data); in glGetFloatv()
73 void GL_APIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat *params) in glGetLightfv() argument
75 return GL_GetLightfv(light, pname, params); in glGetLightfv()
78 void GL_APIENTRY glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) in glGetMaterialfv() argument
80 return GL_GetMaterialfv(face, pname, params); in glGetMaterialfv()
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayGetterCalls.cpp47 const char* TextureCubeMapArrayGetterCalls::getStringForGetTexParameterPname(glw::GLenum pname) in getStringForGetTexParameterPname() argument
49 if (pname == GL_TEXTURE_BASE_LEVEL) in getStringForGetTexParameterPname()
51 if (pname == GL_TEXTURE_MAX_LEVEL) in getStringForGetTexParameterPname()
53 if (pname == GL_TEXTURE_MIN_FILTER) in getStringForGetTexParameterPname()
55 if (pname == GL_TEXTURE_MAG_FILTER) in getStringForGetTexParameterPname()
57 if (pname == GL_TEXTURE_MIN_LOD) in getStringForGetTexParameterPname()
59 if (pname == GL_TEXTURE_MAX_LOD) in getStringForGetTexParameterPname()
61 if (pname == GL_TEXTURE_SWIZZLE_R) in getStringForGetTexParameterPname()
63 if (pname == GL_TEXTURE_SWIZZLE_G) in getStringForGetTexParameterPname()
65 if (pname == GL_TEXTURE_SWIZZLE_B) in getStringForGetTexParameterPname()
[all …]
/external/angle/src/libGLESv2/
Dentry_points_gles_1_0_autogen.h38 ANGLE_EXPORT void GL_APIENTRY GL_Fogf(GLenum pname, GLfloat param);
39 ANGLE_EXPORT void GL_APIENTRY GL_Fogfv(GLenum pname, const GLfloat *params);
40 ANGLE_EXPORT void GL_APIENTRY GL_Fogx(GLenum pname, GLfixed param);
41 ANGLE_EXPORT void GL_APIENTRY GL_Fogxv(GLenum pname, const GLfixed *param);
48 ANGLE_EXPORT void GL_APIENTRY GL_GetFixedv(GLenum pname, GLfixed *params);
49 ANGLE_EXPORT void GL_APIENTRY GL_GetLightfv(GLenum light, GLenum pname, GLfloat *params);
50 ANGLE_EXPORT void GL_APIENTRY GL_GetLightxv(GLenum light, GLenum pname, GLfixed *params);
51 ANGLE_EXPORT void GL_APIENTRY GL_GetMaterialfv(GLenum face, GLenum pname, GLfloat *params);
52 ANGLE_EXPORT void GL_APIENTRY GL_GetMaterialxv(GLenum face, GLenum pname, GLfixed *params);
53 ANGLE_EXPORT void GL_APIENTRY GL_GetTexEnvfv(GLenum target, GLenum pname, GLfloat *params);
[all …]
DlibGLESv2_autogen.cpp370 void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean *data) in glGetBooleanv() argument
372 return GL_GetBooleanv(pname, data); in glGetBooleanv()
375 void GL_APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params) in glGetBufferParameteriv() argument
377 return GL_GetBufferParameteriv(target, pname, params); in glGetBufferParameteriv()
385 void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat *data) in glGetFloatv() argument
387 return GL_GetFloatv(pname, data); in glGetFloatv()
392 GLenum pname, in glGetFramebufferAttachmentParameteriv() argument
395 return GL_GetFramebufferAttachmentParameteriv(target, attachment, pname, params); in glGetFramebufferAttachmentParameteriv()
398 void GL_APIENTRY glGetIntegerv(GLenum pname, GLint *data) in glGetIntegerv() argument
400 return GL_GetIntegerv(pname, data); in glGetIntegerv()
[all …]
/external/angle/include/GLES/
Dgl.h414 typedef void (GL_APIENTRYP PFNGLFOGFPROC) (GLenum pname, GLfloat param);
415 typedef void (GL_APIENTRYP PFNGLFOGFVPROC) (GLenum pname, const GLfloat *params);
418 typedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data);
419 typedef void (GL_APIENTRYP PFNGLGETLIGHTFVPROC) (GLenum light, GLenum pname, GLfloat *params);
420 typedef void (GL_APIENTRYP PFNGLGETMATERIALFVPROC) (GLenum face, GLenum pname, GLfloat *params);
421 typedef void (GL_APIENTRYP PFNGLGETTEXENVFVPROC) (GLenum target, GLenum pname, GLfloat *params);
422 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *param…
423 typedef void (GL_APIENTRYP PFNGLLIGHTMODELFPROC) (GLenum pname, GLfloat param);
424 typedef void (GL_APIENTRYP PFNGLLIGHTMODELFVPROC) (GLenum pname, const GLfloat *params);
425 typedef void (GL_APIENTRYP PFNGLLIGHTFPROC) (GLenum light, GLenum pname, GLfloat param);
[all …]
/external/swiftshader/src/OpenGL/libGLES_CM/
DlibGLES_CM.hpp97 void (GL_APIENTRY *glFogf)(GLenum pname, GLfloat param);
98 void (GL_APIENTRY *glFogfv)(GLenum pname, const GLfloat *params);
99 void (GL_APIENTRY *glFogx)(GLenum pname, GLfixed param);
100 void (GL_APIENTRY *glFogxv)(GLenum pname, const GLfixed *params);
109 void (GL_APIENTRY *glGetRenderbufferParameterivOES)(GLenum target, GLenum pname, GLint* params);
110 void (GL_APIENTRY *glGetBooleanv)(GLenum pname, GLboolean* params);
111 void (GL_APIENTRY *glGetBufferParameteriv)(GLenum target, GLenum pname, GLint* params);
112 void (GL_APIENTRY *glGetClipPlanef)(GLenum pname, GLfloat eqn[4]);
113 void (GL_APIENTRY *glGetClipPlanex)(GLenum pname, GLfixed eqn[4]);
115 void (GL_APIENTRY *glGetFixedv)(GLenum pname, GLfixed *params);
[all …]

12345678910>>...22