Home
last modified time | relevance | path

Searched refs:location (Results 1 – 25 of 35) sorted by relevance

12

/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DGLClientState.cpp75 void GLClientState::enable(int location, int state) in enable() argument
77 if (!validLocation(location)) { in enable()
81 m_states[location].enableDirty |= (state != m_states[location].enabled); in enable()
82 m_states[location].enabled = state; in enable()
85 void GLClientState::setState(int location, int size, GLenum type, GLboolean normalized, GLsizei str… in setState() argument
87 if (!validLocation(location)) { in setState()
90 m_states[location].size = size; in setState()
91 m_states[location].type = type; in setState()
92 m_states[location].stride = stride; in setState()
93 m_states[location].data = (void*)data; in setState()
[all …]
DGLClientState.h85 void enable(int location, int state);
86 …void setState(int location, int size, GLenum type, GLboolean normalized, GLsizei stride, const vo…
87 void setBufferObject(int location, GLuint id);
88 const VertexAttribState *getState(int location);
89 const VertexAttribState *getStateAndEnableDirty(int location, bool *enableChanged);
193 bool validLocation(int location) { return (location >= 0 && location < m_nLocations); } in validLocation() argument
DGLSharedGroup.h77 GLuint getIndexForLocation(GLint location);
78 GLenum getTypeForLocation(GLint location);
127 GLenum getProgramUniformType(GLuint program, GLint location);
DGLSharedGroup.cpp92 GLuint ProgramData::getIndexForLocation(GLint location) in getIndexForLocation() argument
98 GLint dist = location - m_Indexes[i].base; in getIndexForLocation()
108 GLenum ProgramData::getTypeForLocation(GLint location) in getTypeForLocation() argument
110 GLuint index = getIndexForLocation(location); in getTypeForLocation()
383 GLenum GLSharedGroup::getProgramUniformType(GLuint program, GLint location) in getProgramUniformType() argument
390 type = pData->getTypeForLocation(location); in getProgramUniformType()
/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2Encoder.h131 static void s_glGetUniformiv(void *self, GLuint program, GLint location , GLint *params);
134 static void s_glGetUniformfv(void *self, GLuint program, GLint location , GLfloat *params);
192 static void s_glUniform1f(void *self , GLint location, GLfloat x);
193 static void s_glUniform1fv(void *self , GLint location, GLsizei count, const GLfloat* v);
194 static void s_glUniform1i(void *self , GLint location, GLint x);
195 static void s_glUniform1iv(void *self , GLint location, GLsizei count, const GLint* v);
196 static void s_glUniform2f(void *self , GLint location, GLfloat x, GLfloat y);
197 static void s_glUniform2fv(void *self , GLint location, GLsizei count, const GLfloat* v);
198 static void s_glUniform2i(void *self , GLint location, GLint x, GLint y);
199 static void s_glUniform2iv(void *self , GLint location, GLsizei count, const GLint* v);
[all …]
DGL2Encoder.cpp706 GLint location; in s_glLinkProgram() local
711 location = ctx->m_glGetUniformLocation_enc(self, program, name); in s_glLinkProgram()
712 ctx->m_shared->setProgramIndexInfo(program, i, location, size, type, name); in s_glLinkProgram()
727 void GL2Encoder::s_glGetUniformiv(void *self, GLuint program, GLint location, GLint* params) in s_glGetUniformiv() argument
732 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glGetUniformiv()
736 void GL2Encoder::s_glGetUniformfv(void *self, GLuint program, GLint location, GLfloat* params) in s_glGetUniformfv() argument
741 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program,location); in s_glGetUniformfv()
903 void GL2Encoder::s_glUniform1f(void *self , GLint location, GLfloat x) in s_glUniform1f() argument
906 GLint hostLoc = ctx->m_shared->locationWARAppToHost(ctx->m_state->currentProgram(),location); in s_glUniform1f()
910 void GL2Encoder::s_glUniform1fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform1fv() argument
[all …]
Dgl2_entry.cpp83 void glGetUniformfv(GLuint program, GLint location, GLfloat* params);
84 void glGetUniformiv(GLuint program, GLint location, GLint* params);
120 void glUniform1f(GLint location, GLfloat x);
121 void glUniform1fv(GLint location, GLsizei count, const GLfloat* v);
122 void glUniform1i(GLint location, GLint x);
123 void glUniform1iv(GLint location, GLsizei count, const GLint* v);
124 void glUniform2f(GLint location, GLfloat x, GLfloat y);
125 void glUniform2fv(GLint location, GLsizei count, const GLfloat* v);
126 void glUniform2i(GLint location, GLint x, GLint y);
127 void glUniform2iv(GLint location, GLsizei count, const GLint* v);
[all …]
DGL2EncoderUtils.cpp36 GLenum uniformType(void * self, GLuint program, GLint location) in uniformType() argument
40 return ctx->shared()->getProgramUniformType(program, location); in uniformType()
Dgl2_enc.cpp1326 void glGetUniformfv_enc(void *self , GLuint program, GLint location, GLfloat* params) in glGetUniformfv_enc() argument
1332 const unsigned int __size_params = glSizeof(glesv2_enc::uniformType(self, program, location)); in glGetUniformfv_enc()
1340 memcpy(ptr, &location, 4); ptr += 4; in glGetUniformfv_enc()
1345 void glGetUniformiv_enc(void *self , GLuint program, GLint location, GLint* params) in glGetUniformiv_enc() argument
1351 const unsigned int __size_params = glSizeof(glesv2_enc::uniformType(self, program, location)); in glGetUniformiv_enc()
1359 memcpy(ptr, &location, 4); ptr += 4; in glGetUniformiv_enc()
1949 void glUniform1f_enc(void *self , GLint location, GLfloat x) in glUniform1f_enc() argument
1961 memcpy(ptr, &location, 4); ptr += 4; in glUniform1f_enc()
1965 void glUniform1fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) in glUniform1fv_enc() argument
1978 memcpy(ptr, &location, 4); ptr += 4; in glUniform1fv_enc()
[all …]
DGL2EncoderUtils.h23 GLenum uniformType(void * self, GLuint program, GLint location);
/device/moto/shamu/sepolicy/
Dgsiffd.te7 # Write to /data/misc/location/gsiff/
11 # Write to /data/misc/location/quipc/
Dfile_contexts6 /data/misc/location/gsiff(/.*)? u:object_r:gsiffd_data_file:s0
7 /data/misc/location/quipc(/.*)? u:object_r:quipc_data_file:s0
/device/google/accessory/arduino/USB_Host_Shield/
DMax_LCD.cpp242 void Max_LCD::createChar(uint8_t location, uint8_t charmap[]) { in createChar() argument
243 location &= 0x7; // we only have 8 locations 0-7 in createChar()
244 command(LCD_SETCGRAMADDR | (location << 3)); in createChar()
/device/sample/products/
Dlocation_overlay.mk22 PRODUCT_PACKAGE_OVERLAYS := device/sample/overlays/location
/device/generic/armv7-a-neon/
Dmini_common.mk68 …frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardwa…
/device/generic/qemu/
Dinit.ranchu.rc43 # enable Google-specific location features,
/device/generic/goldfish/
Dinit.ranchu.rc46 # enable Google-specific location features,
Dinit.goldfish.rc43 # enable Google-specific location features,
/device/asus/grouper/
Ddevice-common.mk58 …frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardwa…
/device/asus/flo/sepolicy/
Dsensors.te17 # Create /data/app/sensor_ctl_socket (Might want to change location).
/device/lge/mako/sepolicy/
Dsensors.te18 # Create /data/app/sensor_ctl_socket (Might want to change location).
/device/samsung/manta/
Ddevice.mk65 …frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardwa…
/device/lge/mako/
Ddevice.mk103 …frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardwa…
/device/asus/flo/
Ddevice-common.mk110 …frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardwa…
/device/htc/flounder/
Ddevice.mk87 …frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardwa…

12