/external/mesa3d/src/mesa/main/ |
pbo.c | 34 #include "bufferobj.h" 80 if (!_mesa_is_bufferobj(pack->BufferObj)) { 85 size = pack->BufferObj->Size; 146 if (_mesa_is_bufferobj(unpack->BufferObj)) { 149 unpack->BufferObj->Size, 151 unpack->BufferObj); 187 if (_mesa_is_bufferobj(unpack->BufferObj)) { 198 if (!_mesa_is_bufferobj(unpack->BufferObj)) { 203 if (_mesa_bufferobj_mapped(unpack->BufferObj)) { 222 if (_mesa_is_bufferobj(unpack->BufferObj)) { [all...] |
texgetimage.c | 33 #include "bufferobj.h" 551 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { 559 ctx->Driver.MapBufferRange(ctx, 0, ctx->Pack.BufferObj->Size, 560 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj); 588 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { 589 ctx->Driver.UnmapBuffer(ctx, ctx->Pack.BufferObj); 610 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { 613 ctx->Driver.MapBufferRange(ctx, 0, ctx->Pack.BufferObj->Size, 614 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj); 655 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { [all...] |
drawpix.c | 27 #include "bufferobj.h" 149 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { 157 if (_mesa_bufferobj_mapped(ctx->Unpack.BufferObj)) { 330 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { 339 if (_mesa_bufferobj_mapped(ctx->Unpack.BufferObj)) {
|
pixel.c | 32 #include "bufferobj.h" 158 &ctx->DefaultPacking.BufferObj, 159 pack->BufferObj); 166 &ctx->DefaultPacking.BufferObj, 170 if (_mesa_is_bufferobj(pack->BufferObj)) { 212 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { 254 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { 310 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { 361 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { 412 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { [all...] |
pixelstore.c | 32 #include "bufferobj.h" 274 _mesa_reference_buffer_object(ctx, &ctx->Pack.BufferObj, 287 _mesa_reference_buffer_object(ctx, &ctx->Unpack.BufferObj, 307 _mesa_reference_buffer_object(ctx, &ctx->DefaultPacking.BufferObj,
|
varray.h | 49 if (array->BufferObj->Name) { 51 GLsizeiptrARB bufSize = (GLsizeiptrARB) array->BufferObj->Size;
|
api_arrayelt.c | 39 #include "bufferobj.h" [all...] |
arrayobj.c | 34 * The code in this file borrows a lot from bufferobj.c. There's a certain 48 #include "bufferobj.h" 87 _mesa_reference_buffer_object(ctx, &obj->VertexAttrib[i].BufferObj, NULL); 198 _mesa_reference_buffer_object(ctx, &array->BufferObj,
|
/external/mesa3d/src/mesa/vbo/ |
vbo_save.c | 30 #include "main/bufferobj.h" 74 array->BufferObj = NULL; 75 _mesa_reference_buffer_object(ctx, &arrays->BufferObj, 76 vbo->currval[VBO_ATTRIB_POS+i].BufferObj); 86 array->BufferObj = NULL; 87 _mesa_reference_buffer_object(ctx, &array->BufferObj, 88 vbo->currval[VBO_ATTRIB_GENERIC0+i].BufferObj); 109 &save->vertex_store->bufferobj, NULL); 116 _mesa_reference_buffer_object(ctx, &save->arrays[i].BufferObj, NULL);
|
vbo_context.c | 31 #include "main/bufferobj.h" 71 _mesa_reference_buffer_object(ctx, &cl->BufferObj, 98 _mesa_reference_buffer_object(ctx, &cl->BufferObj, 145 _mesa_reference_buffer_object(ctx, &cl->BufferObj, 220 _mesa_reference_buffer_object(ctx, &vbo->currval[i].BufferObj, NULL);
|
vbo_rebase.c | 82 arrays[i]->BufferObj->Name == 0) 93 if (arrays[i]->BufferObj->Name != 0)
|
vbo_exec_array.c | 34 #include "main/bufferobj.h" 54 struct gl_buffer_object *obj = inputs[i]->BufferObj; 75 assert(!_mesa_bufferobj_mapped(exec->vtx.bufferobj)); 230 if (_mesa_is_bufferobj(array->BufferObj)) { 231 if (!array->BufferObj->Pointer) { 233 array->BufferObj->Pointer = 234 ctx->Driver.MapBufferRange(ctx, 0, array->BufferObj->Size, 235 GL_MAP_READ_BIT, array->BufferObj); 237 data = ADD_POINTERS(data, array->BufferObj->Pointer); 253 array->Ptr, array->BufferObj->Name) [all...] |
vbo_save_draw.c | 30 #include "main/bufferobj.h" 75 data, node->vertex_store->bufferobj ); 213 &arrays[attr].BufferObj, 214 node->vertex_store->bufferobj); 217 assert(arrays[attr].BufferObj->Name); 235 list->vertex_store->bufferobj->Size, 237 list->vertex_store->bufferobj); 247 ctx->Driver.UnmapBuffer(ctx, list->vertex_store->bufferobj);
|
vbo_split_copy.c | 33 #include "main/bufferobj.h" 441 struct gl_buffer_object *vbo = copy->array[i]->BufferObj; 530 dst->BufferObj = ctx->Shared->NullBufferObj; 574 struct gl_buffer_object *vbo = copy->varying[i].array->BufferObj;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_pixel_read.c | 29 #include "main/bufferobj.h" 134 if (_mesa_is_bufferobj(pack->BufferObj) && aligned_rowstride != dst_rowstride) 140 if (!_mesa_is_bufferobj(pack->BufferObj)) 147 dst_buffer = get_radeon_buffer_object(pack->BufferObj)->bo; 179 if (!_mesa_is_bufferobj(pack->BufferObj)) 191 if (!_mesa_is_bufferobj(pack->BufferObj))
|
/external/skia/src/gpu/gl/ |
GrGLCreateNullInterface.cpp | 21 class BufferObj { 25 BufferObj(GrGLuint id) : fID(id), fDataPtr(nullptr), fSize(0), fMapped(false) { 27 ~BufferObj() { delete[] fDataPtr; } 72 BufferObj* lookUp(GrGLuint id) { 73 BufferObj* buffer = fBuffers[id]; 78 BufferObj* create() { 80 BufferObj* buffer; 85 buffer = new BufferObj(id); 92 buffer = new BufferObj(id); 99 void free(BufferObj* buffer) [all...] |
SkNullGLContext.cpp | 20 class BufferObj { 24 BufferObj(GrGLuint id) : fID(id), fDataPtr(nullptr), fSize(0), fMapped(false) {} 25 ~BufferObj() { delete[] fDataPtr; } 70 BufferObj* lookUp(GrGLuint id) { 71 BufferObj* buffer = fBuffers[id]; 76 BufferObj* create() { 78 BufferObj* buffer; 83 buffer = new BufferObj(id); 90 buffer = new BufferObj(id); 97 void free(BufferObj* buffer) [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_pixel_bitmap.c | 36 #include "main/bufferobj.h" 78 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size, 80 unpack->BufferObj); 208 if (_mesa_is_bufferobj(unpack->BufferObj)) { 294 if (_mesa_is_bufferobj(unpack->BufferObj)) { 296 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj);
|
intel_pixel_read.c | 34 #include "main/bufferobj.h" 78 struct intel_buffer_object *dst = intel_buffer_object(pack->BufferObj); 91 if (!_mesa_is_bufferobj(pack->BufferObj)) {
|
intel_tex_image.c | 7 #include "main/bufferobj.h" 140 struct intel_buffer_object *pbo = intel_buffer_object(unpack->BufferObj); 145 if (!_mesa_is_bufferobj(unpack->BufferObj))
|
/external/mesa3d/src/mesa/tnl/ |
t_draw.c | 29 #include "main/bufferobj.h" 280 if (inputs[i]->BufferObj->Name) { 281 if (!inputs[i]->BufferObj->Pointer) { 282 bo[*nr_bo] = inputs[i]->BufferObj; 284 ctx->Driver.MapBufferRange(ctx, 0, inputs[i]->BufferObj->Size, 286 inputs[i]->BufferObj); 288 assert(inputs[i]->BufferObj->Pointer); 291 ptr = ADD_POINTERS(inputs[i]->BufferObj->Pointer,
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom.c | 137 vertDataEdgeFlags = arrays[VERT_ATTRIB_EDGEFLAG]->BufferObj && 138 arrays[VERT_ATTRIB_EDGEFLAG]->BufferObj->Name;
|
st_atom_array.c | 48 #include "main/bufferobj.h" 323 const struct gl_buffer_object *bufObj = array->BufferObj; 382 bufobj = array->BufferObj; 474 struct gl_buffer_object *bufobj = array->BufferObj;
|
/external/mesa3d/src/mesa/drivers/x11/ |
xm_dd.c | 32 #include "main/bufferobj.h" 357 if (_mesa_is_bufferobj(unpack->BufferObj)) { 367 unpack->BufferObj->Size, 369 unpack->BufferObj); 419 if (_mesa_is_bufferobj(unpack->BufferObj)) { 420 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj); 491 if (_mesa_is_bufferobj(unpack->BufferObj)) { 501 unpack->BufferObj->Size, 503 unpack->BufferObj); 552 if (unpack->BufferObj->Name) [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_vbo_t.c | 31 #include "main/bufferobj.h" 47 if (render->mode == VBO && !_mesa_is_bufferobj(a->BufferObj)) 72 imm ? array->BufferObj : NULL, 137 array->Type, array->BufferObj, array->Ptr, 212 if (!_mesa_is_bufferobj(a->BufferObj)) 303 struct gl_buffer_object *obj = array->BufferObj;
|