Lines Matching refs:data

48 //  also uses second array (counted from one) to store the data-set information.
198 // Tells how many bits and what type is used for data representation
244 // Union that allows to access the data representation
263 // Alpha channel data descriptor
265 // Blue channel data descriptor
267 // Green channel data descriptor
269 // Red channel data descriptor
274 // operation in order to retrieve result data
279 // operation in order to retrieve result data
284 // To confirm contents of data stored in non-renderable internalformat, a special shader
286 // for sampling the texture data.
314 // Reference destination data expected for bottom-left corner
316 // Reference destination data expected for bottom-right corner
318 // Reference destination data expected for top-left corner
320 // Reference destination data expected for top-right corner
323 // Input bottom-left corner data to be used for conversion
325 // Input bottom-right corner data to be used for conversion
327 // Input top-left corner data to be used for conversion
329 // Input top-right corner data to be used for conversion
333 // can't be used to read back the data
568 * amount of bits per channel, as used by input data,
572 * amount of bits per channel, as used by data storage
575 * amount of bits per channel, as used by data storage
663 // Expand the data or reduce its precision, depending on the type requested by the caller.
1747 // Fill the channel data structures
1767 // Fill the channel data structures
1788 // Fill the channel data structures
1837 // Fill the channel data structures
1854 // Fill the channel data structures
2359 // Fill the channel data structures
2379 // Fill the channel data structures
2824 * determines how result & reference data should be compared using
2833 * 4) use pixel data instances using invalid internalformat or types.
2835 * @param src_topleft Pixel-data instance describing source top-left corner.
2836 * @param dst_topleft Pixel-data instance describing destination top-left corner.
2837 * @param src_topright Pixel-data instance describing source top-right corner.
2838 * @param dst_topright Pixel-data instance describing destination top-right corner.
2839 * @param src_bottomleft Pixel-data instance describing source bottom-left corner.
2840 * @param dst_bottomleft Pixel-data instance describing destination bottom-left corner.
2841 * @param src_bottomright Pixel-data instance describing source bottom-right corner.
2842 * @param dst_bottomright Pixel-data instance describing destination bottom-right corner.
2959 * data may be represented with many different types!).
4753 GLenum format, GLenum type, void* data);
5690 * @param internal_format Internal-format of the data under @param data.
5691 * @param format Format of the data under @param data.
5692 * @param type Type the data @param data is represented with.
5693 * @param data Buffer with the data to fill the object with.
5699 GLenum format, GLenum type, void* data)
5705 // Special case for GL_HALF_FLOAT -> input data is in GL_FLOAT
5727 // Generate a temporary 2D texture object and copy the data into it
5731 format, type, data);
5784 0 /* border */, format, type, data);
5805 format, type, data);
5828 TEXTURE_HEIGHT, 1 /* depth */, format, type, data);
6061 /** Tells whether OpenGL ES 3.0 implementations should accept copying texture image data from
6065 * @param src_internalformat Internal format to be used for source object's data storage.
6066 * @param dst_internalformat Internal format to be used for destination texture object's data storage.
6277 * Source data is a 2x2 array consisting of up to 4 channels with different values, represented
6286 * Once the call is determined to have finished successfully, the test attempts to read the result data.
6294 * use a program object to determine whether the data made available are valid. THIS CASE IS NOT IMPLEMENTED
6297 * Once the data are downloaded, they are compared against reference texture data. Should the rendered output
6471 // Make sure the pixel storage is configured accordingly to our data sets!
6546 // The test will fail if we try to verify the copy for different data type formats
6588 // The test will fail if we try to verify the copy for different data type formats
6631 // The test will fail if we try to verify the copy for different data type formats
6669 * per GLES3.0.3 spec, and that the result data is valid. For more detailed description,
6716 // we'll try to use to store data in it is actually renderable
6741 // Try to find a rule in the conversion database, so that we know what data we should fill
6776 // Retrieve source data we can have uploaded to the source attachment
6799 // The implementation does not allow us to use source data built using this internal-format,
6901 // Conversion succeeded. We now need to compare the data stored by OpenGL ES with reference data.
6944 // be to use a special vertex shader to verify texture data. Outcome of the
6989 // We will get a NULL pointer here if src and dst data type are different
6994 << tcu::TestLog::Message << "Source and destination should be of the same data type - "
7124 // Let's read the buffer data now.
7235 /** Sets values of uniforms, that will later be used to perform data check-up for non-renderable internalformats.
7301 /** Retrieves and copies data stored in buffer object into allocated memory buffer.
7304 * @param bo_id Valid buffer object ID from which data is retrieved.
7305 * @param retrieved_data_ptr_ptr Deref will be used to store retrieved buffer object data.
7329 // Copy retrieved buffer data.
7339 /** Allocates a buffer of sufficient size to hold 2x2 texture data represented
7341 * retrieved data with reference data (provided by the caller using reference_*
7345 * represent the data during any stage of the conversion into consideration.
7347 * @param source_tl_pixel_data Describes pixel data that was used to build source
7349 * @param source_tr_pixel_data Describes pixel data that was used to build source
7351 * @param source_bl_pixel_data Describes pixel data that was used to build source
7353 * @param source_br_pixel_data Describes pixel data that was used to build source
7355 * @param reference_tl_pixel_data Describes ideal result pixel data. (top-left corner).
7356 * @param reference_tr_pixel_data Describes ideal result pixel data. (top-right corner).
7357 * @param reference_bl_pixel_data Describes ideal result pixel data. (bottom-left corner).
7358 * @param reference_br_pixel_data Describes ideal result pixel data. (bottom-right corner).
7360 * type should be directly related with data type used in
7361 * all reference_* pixel data arguments.
7363 * implementation to hold destination object's data.
7364 * @param src_format GL format used for source object's data storage.
7365 * @param src_type GL type used for source object's data storage.
7411 // Allocate data buffer
7413 std::vector<char> data(TEXTURE_WIDTH * TEXTURE_HEIGHT * n_bytes_per_result_pixel);
7418 // Retrieve the data.
7419 gl.readPixels(0, 0, TEXTURE_WIDTH, TEXTURE_HEIGHT, read_format, read_type, &data[0]);
7430 // Convert the data we read back to pixel data structures
7431 data_traveller_ptr = &data[0];
7442 // Could not convert raw data to pixel data instance!
7445 } // if (raw data->pixel data conversion failed)
7447 // Move the data traveller
7451 // Compare each pixel with reference data. For debugging purposes, compare every single pixel,
7593 /** Takes a pointer with raw data representation and converts it to
7597 * @param raw_data Pointer to a buffer storing the data.
7598 * @param raw_data_format Format of the data stored under @param raw_data.
7599 * @param raw_data_type Type of the data stored under @param raw_data.
7712 /** Checks if downloaded pixel data is valid. Should the rendered values differ
7718 * pixel data.
7722 * to be using for the converted data.
7726 * data-set has already been determined to be corrupt.
7728 * @param src_internalformat Internal-format used for source object's data storage.
7729 * @param src_datatype Type used for source object's data storage.
7744 // Form channel data so we can later analyse channels one after another in a loop
7758 // Retrieve number of bits used for source and result data.
7817 // At the moment, we only care about data types that correspond to GL types usable for glReadPixels() calls.
7818 // Please feel free to expand this switch() with support for data types you need.
7905 // Unrecognized data type
8192 * 1) Source object's data internal format equal to @param src_internalformat.
8193 * 2) Source object's data type equal to @param src_type.
8206 * @param src_internalformat Source object's data internal format to assume.
8207 * @param src_type Source object's data type to assume.
8210 * should use for storage of the converted data. Cannot be NULL.
8212 * for storage of the converted data. Cannot be NULL.
8260 // Retrieve internalformat that converted data will be stored in
8359 * to raw data that can later be fed to glTexImage2D(), glTexImage3D() etc.
8421 // Fill the raw data buffer with data.
8498 // Pack the channel data, depending on channel sizes
8508 // Unrecognized data type
8513 // NOTE: We will read HALF_FLOAT data as FLOAT data (32 bit) to avoid conversion before passing the data to GL
8733 // Unrecognized channel data layout.
8743 * @param channel_data_type internal channel data type.
8745 * @param channel_data_type Channel data type to consider.
8812 // Unrecognized channel data type
8930 * glReadPixels() cannot be issued to retrieve texture object data.
8931 * Instead, a program object is used to retrieve and compare source and destination texture data.
8971 // Calculate texture data size depending on source and destination sampler types.
9042 /** Calculate size needed for texture object data storage to successfully
9043 * capture all the data needed.
9045 * components. It's not a dreadful waste of memory, given amount of data
9048 * @param _data_sampler_type Type of the sampler used to read the data.
9078 m_testCtx.getLog() << tcu::TestLog::Message << "Unrecognized data sampler type." << tcu::TestLog::EndMessage;
9085 /** Texture coordinates to use when glReadPixels can't be used to read back the data.
9183 /** Assigns source code to fragment/vertex shaders which will then be used to verify texture data..
9637 * sampling a texture using data stored in specific internalformat.
10012 // Make sure the pixel storage is configured accordingly to our data sets
10103 // Allocate the max possible size for the texture data (4 compoenents of 4 bytes each)
10132 // Set up data to be used for source. Note we don't really care much about the data anyway because we want to run
10134 // missing source attachment data