Home | History | Annotate | Download | only in GLESv2_enc

Lines Matching refs:m_shared

430     ctx->m_shared->updateBufferData(bufferId, size, (void*)data);
431 ctx->m_shared->setBufferUsage(bufferId, usage);
443 GLenum res = ctx->m_shared->subUpdateBufferData(bufferId, offset, size, (void*)data);
465 ctx->m_shared->deleteBufferData(buffers[i]);
979 const BufferData* buf = m_shared->getBufferData(bufferObject);
1103 buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo());
1133 BufferData * buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo());
1272 ShaderData* shaderData = ctx->m_shared->getShaderData(shader);
1273 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(shader), GL_INVALID_VALUE);
1309 bool isProgram = ctx->m_shared->isProgram(program);
1310 SET_ERROR_IF(!isProgram && !ctx->m_shared->isShader(program), GL_INVALID_VALUE);
1324 ctx->m_shared->initProgramData(program,numUniforms);
1339 ctx->m_shared->setProgramIndexInfo(program, i, location, size, type, name);
1341 ctx->m_shared->setupLocationShiftWAR(program);
1351 ctx->m_shared->deleteProgramData(program);
1357 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(program), GL_INVALID_VALUE);
1358 SET_ERROR_IF(!ctx->m_shared->isProgram(program), GL_INVALID_OPERATION);
1359 SET_ERROR_IF(!ctx->m_shared->isProgramInitialized(program), GL_INVALID_OPERATION);
1360 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
1361 SET_ERROR_IF(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION);
1367 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(program), GL_INVALID_VALUE);
1368 SET_ERROR_IF(!ctx->m_shared->isProgram(program), GL_INVALID_OPERATION);
1369 SET_ERROR_IF(!ctx->m_shared->isProgramInitialized(program), GL_INVALID_OPERATION);
1370 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program,location);
1371 SET_ERROR_IF(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION);
1380 ctx->m_shared->addProgramData(program);
1390 if (!ctx->m_shared->addShaderData(shader)) {
1412 ShaderData* shaderData = ctx->m_shared->getShaderData(shader);
1448 ctx->m_shared->unrefShaderData(shader);
1455 ctx->m_shared->attachShader(program, shader);
1462 ctx->m_shared->detachShader(program, shader);
1487 bool needLocationWAR = ctx->m_shared->needUniformLocationWAR(program);
1496 return ctx->m_shared->locationWARHostToApp(program, hostLoc, arrIndex);
1529 GLSharedGroupPtr shared = ctx->m_shared;
1554 GLSharedGroupPtr shared = ctx->m_shared;
1569 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1576 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1584 GLSharedGroupPtr shared = ctx->m_shared;
1586 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1602 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1609 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1616 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1623 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1630 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1637 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1644 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1651 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1658 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1665 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1672 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1679 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1686 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1693 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1700 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
1707 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
2116 return m_shared->getBufferData(bufferId);
2121 return m_shared->getBufferData(bufferId);
2125 return m_shared->getBufferData(buffer)->m_mapped;
2463 BufferData* buf = ctx->m_shared->getBufferData(boundBuffer);
2509 BufferData* buf = ctx->m_shared->getBufferData(boundBuffer);
2549 BufferData* buf = ctx->m_shared->getBufferData(boundBuffer);
2923 bool needLocationWAR = ctx->m_shared->needUniformLocationWAR(program);
2939 ctx->m_shared->locationWARHostToApp(program, uniformIndices[i], arrIndices[i]);
2947 GLSharedGroupPtr shared = ctx->m_shared;
2949 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
2964 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
2970 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
2976 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
2982 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
2988 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
2994 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
3000 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
3006 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
3012 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
3018 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
3024 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
3030 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
3036 m_shared->locationWARAppToHost(ctx->m_state->currentShaderProgram(),location);
3042 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(program), GL_INVALID_VALUE);
3043 SET_ERROR_IF(!ctx->m_shared->isProgram(program), GL_INVALID_OPERATION);
3044 SET_ERROR_IF(!ctx->m_shared->isProgramInitialized(program), GL_INVALID_OPERATION);
3045 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
3046 SET_ERROR_IF(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION);
3261 SET_ERROR_IF(!ctx->m_shared->isProgram(program), GL_INVALID_VALUE);
3576 buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo());
3606 BufferData * buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo());
3667 buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo());
3697 BufferData * buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo());
3785 SET_ERROR_IF(!ctx->m_shared->isProgram(program), GL_INVALID_OPERATION);
4192 ShaderData* shaderData = ctx->m_shared->getShaderData(shader);
4208 GLSharedGroupPtr shared = ctx->m_shared;
4231 uint32_t spDataId = ctx->m_shared->addNewShaderProgramData();
4232 ShaderProgramData* spData = ctx->m_shared->getShaderProgramDataById(spDataId);
4238 ctx->m_shared->deleteShaderProgramDataById(spDataId);
4249 ctx->m_shared->deleteShaderProgramDataById(spDataId);
4253 ctx->m_shared->associateGLShaderProgram(res, spDataId);
4257 ctx->m_shared->initShaderProgramData(res, numUniforms);
4267 ctx->m_shared->setShaderProgramIndexInfo(res, i, location, size, uniformType, name);
4270 ctx->m_shared->setupShaderProgramLocationShiftWAR(res);
4280 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4287 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4294 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4298 GLSharedGroupPtr shared = ctx->m_shared;
4313 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4320 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4324 GLSharedGroupPtr shared = ctx->m_shared;
4339 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4346 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4353 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4360 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4367 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4374 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4381 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4388 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4395 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4402 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4409 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4416 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4423 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4430 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4437 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4444 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4451 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4458 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4465 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4472 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4479 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4486 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4493 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4500 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4507 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4514 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4521 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4528 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location);
4541 GLSharedGroupPtr shared = ctx->m_shared;