/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
VertexDataManager.cpp | 95 GLenum VertexDataManager::prepareVertexData(const gl::VertexAttribute attribs[], gl::ProgramBinary *programBinary, GLint start, GLsizei count, TranslatedAttribute *translated, GLsizei instances) 110 if (translated[i].active && attribs[i].mArrayEnabled) 112 gl::Buffer *buffer = attribs[i].mBoundBuffer.get(); 115 if (staticBuffer && staticBuffer->getBufferSize() > 0 && !staticBuffer->lookupAttribute(attribs[i], NULL) && 116 !directStoragePossible(staticBuffer, attribs[i])) 126 if (translated[i].active && attribs[i].mArrayEnabled) 128 gl::Buffer *buffer = attribs[i].mBoundBuffer.get(); 132 if (!directStoragePossible(vertexBuffer, attribs[i])) 138 int totalCount = elementsInBuffer(attribs[i], buffer->size()); 139 if (!staticBuffer->reserveVertexSpace(attribs[i], totalCount, 0) [all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
SceneLoader.java | 109 private Quaternion parseQuat(Attributes attribs) throws SAXException{ 110 if (attribs.getValue("x") != null){ 112 float x = parseFloat(attribs.getValue("x")); 113 float y = parseFloat(attribs.getValue("y")); 114 float z = parseFloat(attribs.getValue("z")); 115 float w = parseFloat(attribs.getValue("w")); 117 }else if (attribs.getValue("qx") != null){ 119 float x = parseFloat(attribs.getValue("qx")); 120 float y = parseFloat(attribs.getValue("qy")); 121 float z = parseFloat(attribs.getValue("qz")) [all...] |
MeshLoader.java | 392 private void startVertexBuffer(Attributes attribs) throws SAXException { 393 if (parseBool(attribs.getValue("positions"), false)) { 399 if (parseBool(attribs.getValue("normals"), false)) { 405 if (parseBool(attribs.getValue("colours_diffuse"), false)) { 411 if (parseBool(attribs.getValue("tangents"), false)) { 412 int dimensions = parseInt(attribs.getValue("tangent_dimensions"), 3); 418 if (parseBool(attribs.getValue("binormals"), false)) { 425 int texCoords = parseInt(attribs.getValue("texture_coords"), 0); 427 int dims = parseInt(attribs.getValue("texture_coord_dimensions_" + i), 2); 448 private void pushAttrib(Type type, Attributes attribs) throws SAXException [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/xml/ |
SAXUtil.java | 126 public static Vector3f parseVector3(Attributes attribs) throws SAXException{ 127 float x = parseFloat(attribs.getValue("x")); 128 float y = parseFloat(attribs.getValue("y")); 129 float z = parseFloat(attribs.getValue("z")); 133 public static ColorRGBA parseColor(Attributes attribs) throws SAXException{ 134 float r = parseFloat(attribs.getValue("r")); 135 float g = parseFloat(attribs.getValue("g")); 136 float b = parseFloat(attribs.getValue("b"));
|
/external/chromium_org/ui/gl/ |
gl_surface_cgl.cc | 33 std::vector<CGLPixelFormatAttribute> attribs; 37 attribs.push_back(kCGLPFAAllowOfflineRenderers); 40 attribs.push_back(kCGLPFARendererID); 41 attribs.push_back(static_cast<CGLPixelFormatAttribute>( 44 attribs.push_back(static_cast<CGLPixelFormatAttribute>(0)); 48 if (CGLChoosePixelFormat(&attribs.front(),
|
gpu_switching_manager.cc | 116 CGLPixelFormatAttribute attribs[1]; 117 attribs[0] = static_cast<CGLPixelFormatAttribute>(0); 119 CGLChoosePixelFormat(attribs, &discrete_pixel_format_, &num_pixel_formats);
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11gl.c | 106 int attribs[64]; local 133 attribs[i++] = GLX_RGBA; 134 attribs[i++] = GLX_RED_SIZE; 135 attribs[i++] = this->gl_config.red_size; 136 attribs[i++] = GLX_GREEN_SIZE; 137 attribs[i++] = this->gl_config.green_size; 138 attribs[i++] = GLX_BLUE_SIZE; 139 attribs[i++] = this->gl_config.blue_size; 142 attribs[i++] = GLX_ALPHA_SIZE; 143 attribs[i++] = this->gl_config.alpha_size [all...] |
/external/chromium_org/gpu/command_buffer/client/ |
gl_in_process_context.cc | 61 const GLInProcessContextAttribs& attribs, 129 const GLInProcessContextAttribs& attribs, 152 if (attribs.alpha_size >= 0) { 154 attrib_vector.push_back(attribs.alpha_size); 156 if (attribs.blue_size >= 0) { 158 attrib_vector.push_back(attribs.blue_size); 160 if (attribs.green_size >= 0) { 162 attrib_vector.push_back(attribs.green_size); 164 if (attribs.red_size >= 0) { 166 attrib_vector.push_back(attribs.red_size) [all...] |
gl_in_process_context.h | 59 const GLInProcessContextAttribs& attribs, 70 const GLInProcessContextAttribs& attribs,
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
egl_g3d_image.h | 37 const EGLint *attribs); 44 const EGLint *attribs);
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
egl_g3d_image.h | 37 const EGLint *attribs); 44 const EGLint *attribs);
|
/dalvik/dx/src/com/android/dx/dex/cf/ |
AttributeTranslator.java | 68 AttributeList attribs = method.getAttributes(); local 70 attribs.findFirst(AttExceptions.ATTRIBUTE_NAME); 85 * @param attribs {@code non-null;} the attributes list to search in 88 public static Annotations getAnnotations(AttributeList attribs) { 89 Annotations result = getAnnotations0(attribs); 90 Annotation signature = getSignature(attribs); 115 AttributeList attribs = cf.getAttributes(); local 116 Annotations result = getAnnotations(attribs); 117 Annotation enclosingMethod = translateEnclosingMethod(attribs); 121 translateInnerClasses(thisClass, attribs, 358 AttributeList attribs = method.getAttributes(); local 405 AttributeList attribs = one.getAttributes(); local [all...] |
/external/chromium_org/gpu/command_buffer/common/ |
gles2_cmd_utils.cc | 793 void ContextCreationAttribHelper::Serialize(std::vector<int32>* attribs) { 795 attribs->push_back(kAlphaSize); 796 attribs->push_back(alpha_size_); 799 attribs->push_back(kBlueSize); 800 attribs->push_back(blue_size_); 803 attribs->push_back(kGreenSize); 804 attribs->push_back(green_size_); 807 attribs->push_back(kRedSize); 808 attribs->push_back(red_size_); 811 attribs->push_back(kDepthSize) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/dri/common/ |
dri_context.c | 73 struct st_context_attribs attribs; local 76 memset(&attribs, 0, sizeof(attribs)); 79 attribs.profile = ST_PROFILE_OPENGL_ES1; 82 attribs.profile = ST_PROFILE_OPENGL_ES2; 85 attribs.profile = ST_PROFILE_DEFAULT; 86 attribs.major = major_version; 87 attribs.minor = minor_version; 90 attribs.flags |= ST_CONTEXT_FLAG_DEBUG; 93 attribs.flags |= ST_CONTEXT_FLAG_FORWARD_COMPATIBLE [all...] |
/external/mesa3d/src/gallium/state_trackers/dri/common/ |
dri_context.c | 73 struct st_context_attribs attribs; local 76 memset(&attribs, 0, sizeof(attribs)); 79 attribs.profile = ST_PROFILE_OPENGL_ES1; 82 attribs.profile = ST_PROFILE_OPENGL_ES2; 85 attribs.profile = ST_PROFILE_DEFAULT; 86 attribs.major = major_version; 87 attribs.minor = minor_version; 90 attribs.flags |= ST_CONTEXT_FLAG_DEBUG; 93 attribs.flags |= ST_CONTEXT_FLAG_FORWARD_COMPATIBLE [all...] |
/dalvik/dx/src/com/android/dx/cf/iface/ |
StdField.java | 44 AttributeList attribs = getAttributes(); local 46 attribs.findFirst(AttConstantValue.ATTRIBUTE_NAME);
|
/external/chromium_org/mojo/services/gles2/ |
gles2_impl.cc | 28 gpu::GLInProcessContextAttribs attribs; local 30 false, widget, size, false, attribs, gfx::PreferDiscreteGpu));
|
/external/chromium_org/third_party/mesa/src/src/glx/tests/ |
fake_glx_screen.h | 95 const uint32_t *attribs, 100 (void) attribs; 139 const uint32_t *attribs, 144 (void) attribs;
|
/external/mesa3d/src/glx/tests/ |
fake_glx_screen.h | 95 const uint32_t *attribs, 100 (void) attribs; 139 const uint32_t *attribs, 144 (void) attribs;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_state_vertex.c | 44 const struct pipe_vertex_element *attribs) 51 memcpy(velems->velem, attribs, sizeof(*attribs) * count);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_state_vertex.c | 44 const struct pipe_vertex_element *attribs) 51 memcpy(velems->velem, attribs, sizeof(*attribs) * count);
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicClientCookie.java | 74 this.attribs = new HashMap<String, String>(); 304 this.attribs.put(name, value); 308 return this.attribs.get(name); 312 return this.attribs.get(name) != null; 318 clone.attribs = new HashMap<String, String>(this.attribs); 352 private Map<String, String> attribs; field in class:BasicClientCookie
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_state_vertex.c | 43 const struct pipe_vertex_element *attribs) 50 memcpy(velems->velem, attribs, sizeof(*attribs) * count);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_vertex.c | 43 const struct pipe_vertex_element *attribs) 50 memcpy(velems->velem, attribs, sizeof(*attribs) * count);
|
/cts/tests/tests/nativeopengl/standalone/jni/tests/ |
EGLCreateContext_test.cpp | 95 static const EGLint ATTRIBS[] = { 104 return ATTRIBS; 119 EGLint attribs[5] = { local 124 attribs); 131 attribs[2] = EGL_BAD_ATTRIBUTE; // error code, not a valid attribute 133 attribs);
|