• Home
  • Raw
  • Download

Lines Matching full:inputs

47 const SkSL::Program* GrSkSLFPFactory::getSpecialization(const SkSL::String& key, const void* inputs,  in getSpecialization()  argument
61 int32_t v = *(int32_t*) (((uint8_t*) inputs) + offset); in getSpecialization()
67 float v = *(float*) (((uint8_t*) inputs) + offset); in getSpecialization()
71 bool v = *(((bool*) inputs) + offset); in getSpecialization()
220 char* inputs = (char*) outer.fInputs.get(); in onSetData() local
224 float f1 = ((uint8_t*) inputs)[offset++] / 255.0; in onSetData()
225 float f2 = ((uint8_t*) inputs)[offset++] / 255.0; in onSetData()
226 float f3 = ((uint8_t*) inputs)[offset++] / 255.0; in onSetData()
227 float f4 = ((uint8_t*) inputs)[offset++] / 255.0; in onSetData()
236 float f1 = *(float*) (inputs + offset); in onSetData()
238 float f2 = *(float*) (inputs + offset); in onSetData()
240 float f3 = *(float*) (inputs + offset); in onSetData()
242 float f4 = *(float*) (inputs + offset); in onSetData()
250 int32_t i = *(int32_t*) (inputs + offset); in onSetData()
258 float f = *(float*) (inputs + offset); in onSetData()
284 const char* sksl, const void* inputs, in Make() argument
290 inputs, inputSize, matrix)); in Make()
294 SkString sksl, const void* inputs, size_t inputSize, in Make() argument
299 inputs, inputSize, matrix)); in Make()
304 SkString skslString, const void* inputs, size_t inputSize, in GrSkSLFP() argument
317 memcpy(fInputs.get(), inputs, inputSize); in GrSkSLFP()
382 char* inputs = (char*) fInputs.get(); in onGetGLSLProcessorKey() local
391 fKey += inputs[offset]; in onGetGLSLProcessorKey()
392 b->add32(inputs[offset]); in onGetGLSLProcessorKey()
399 fKey += inputs[offset + 0]; in onGetGLSLProcessorKey()
400 fKey += inputs[offset + 1]; in onGetGLSLProcessorKey()
401 fKey += inputs[offset + 2]; in onGetGLSLProcessorKey()
402 fKey += inputs[offset + 3]; in onGetGLSLProcessorKey()
403 b->add32(*(int32_t*) (inputs + offset)); in onGetGLSLProcessorKey()
411 fKey += inputs[offset + 0]; in onGetGLSLProcessorKey()
412 fKey += inputs[offset + 1]; in onGetGLSLProcessorKey()
413 fKey += inputs[offset + 2]; in onGetGLSLProcessorKey()
414 fKey += inputs[offset + 3]; in onGetGLSLProcessorKey()
415 b->add32(*(float*) (inputs + offset)); in onGetGLSLProcessorKey()
425 fKey += inputs[offset + i]; in onGetGLSLProcessorKey()
427 b->add32(*(int32_t*) (inputs + offset)); in onGetGLSLProcessorKey()
429 b->add32(*(int32_t*) (inputs + offset)); in onGetGLSLProcessorKey()
431 b->add32(*(int32_t*) (inputs + offset)); in onGetGLSLProcessorKey()
433 b->add32(*(int32_t*) (inputs + offset)); in onGetGLSLProcessorKey()
520 ArithmeticFPInputs inputs; in TestCreate() local
521 inputs.k[0] = d->fRandom->nextF(); in TestCreate()
522 inputs.k[1] = d->fRandom->nextF(); in TestCreate()
523 inputs.k[2] = d->fRandom->nextF(); in TestCreate()
524 inputs.k[3] = d->fRandom->nextF(); in TestCreate()
525 inputs.enforcePMColor = d->fRandom->nextBool(); in TestCreate()
528 &inputs, sizeof(inputs)); in TestCreate()
536 SkPMColor inputs[6]; in TestCreate() local
538 inputs[i] = d->fRandom->nextU(); in TestCreate()
542 &inputs, sizeof(inputs)); in TestCreate()