当前位置: 首页>>代码示例>>C++>>正文


C++ ThreadLocal::get方法代码示例

本文整理汇总了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);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp

示例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);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:6,代码来源:SkiaGLGlue.cpp

示例3: glBindVertexArray_mozilla

GrGLvoid glBindVertexArray_mozilla(GrGLuint array) {
    return sGLContext.get()->fBindVertexArray(array);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:3,代码来源:SkiaGLGlue.cpp

示例4: glGetQueryObjectuiv_mozilla

GrGLvoid glGetQueryObjectuiv_mozilla(GrGLuint id, GrGLenum pname, GrGLuint* params)
{
    return sGLContext.get()->fGetQueryObjectuiv(id, pname, params);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp

示例5: glMapBuffer_mozilla

GrGLvoid* glMapBuffer_mozilla(GrGLenum target, GrGLenum access)
{
    return sGLContext.get()->fMapBuffer(target, access);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp

示例6: glDeleteQueries_mozilla

GrGLvoid glDeleteQueries_mozilla(GrGLsizei n, const GrGLuint* ids)
{
    return sGLContext.get()->fDeleteQueries(n, ids);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp

示例7: glEndQuery_mozilla

GrGLvoid glEndQuery_mozilla(GrGLenum target)
{
    return sGLContext.get()->fEndQuery(target);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp

示例8: glVertexAttrib4fv_mozilla

GrGLvoid glVertexAttrib4fv_mozilla(GrGLuint index, const GrGLfloat* values)
{
    return sGLContext.get()->fVertexAttrib4fv(index, values);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp

示例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);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp

示例10: glUniformMatrix4fv_mozilla

GrGLvoid glUniformMatrix4fv_mozilla(GrGLint location, GrGLsizei count, GrGLboolean transpose, const GrGLfloat* value)
{
    return sGLContext.get()->fUniformMatrix4fv(location, count, transpose, value);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp

示例11: glUseProgram_mozilla

GrGLvoid glUseProgram_mozilla(GrGLuint program)
{
    return sGLContext.get()->fUseProgram(program);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp

示例12: glAttachShader_mozilla

GrGLvoid glAttachShader_mozilla(GrGLuint program, GrGLuint shader)
{
    return sGLContext.get()->fAttachShader(program, shader);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp

示例13: glUniform4iv_mozilla

GrGLvoid glUniform4iv_mozilla(GrGLint location, GrGLsizei count, const GrGLint* v)
{
    return sGLContext.get()->fUniform4iv(location, count, v);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp

示例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);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp

示例15: glReadBuffer_mozilla

GrGLvoid glReadBuffer_mozilla(GrGLenum mode)
{
    return sGLContext.get()->fReadBuffer(mode);
}
开发者ID:JuannyWang,项目名称:gecko-dev,代码行数:4,代码来源:SkiaGLGlue.cpp


注:本文中的mozilla::ThreadLocal::get方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。