本文整理汇总了C++中mozilla::ThreadLocal::get方法的典型用法代码示例。如果您正苦于以下问题:C++ ThreadLocal::get方法的具体用法?C++ ThreadLocal::get怎么用?C++ ThreadLocal::get使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mozilla::ThreadLocal
的用法示例。
在下文中一共展示了ThreadLocal::get方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: glUniform3f_mozilla
GrGLvoid glUniform3f_mozilla(GrGLint location, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2)
{
return sGLContext.get()->fUniform3f(location, v0, v1, v2);
}
示例2: glRenderbufferStorageMultisample_mozilla
GrGLvoid glRenderbufferStorageMultisample_mozilla(GrGLenum target, GrGLsizei samples, GrGLenum internalformat,
GrGLsizei width, GrGLsizei height)
{
return sGLContext.get()->fRenderbufferStorageMultisample(target, samples, internalformat,
width, height);
}
示例3: glBindVertexArray_mozilla
GrGLvoid glBindVertexArray_mozilla(GrGLuint array) {
return sGLContext.get()->fBindVertexArray(array);
}
示例4: glGetQueryObjectuiv_mozilla
GrGLvoid glGetQueryObjectuiv_mozilla(GrGLuint id, GrGLenum pname, GrGLuint* params)
{
return sGLContext.get()->fGetQueryObjectuiv(id, pname, params);
}
示例5: glMapBuffer_mozilla
GrGLvoid* glMapBuffer_mozilla(GrGLenum target, GrGLenum access)
{
return sGLContext.get()->fMapBuffer(target, access);
}
示例6: glDeleteQueries_mozilla
GrGLvoid glDeleteQueries_mozilla(GrGLsizei n, const GrGLuint* ids)
{
return sGLContext.get()->fDeleteQueries(n, ids);
}
示例7: glEndQuery_mozilla
GrGLvoid glEndQuery_mozilla(GrGLenum target)
{
return sGLContext.get()->fEndQuery(target);
}
示例8: glVertexAttrib4fv_mozilla
GrGLvoid glVertexAttrib4fv_mozilla(GrGLuint index, const GrGLfloat* values)
{
return sGLContext.get()->fVertexAttrib4fv(index, values);
}
示例9: glVertexAttribPointer_mozilla
GrGLvoid glVertexAttribPointer_mozilla(GrGLuint index, GrGLint size, GrGLenum type, GrGLboolean normalized, GrGLsizei stride, const void* ptr)
{
return sGLContext.get()->fVertexAttribPointer(index, size, type, normalized, stride, ptr);
}
示例10: glUniformMatrix4fv_mozilla
GrGLvoid glUniformMatrix4fv_mozilla(GrGLint location, GrGLsizei count, GrGLboolean transpose, const GrGLfloat* value)
{
return sGLContext.get()->fUniformMatrix4fv(location, count, transpose, value);
}
示例11: glUseProgram_mozilla
GrGLvoid glUseProgram_mozilla(GrGLuint program)
{
return sGLContext.get()->fUseProgram(program);
}
示例12: glAttachShader_mozilla
GrGLvoid glAttachShader_mozilla(GrGLuint program, GrGLuint shader)
{
return sGLContext.get()->fAttachShader(program, shader);
}
示例13: glUniform4iv_mozilla
GrGLvoid glUniform4iv_mozilla(GrGLint location, GrGLsizei count, const GrGLint* v)
{
return sGLContext.get()->fUniform4iv(location, count, v);
}
示例14: glUniform4i_mozilla
GrGLvoid glUniform4i_mozilla(GrGLint location, GrGLint v0, GrGLint v1, GrGLint v2, GrGLint v3)
{
return sGLContext.get()->fUniform4i(location, v0, v1, v2, v3);
}
示例15: glReadBuffer_mozilla
GrGLvoid glReadBuffer_mozilla(GrGLenum mode)
{
return sGLContext.get()->fReadBuffer(mode);
}