Home
last modified time | relevance | path

Searched refs:pname (Results 276 - 300 of 465) sorted by relevance

1...<<111213141516171819

/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_base.cpp1293 GLenum pname = 0; in GetVertexAttribOffset() local
1294 tie(succ, pname) = NVal(env, funcArg[NARG_POS::SECOND]).ToGLenum(); in GetVertexAttribOffset()
1296 context->GetWebGLRenderingContextImpl().GetVertexAttribOffset(env, index, pname); in GetVertexAttribOffset()
1706 GLenum pname = 0; in TexParameterf() local
1707 tie(succ, pname) = NVal(env, funcArg[NARG_POS::SECOND]).ToGLenum(); in TexParameterf()
1718 context->GetWebGLRenderingContextImpl().TexParameterf(env, target, pname, static_cast<GLfloat>(param)); in TexParameterf()
1733 GLenum pname = 0; in TexParameteri() local
1734 tie(succ, pname) = NVal(env, funcArg[NARG_POS::SECOND]).ToGLenum(); in TexParameteri()
1745 context->GetWebGLRenderingContextImpl().TexParameterf(env, target, pname, static_cast<GLint>(param)); in TexParameteri()
2273 GLenum pname in PixelStorei() local
2450 GLenum pname = 0; GetBufferParameter() local
2487 GLenum pname = 0; GetFramebufferAttachmentParameter() local
2510 GLenum pname = 0; GetProgramParameter() local
2528 GLenum pname = 0; GetRenderbufferParameter() local
2551 GLenum pname = 0; GetTexParameter() local
2570 GLenum pname = 0; GetShaderParameter() local
2691 GLenum pname = 0; GetVertexAttrib() local
2708 GLenum pname = 0; GetParameter() local
[all...]
H A Dwebgl2_rendering_context_base.cpp518 GLenum pname = 0; in GetSyncParameter() local
519 tie(succ, pname) = NVal(env, funcArg[NARG_POS::SECOND]).ToGLenum(); in GetSyncParameter()
525 context->GetWebGL2RenderingContextImpl().GetSyncParameter(env, funcArg[NARG_POS::FIRST], pname); in GetSyncParameter()
2088 GLenum pname = 0; in GetInternalformatParameter() local
2089 tie(succ, pname) = NVal(env, funcArg[NARG_POS::THIRD]).ToGLenum(); in GetInternalformatParameter()
2095 context->GetWebGL2RenderingContextImpl().GetInternalFormatParameter(env, target, internalFormat, pname); in GetInternalformatParameter()
2141 GLenum pname = 0; in GetActiveUniforms() local
2142 tie(succ, pname) = NVal(env, funcArg[NARG_POS::THIRD]).ToGLenum(); in GetActiveUniforms()
2149 env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND], pname); in GetActiveUniforms()
2165 GLenum pname in GetActiveUniformBlockParameter() local
2202 GLenum pname = 0; GetParameter() local
2224 GLenum pname = 0; GetTexParameter() local
2252 GLenum pname = 0; GetFramebufferAttachmentParameter() local
[all...]
H A Dwebgl2_rendering_context_impl.cpp282 LOGD("WebGL2 samplerParameteri pname %{public}u", pName); in SamplerParameter()
489 napi_value WebGL2RenderingContextImpl::GetSyncParameter(napi_env env, napi_value syncObj, GLenum pname) in GetSyncParameter() argument
497 LOGD("WebGL2 getSyncParameter syncId %{public}" PRIi64 " pname %{public}u ", syncId, pname); in GetSyncParameter()
498 if (CheckInList(pname, { GL_OBJECT_TYPE, GL_SYNC_STATUS, GL_SYNC_CONDITION, GL_SYNC_FLAGS })) { in GetSyncParameter()
501 glGetSynciv(reinterpret_cast<GLsync>(syncId), pname, 1, &length, &value); in GetSyncParameter() local
1683 napi_env env, GLenum target, GLenum internalFormat, GLenum pname) in GetInternalFormatParameter()
1689 LOGD("WebGL2 getInternalformatParameter target %{public}u %{public}u %{public}u", target, internalFormat, pname); in GetInternalFormatParameter()
1699 if (pname == GL_SAMPLES) { in GetInternalFormatParameter()
1703 SET_ERROR_WITH_LOG(WebGLRenderingContextBase::INVALID_ENUM, "pname in GetInternalFormatParameter()
1682 GetInternalFormatParameter( napi_env env, GLenum target, GLenum internalFormat, GLenum pname) GetInternalFormatParameter() argument
1772 GetActiveUniforms( napi_env env, napi_value programObj, napi_value data, GLenum pname) GetActiveUniforms() argument
1822 GetActiveUniformBlockParameter( napi_env env, napi_value programObj, GLuint uniformBlockIndex, GLenum pname) GetActiveUniformBlockParameter() argument
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cSparseTextureTests.hpp67 static bool verifyQueryError(std::stringstream& log, const char* funcName, GLint target, GLint pname, GLint error,
110 * and GetTexParameterIi{u}v queries for <pname>:
113 * Test verifies also GetTexParameter{if}v and GetTexParameterIi{u}v queries for <pname>:
137 bool checkGetTexParameter(const Functions& gl, GLint target, GLint pname, GLint expected);
140 /** Test verifies GetInternalformativ query for formats from Table 8.12 and <pname>:
166 * and GetBooleanv queries for <pname>:
183 void testSipmleQueries(const Functions& gl, GLint pname);
H A Dgl4cDirectStateAccessProgramPipelinesTests.cpp277 * @param [in] pname Parameter name enumeration. Must be one of
285 bool DefaultsTest::testProgramPipelineParameter(glw::GLenum pname, glw::GLint expected_value) in testProgramPipelineParameter() argument
293 gl.getProgramPipelineiv(m_program_pipeline_dsa, pname, &value); in testProgramPipelineParameter()
299 << pname << " has not returned anything and error has not been generated." in testProgramPipelineParameter()
309 << pname << " has returned " << value << ", however " << expected_value in testProgramPipelineParameter()
H A Dgl4cDirectStateAccessQueriesTests.cpp303 * @param [in] pname Parameter name to be tested.
309 bool DefaultsTest::testQueryParameter(const glw::GLenum pname, const glw::GLuint expected_value, in testQueryParameter() argument
318 gl.getQueryObjectuiv(m_query_dsa, pname, &value); in testQueryParameter()
325 << " with parameter " << pname << " has returned " << value << ", however " << expected_value in testQueryParameter()
865 * INVALID_ENUM error if <pname> is not QUERY_RESULT,
1363 * @param [in] pname Parameter name to be queried.
1367 void FunctionalTest::GetQueryBufferObject<glw::GLint>(glw::GLuint id, glw::GLuint buffer, glw::GLenum pname, in GetQueryBufferObject() argument
1370 m_pGetQueryBufferObjectiv(id, buffer, pname, offset); in GetQueryBufferObject()
1378 * @param [in] pname Parameter name to be queried.
1382 void FunctionalTest::GetQueryBufferObject<glw::GLuint>(glw::GLuint id, glw::GLuint buffer, glw::GLenum pname, in GetQueryBufferObject() argument
1397 GetQueryBufferObject(glw::GLuint id, glw::GLuint buffer, glw::GLenum pname, glw::GLintptr offset) GetQueryBufferObject() argument
1412 GetQueryBufferObject(glw::GLuint id, glw::GLuint buffer, glw::GLenum pname, glw::GLintptr offset) GetQueryBufferObject() argument
1436 checkQueryBufferObject(glw::GLuint query, glw::GLenum pname, T expected_value, bool (*comparison)(T, T)) checkQueryBufferObject() argument
[all...]
H A Dgl4cTextureFilterMinmaxTests.cpp586 void TextureFilterMinmaxParameterQueriesTestCase::testReductionModeQueries(const glw::Functions& gl, glw::GLint pname) in testReductionModeQueries() argument
592 gl.samplerParameteri(**sampler, GL_TEXTURE_REDUCTION_MODE_ARB, pname); in testReductionModeQueries()
600 gl.texParameteriv(textureType->getType(), GL_TEXTURE_REDUCTION_MODE_ARB, &pname); in testReductionModeQueries()
603 gl.texParameterIiv(textureType->getType(), GL_TEXTURE_REDUCTION_MODE_ARB, &pname); in testReductionModeQueries()
615 gl.textureParameteriv(texture->getGLTexture(), GL_TEXTURE_REDUCTION_MODE_ARB, &pname); in testReductionModeQueries()
618 gl.textureParameterIiv(texture->getGLTexture(), GL_TEXTURE_REDUCTION_MODE_ARB, &pname); in testReductionModeQueries()
/third_party/pulseaudio/src/modules/
H A Dmodule-ladspa-sink.c1163 char *pname; in pa__init() local
1165 while ((pname = pa_split(input_ladspaport_map, ",", &state))) { in pa__init()
1168 pa_xfree(pname); in pa__init()
1173 if (pa_streq(d->PortNames[p], pname)) { in pa__init()
1177 pa_log("Port %s is not an audio input ladspa port", pname); in pa__init()
1178 pa_xfree(pname); in pa__init()
1184 pa_xfree(pname); in pa__init()
1191 char *pname; in pa__init() local
1193 while ((pname = pa_split(output_ladspaport_map, ",", &state))) { in pa__init()
1196 pa_xfree(pname); in pa__init()
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/
H A Dwebgl_arg.h477 static napi_value GetUint32Parameter(napi_env env, GLenum pname);
478 static napi_value GetInt32Parameter(napi_env env, GLenum pname);
479 static napi_value GetInt64Parameter(napi_env env, GLenum pname);
480 static napi_value GetFloatParameter(napi_env env, GLenum pname);
481 static napi_value GetBoolParameter(napi_env env, GLenum pname);
/third_party/pulseaudio/src/pulsecore/
H A Dprotocol-http.c686 char pname[128]; in pa_http_protocol_connect() local
709 pa_iochannel_socket_peer_to_string(io, pname, sizeof(pname)); in pa_http_protocol_connect()
710 pa_proplist_setf(client_data.proplist, PA_PROP_APPLICATION_NAME, "HTTP client (%s)", pname); in pa_http_protocol_connect()
711 pa_proplist_sets(client_data.proplist, "http-protocol.peer", pname); in pa_http_protocol_connect()
H A Dprotocol-simple.c476 char pname[128]; in pa_simple_protocol_connect() local
509 pa_iochannel_socket_peer_to_string(io, pname, sizeof(pname)); in pa_simple_protocol_connect()
510 pa_proplist_setf(client_data.proplist, PA_PROP_APPLICATION_NAME, "Simple client (%s)", pname); in pa_simple_protocol_connect()
511 pa_proplist_sets(client_data.proplist, "simple-protocol.peer", pname); in pa_simple_protocol_connect()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboApiTests.cpp90 static const char* getAttachmentParameterName (GLenum pname) in getAttachmentParameterName() argument
92 switch (pname) in getAttachmentParameterName()
124 static void checkFboAttachmentParam (tcu::TestContext& testCtx, sglr::Context& ctx, GLenum attachment, GLenum pname, GLint expectedValue) in checkFboAttachmentParam() argument
127 log << TestLog::Message << "// Querying " << getAttachmentName(attachment) << " " << getAttachmentParameterName(pname) << TestLog::EndMessage; in checkFboAttachmentParam()
130 ctx.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, attachment, pname, &value); in checkFboAttachmentParam()
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_system_layers_manager.h51 bool GetProcessName(pid_t pid, char *pname, int len);
/third_party/mesa3d/src/mesa/main/
H A Dlight.h39 GLenum face, GLenum pname,
H A Ddebug_output.c798 * Set the integer debug state specified by \p pname. This can be called from
802 _mesa_set_debug_state_int(struct gl_context *ctx, GLenum pname, GLint val) in _mesa_set_debug_state_int() argument
809 switch (pname) { in _mesa_set_debug_state_int()
827 * Query the integer debug state specified by \p pname. This can be called
831 _mesa_get_debug_state_int(struct gl_context *ctx, GLenum pname) in _mesa_get_debug_state_int() argument
839 switch (pname) { in _mesa_get_debug_state_int()
868 * Query the pointer debug state specified by \p pname. This can be called
872 _mesa_get_debug_state_ptr(struct gl_context *ctx, GLenum pname) in _mesa_get_debug_state_ptr() argument
880 switch (pname) { in _mesa_get_debug_state_ptr()
/third_party/ltp/testcases/kernel/sched/clisrv/
H A Dinet.h31 char *pname; variable
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/
H A DesextcTextureBorderClampBase.hpp59 const char* getPNameString(glw::GLenum pname);
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationES3.h39 GLenum pname,
H A DvalidationGL33_autogen.h34 GLenum pname,
38 GLenum pname,
H A DvalidationGL42_autogen.h53 GLenum pname,
H A DState.cpp2371 void State::getBooleanv(GLenum pname, GLboolean *params) const
2373 switch (pname)
2493 void State::getFloatv(GLenum pname, GLfloat *params) const
2499 switch (pname)
2582 GetLightModelParameters(&mGLES1State, pname, params);
2589 GetFogParameters(&mGLES1State, pname, params);
2598 GetPointParameter(&mGLES1State, FromGLenum<PointParameter>(pname), params);
2618 angle::Result State::getIntegerv(const Context *context, GLenum pname, GLint *params) const
2620 if (pname >= GL_DRAW_BUFFER0_EXT && pname <
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fRboStateQueryTests.cpp95 void checkRenderbufferParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum pname, GLenum reference) in checkRenderbufferParam() argument
98 gl.glGetRenderbufferParameteriv(GL_RENDERBUFFER, pname, &state); in checkRenderbufferParam()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_format.h76 GLenum internalFormat, GLenum pname, GLint *params);
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fNegativeTestShared.hpp66 int getInteger (glw::GLenum pname) const;
/third_party/mesa3d/src/gallium/frontends/osmesa/
H A Dosmesa.c852 OSMesaPixelStore(GLint pname, GLint value) in OSMesaPixelStore() argument
856 switch (pname) { in OSMesaPixelStore()
864 fprintf(stderr, "Invalid pname in OSMesaPixelStore()\n"); in OSMesaPixelStore()
871 OSMesaGetIntegerv(GLint pname, GLint *value) in OSMesaGetIntegerv() argument
876 switch (pname) { in OSMesaGetIntegerv()
905 fprintf(stderr, "Invalid pname in OSMesaGetIntegerv()\n"); in OSMesaGetIntegerv()

Completed in 33 milliseconds

1...<<111213141516171819