Lines Matching refs:m_shared

430     ctx->m_shared->updateBufferData(bufferId, size, (void*)data);  in s_glBufferData()
431 ctx->m_shared->setBufferUsage(bufferId, usage); in s_glBufferData()
443 GLenum res = ctx->m_shared->subUpdateBufferData(bufferId, offset, size, (void*)data); in s_glBufferSubData()
465 ctx->m_shared->deleteBufferData(buffers[i]); in s_glDeleteBuffers()
979 const BufferData* buf = m_shared->getBufferData(bufferObject); in sendVertexAttributes()
1103 buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo()); in s_glDrawElements()
1133 BufferData * buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo()); in s_glDrawElements()
1272 ShaderData* shaderData = ctx->m_shared->getShaderData(shader); in s_glShaderSource()
1273 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(shader), GL_INVALID_VALUE); in s_glShaderSource()
1309 bool isProgram = ctx->m_shared->isProgram(program); in s_glLinkProgram()
1310 SET_ERROR_IF(!isProgram && !ctx->m_shared->isShader(program), GL_INVALID_VALUE); in s_glLinkProgram()
1324 ctx->m_shared->initProgramData(program,numUniforms); in s_glLinkProgram()
1339 ctx->m_shared->setProgramIndexInfo(program, i, location, size, type, name); in s_glLinkProgram()
1341 ctx->m_shared->setupLocationShiftWAR(program); in s_glLinkProgram()
1351 ctx->m_shared->deleteProgramData(program); in s_glDeleteProgram()
1357 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(program), GL_INVALID_VALUE); in s_glGetUniformiv()
1358 SET_ERROR_IF(!ctx->m_shared->isProgram(program), GL_INVALID_OPERATION); in s_glGetUniformiv()
1359 SET_ERROR_IF(!ctx->m_shared->isProgramInitialized(program), GL_INVALID_OPERATION); in s_glGetUniformiv()
1360 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glGetUniformiv()
1361 SET_ERROR_IF(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION); in s_glGetUniformiv()
1367 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(program), GL_INVALID_VALUE); in s_glGetUniformfv()
1368 SET_ERROR_IF(!ctx->m_shared->isProgram(program), GL_INVALID_OPERATION); in s_glGetUniformfv()
1369 SET_ERROR_IF(!ctx->m_shared->isProgramInitialized(program), GL_INVALID_OPERATION); in s_glGetUniformfv()
1370 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program,location); in s_glGetUniformfv()
1371 SET_ERROR_IF(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION); in s_glGetUniformfv()
1380 ctx->m_shared->addProgramData(program); in s_glCreateProgram()
1390 if (!ctx->m_shared->addShaderData(shader)) { in s_glCreateShader()
1412 ShaderData* shaderData = ctx->m_shared->getShaderData(shader); in s_glGetShaderSource()
1448 ctx->m_shared->unrefShaderData(shader); in s_glDeleteShader()
1455 ctx->m_shared->attachShader(program, shader); in s_glAttachShader()
1462 ctx->m_shared->detachShader(program, shader); in s_glDetachShader()
1487 bool needLocationWAR = ctx->m_shared->needUniformLocationWAR(program); in s_glGetUniformLocation()
1496 return ctx->m_shared->locationWARHostToApp(program, hostLoc, arrIndex); in s_glGetUniformLocation()
1529 GLSharedGroupPtr shared = ctx->m_shared; in updateHostTexture2DBindingsFromProgramData()
1554 GLSharedGroupPtr shared = ctx->m_shared; in s_glUseProgram()
1569 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform1f()
1576 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform1fv()
1584 GLSharedGroupPtr shared = ctx->m_shared; in s_glUniform1i()
1586 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform1i()
1602 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform1iv()
1609 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform2f()
1616 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform2fv()
1623 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform2i()
1630 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform2iv()
1637 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform3f()
1644 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform3fv()
1651 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform3i()
1658 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform3iv()
1665 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform4f()
1672 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform4fv()
1679 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform4i()
1686 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform4iv()
1693 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniformMatrix2fv()
1700 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniformMatrix3fv()
1707 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniformMatrix4fv()
2116 return m_shared->getBufferData(bufferId); in getBufferData()
2121 return m_shared->getBufferData(bufferId); in getBufferDataById()
2125 return m_shared->getBufferData(buffer)->m_mapped; in isBufferMapped()
2463 BufferData* buf = ctx->m_shared->getBufferData(boundBuffer); in s_glMapBufferRange()
2509 BufferData* buf = ctx->m_shared->getBufferData(boundBuffer); in s_glUnmapBuffer()
2549 BufferData* buf = ctx->m_shared->getBufferData(boundBuffer); in s_glFlushMappedBufferRange()
2923 bool needLocationWAR = ctx->m_shared->needUniformLocationWAR(program); in s_glGetUniformIndices()
2939 ctx->m_shared->locationWARHostToApp(program, uniformIndices[i], arrIndices[i]); in s_glGetUniformIndices()
2947 GLSharedGroupPtr shared = ctx->m_shared; in s_glUniform1ui()
2949 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform1ui()
2964 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform2ui()
2970 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform3ui()
2976 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform4ui()
2982 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform1uiv()
2988 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform2uiv()
2994 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform3uiv()
3000 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniform4uiv()
3006 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniformMatrix2x3fv()
3012 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniformMatrix3x2fv()
3018 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniformMatrix2x4fv()
3024 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniformMatrix4x2fv()
3030 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniformMatrix3x4fv()
3036 …GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location); in s_glUniformMatrix4x3fv()
3042 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(program), GL_INVALID_VALUE); in s_glGetUniformuiv()
3043 SET_ERROR_IF(!ctx->m_shared->isProgram(program), GL_INVALID_OPERATION); in s_glGetUniformuiv()
3044 SET_ERROR_IF(!ctx->m_shared->isProgramInitialized(program), GL_INVALID_OPERATION); in s_glGetUniformuiv()
3045 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glGetUniformuiv()
3046 SET_ERROR_IF(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION); in s_glGetUniformuiv()
3261 SET_ERROR_IF(!ctx->m_shared->isProgram(program), GL_INVALID_VALUE); in s_glTransformFeedbackVaryings()
3576 buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo()); in s_glDrawElementsInstanced()
3606 BufferData * buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo()); in s_glDrawElementsInstanced()
3667 buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo()); in s_glDrawRangeElements()
3697 BufferData * buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo()); in s_glDrawRangeElements()
3785 SET_ERROR_IF(!ctx->m_shared->isProgram(program), GL_INVALID_OPERATION); in s_glGetProgramBinary()
4192 ShaderData* shaderData = ctx->m_shared->getShaderData(shader); in s_glGetShaderiv()
4208 GLSharedGroupPtr shared = ctx->m_shared; in s_glActiveShaderProgram()
4231 uint32_t spDataId = ctx->m_shared->addNewShaderProgramData(); in s_glCreateShaderProgramv()
4232 ShaderProgramData* spData = ctx->m_shared->getShaderProgramDataById(spDataId); in s_glCreateShaderProgramv()
4238 ctx->m_shared->deleteShaderProgramDataById(spDataId); in s_glCreateShaderProgramv()
4249 ctx->m_shared->deleteShaderProgramDataById(spDataId); in s_glCreateShaderProgramv()
4253 ctx->m_shared->associateGLShaderProgram(res, spDataId); in s_glCreateShaderProgramv()
4257 ctx->m_shared->initShaderProgramData(res, numUniforms); in s_glCreateShaderProgramv()
4267 ctx->m_shared->setShaderProgramIndexInfo(res, i, location, size, uniformType, name); in s_glCreateShaderProgramv()
4270 ctx->m_shared->setupShaderProgramLocationShiftWAR(res); in s_glCreateShaderProgramv()
4280 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform1f()
4287 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform1fv()
4294 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform1i()
4298 GLSharedGroupPtr shared = ctx->m_shared; in s_glProgramUniform1i()
4313 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform1iv()
4320 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform1ui()
4324 GLSharedGroupPtr shared = ctx->m_shared; in s_glProgramUniform1ui()
4339 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform1uiv()
4346 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform2f()
4353 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform2fv()
4360 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform2i()
4367 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform2iv()
4374 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform2ui()
4381 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform2uiv()
4388 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform3f()
4395 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform3fv()
4402 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform3i()
4409 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform3iv()
4416 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform3ui()
4423 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform3uiv()
4430 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform4f()
4437 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform4fv()
4444 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform4i()
4451 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform4iv()
4458 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform4ui()
4465 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniform4uiv()
4472 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniformMatrix2fv()
4479 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniformMatrix2x3fv()
4486 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniformMatrix2x4fv()
4493 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniformMatrix3fv()
4500 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniformMatrix3x2fv()
4507 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniformMatrix3x4fv()
4514 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniformMatrix4fv()
4521 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniformMatrix4x2fv()
4528 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glProgramUniformMatrix4x3fv()
4541 GLSharedGroupPtr shared = ctx->m_shared; in s_glUseProgramStages()